Crossfire Server, Trunk
CRESmoothFaceMaker.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 CRESMOOTHFACEMAKER_H
14 #define CRESMOOTHFACEMAKER_H
15 
16 #include <QDialog>
17 #include <QObject>
18 
19 class QLineEdit;
20 class FaceComboBox;
21 class Face;
22 
23 class CRESmoothFaceMaker : public QDialog
24 {
25  Q_OBJECT
26 
27  public:
29  virtual ~CRESmoothFaceMaker();
30 
31  void setSelectedFace(const Face* face);
32  QString destination() const;
33 
34  void setAutoClose(bool autoClose = true);
35 
36  protected slots:
37  void makeSmooth();
38  void browse(bool);
39  void destinationEdited(const QString&);
40 
41  private:
44  QLineEdit* myDestination;
46 };
47 
48 #endif /* CRESMOOTHFACEMAKER_H */
Face
Definition: face.h:14
FaceComboBox
Definition: FaceComboBox.h:23
CRESmoothFaceMaker::myFace
FaceComboBox * myFace
Definition: CRESmoothFaceMaker.h:45
CRESmoothFaceMaker::destinationEdited
void destinationEdited(const QString &)
Definition: CRESmoothFaceMaker.cpp:212
CRESmoothFaceMaker::CRESmoothFaceMaker
CRESmoothFaceMaker()
Definition: CRESmoothFaceMaker.cpp:24
CRESmoothFaceMaker::myDestination
QLineEdit * myDestination
Definition: CRESmoothFaceMaker.h:44
CRESmoothFaceMaker::myAutoClose
bool myAutoClose
Definition: CRESmoothFaceMaker.h:42
CRESmoothFaceMaker::destination
QString destination() const
Definition: CRESmoothFaceMaker.cpp:66
CRESmoothFaceMaker
Definition: CRESmoothFaceMaker.h:23
CRESmoothFaceMaker::browse
void browse(bool)
Definition: CRESmoothFaceMaker.cpp:202
CRESmoothFaceMaker::makeSmooth
void makeSmooth()
Definition: CRESmoothFaceMaker.cpp:76
CRESmoothFaceMaker::setAutoClose
void setAutoClose(bool autoClose=true)
Definition: CRESmoothFaceMaker.cpp:71
CRESmoothFaceMaker::myOverwrite
bool myOverwrite
Definition: CRESmoothFaceMaker.h:43
CRESmoothFaceMaker::setSelectedFace
void setSelectedFace(const Face *face)
Definition: CRESmoothFaceMaker.cpp:61
CRESmoothFaceMaker::~CRESmoothFaceMaker
virtual ~CRESmoothFaceMaker()
Definition: CRESmoothFaceMaker.cpp:57