Crossfire Server, Trunk
FacePanel.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2022 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef FACE_PANEL_H
14 #define FACE_PANEL_H
15 
16 #include <QObject>
17 #include <QtWidgets>
19 
20 #include "global.h"
21 
23 class AssetModel;
25 class ResourcesManager;
26 
30 class CREFacePanel : public AssetTWrapperPanel<Face> {
31  Q_OBJECT
32 
33 public:
34  CREFacePanel(QWidget* parent, AssetModel *model, ResourcesManager *resources, CREMapInformationManager* maps);
35  virtual void updateItem() override;
36 
37 protected:
39 
40  QTreeView *myUseView;
43  QComboBox* myColor;
44  QLineEdit* myFile;
45  QPushButton* mySave;
46  QTreeWidget* myLicenses;
47 
48 private slots:
49  void saveClicked(bool);
50  void makeSmooth(bool);
51 };
52 
53 #endif // FACE_PANEL_H
global.h
CREFacePanel::myUseView
QTreeView * myUseView
Definition: FacePanel.h:40
CREFacePanel::mySave
QPushButton * mySave
Definition: FacePanel.h:45
maps
static std::unordered_map< std::string, mapzone * > maps
Definition: citylife.cpp:92
ResourcesManager
Definition: ResourcesManager.h:80
CREFacePanel::myUseModel
UseFilterAssetModel * myUseModel
Definition: FacePanel.h:41
CREFacePanel::updateItem
virtual void updateItem() override
Definition: FacePanel.cpp:60
CREFacePanel::CREFacePanel
CREFacePanel(QWidget *parent, AssetModel *model, ResourcesManager *resources, CREMapInformationManager *maps)
Definition: FacePanel.cpp:19
CREFacePanel::myColor
QComboBox * myColor
Definition: FacePanel.h:43
AssetTWrapperPanel
Definition: AssetWrapperPanel.h:92
CREFacePanel::makeSmooth
void makeSmooth(bool)
Definition: FacePanel.cpp:86
UseFilterAssetModel
Definition: AssetModel.h:58
AssetModel
Definition: AssetModel.h:29
AssetWrapperPanel.h
CREFacePanel::myFile
QLineEdit * myFile
Definition: FacePanel.h:44
CREFacePanel::myMaps
CREMapInformationManager * myMaps
Definition: FacePanel.h:38
CREFacePanel::myResources
ResourcesManager * myResources
Definition: FacePanel.h:42
CREMapInformationManager
Definition: CREMapInformationManager.h:27
CREFacePanel::myLicenses
QTreeWidget * myLicenses
Definition: FacePanel.h:46
CREFacePanel
Definition: FacePanel.h:30
CREFacePanel::saveClicked
void saveClicked(bool)
Definition: FacePanel.cpp:82