Crossfire Server, Branches 1.12  R18729
CREFormulaePanel.h
Go to the documentation of this file.
1 #ifndef CREFORMULAEPANEL_H
2 #define CREFORMULAEPANEL_H
3 
4 #include <QObject>
5 #include <QtGui>
6 
7 extern "C" {
8 #include "global.h"
9 #include "recipe.h"
10 }
11 
12 class CREFormulaePanel : public QWidget
13 {
14  Q_OBJECT
15 
16  public:
18 
19  void setRecipe(const recipe* recipe);
20 
21  protected:
22  const recipe* myRecipe;
23  QLineEdit* myTitle;
24  QLineEdit* myYield;
25  QLineEdit* myChance;
26  QLineEdit* myExperience;
27  QLineEdit* myDifficulty;
28  QComboBox* mySkill;
29  QComboBox* myCauldron;
30  QTreeWidget* myArchetypes;
31  QTextEdit* myIngredients;
32  QPushButton* myValidate;
33  QPushButton* myReset;
34 
35  protected slots:
36  void resetClicked(bool);
37  void validateClicked(bool);
38 };
39 
40 #endif // CREFORMULAEPANEL_H
QTreeWidget * myArchetypes
void validateClicked(bool)
QLineEdit * myDifficulty
QLineEdit * myYield
void setRecipe(const recipe *recipe)
QLineEdit * myChance
QPushButton * myReset
QLineEdit * myExperience
QComboBox * mySkill
const recipe * myRecipe
QTextEdit * myIngredients
QPushButton * myValidate
QLineEdit * myTitle
QComboBox * myCauldron