Crossfire Server, Branch 1.12
R12190
|
00001 #ifndef CREFORMULAEPANEL_H 00002 #define CREFORMULAEPANEL_H 00003 00004 #include <QObject> 00005 #include <QtGui> 00006 00007 extern "C" { 00008 #include "global.h" 00009 #include "recipe.h" 00010 } 00011 00012 class CREFormulaePanel : public QWidget 00013 { 00014 Q_OBJECT 00015 00016 public: 00017 CREFormulaePanel(); 00018 00019 void setRecipe(const recipe* recipe); 00020 00021 protected: 00022 const recipe* myRecipe; 00023 QLineEdit* myTitle; 00024 QLineEdit* myYield; 00025 QLineEdit* myChance; 00026 QLineEdit* myExperience; 00027 QLineEdit* myDifficulty; 00028 QComboBox* mySkill; 00029 QComboBox* myCauldron; 00030 QTreeWidget* myArchetypes; 00031 QTextEdit* myIngredients; 00032 QPushButton* myValidate; 00033 QPushButton* myReset; 00034 00035 protected slots: 00036 void resetClicked(bool); 00037 void validateClicked(bool); 00038 }; 00039 00040 #endif // CREFORMULAEPANEL_H