Crossfire Server, Trunk
FaceComboBox.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 FACECOMBOBOX_H
14
#define FACECOMBOBOX_H
15
16
#include <QtWidgets>
17
18
class
Face
;
19
23
class
FaceComboBox
:
public
QComboBox
24
{
25
Q_OBJECT
26
27
Q_PROPERTY(
const
Face
*
face
READ
face
WRITE
setFace
)
28
29
public
:
35
FaceComboBox
(QWidget* parent,
bool
allowNone);
36
virtual
~FaceComboBox
();
37
42
void
setFace
(
const
Face
*
face
);
47
const
Face
*
face
()
const
;
48
};
49
50
#endif
/* FACECOMBOBOX_H */
Face
Definition:
face.h:14
FaceComboBox
Definition:
FaceComboBox.h:23
FaceComboBox::FaceComboBox
FaceComboBox(QWidget *parent, bool allowNone)
Definition:
FaceComboBox.cpp:18
FaceComboBox::setFace
void setFace(const Face *face)
Definition:
FaceComboBox.cpp:45
FaceComboBox::face
const Face face
Definition:
FaceComboBox.h:27
FaceComboBox::~FaceComboBox
virtual ~FaceComboBox()
Definition:
FaceComboBox.cpp:41
crossfire-crossfire-server
utils
cre
FaceComboBox.h
Generated by
1.8.17