Crossfire Server, Branches 1.12  R18729
CREArtifactPanel.h
Go to the documentation of this file.
1 #ifndef CREARTIFACTPANEL_H
2 #define CREARTIFACTPANEL_H
3 
4 #include <QObject>
5 #include <QtGui>
6 
7 extern "C" {
8 #include "global.h"
9 #include "artifact.h"
10 }
11 
12 class CREArtifactPanel : public QWidget
13 {
14  Q_OBJECT
15 
16  public:
18  void setArtifact(const artifact* artifact);
19 
20  protected:
21  const artifact* myArtifact;
22  QLineEdit* myName;
23  QLineEdit* myChance;
24  QLineEdit* myType;
25  QTreeWidget* myArchetypes;
26 };
27 
28 #endif // CREARTIFACTPANEL_H
QLineEdit * myName
QLineEdit * myType
QLineEdit * myChance
const artifact * myArtifact
void setArtifact(const artifact *artifact)
QTreeWidget * myArchetypes