Crossfire Server, Trunk
CREFacePanel.h
Go to the documentation of this file.
1
#ifndef CLASS_CRE_FACE_PANEL_H
2
#define CLASS_CRE_FACE_PANEL_H
3
4
#include <QObject>
5
#include <QtWidgets>
6
#include "
CREPanel.h
"
7
8
extern
"C"
{
9
#include "
global.h
"
10
}
11
12
class
CREMapInformationManager
;
13
14
class
CREFacePanel
:
public
CRETPanel
<const Face>
15
{
16
Q_OBJECT
17
18
public
:
19
CREFacePanel
(QWidget* parent,
CREMapInformationManager
*
maps
);
20
virtual
void
setItem
(
const
Face
* face)
override
;
21
22
protected
:
23
CREMapInformationManager
*
myMaps
;
24
const
Face
*
myFace
;
25
26
QTreeWidget*
myUsing
;
27
QComboBox*
myColor
;
28
QLineEdit*
myFile
;
29
QPushButton*
mySave
;
30
QTreeWidget*
myLicenses
;
31
32
private
slots:
33
void
saveClicked
(
bool
);
34
void
makeSmooth
(
bool
);
35
};
36
37
#endif // CLASS_CRE_FACE_PANEL_H
Face
Definition:
face.h:14
CRETPanel
Definition:
CREPanel.h:20
global.h
CREFacePanel::mySave
QPushButton * mySave
Definition:
CREFacePanel.h:29
maps
static std::unordered_map< std::string, mapzone * > maps
Definition:
citylife.cpp:93
CREFacePanel::myUsing
QTreeWidget * myUsing
Definition:
CREFacePanel.h:26
CREFacePanel::setItem
virtual void setItem(const Face *face) override
Definition:
CREFacePanel.cpp:118
CREFacePanel::myColor
QComboBox * myColor
Definition:
CREFacePanel.h:27
CREFacePanel::makeSmooth
void makeSmooth(bool)
Definition:
CREFacePanel.cpp:285
CREFacePanel::CREFacePanel
CREFacePanel(QWidget *parent, CREMapInformationManager *maps)
Definition:
CREFacePanel.cpp:37
CREFacePanel::myFile
QLineEdit * myFile
Definition:
CREFacePanel.h:28
CREPanel.h
CREFacePanel::myMaps
CREMapInformationManager * myMaps
Definition:
CREFacePanel.h:23
CREMapInformationManager
Definition:
CREMapInformationManager.h:16
CREFacePanel::myLicenses
QTreeWidget * myLicenses
Definition:
CREFacePanel.h:30
CREFacePanel
Definition:
CREFacePanel.h:14
CREFacePanel::myFace
const Face * myFace
Definition:
CREFacePanel.h:24
CREFacePanel::saveClicked
void saveClicked(bool)
Definition:
CREFacePanel.cpp:281
crossfire-crossfire-server
utils
cre
CREFacePanel.h
Generated by
1.8.17