Crossfire Server, Branch 1.12
R12190
|
00001 #ifndef CREARTIFACTPANEL_H 00002 #define CREARTIFACTPANEL_H 00003 00004 #include <QObject> 00005 #include <QtGui> 00006 00007 extern "C" { 00008 #include "global.h" 00009 #include "artifact.h" 00010 } 00011 00012 class CREArtifactPanel : public QWidget 00013 { 00014 Q_OBJECT 00015 00016 public: 00017 CREArtifactPanel(); 00018 void setArtifact(const artifact* artifact); 00019 00020 protected: 00021 const artifact* myArtifact; 00022 QLineEdit* myName; 00023 QLineEdit* myChance; 00024 QLineEdit* myType; 00025 QTreeWidget* myArchetypes; 00026 }; 00027 00028 #endif // CREARTIFACTPANEL_H