Crossfire Server, Trunk
RecipePanel.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 RECIPE_PANEL_H
14 #define RECIPE_PANEL_H
15 
16 #include <QObject>
17 #include <QtWidgets>
18 
19 extern "C" {
20 #include "global.h"
21 #include "recipe.h"
22 }
23 
25 
26 class RecipePanel : public AssetTWrapperPanel<recipe> {
27  Q_OBJECT
28 
29 public:
30  RecipePanel(QWidget *parent);
31 
32  virtual void updateItem() override;
33 
34 protected:
35  QTreeWidget* myArchetypes;
36  QTextEdit* myIngredients;
37 };
38 
39 #endif // RECIPE_PANEL_H
global.h
recipe.h
RecipePanel::myIngredients
QTextEdit * myIngredients
Definition: RecipePanel.h:36
AssetTWrapperPanel
Definition: AssetWrapperPanel.h:90
RecipePanel::RecipePanel
RecipePanel(QWidget *parent)
Definition: RecipePanel.cpp:23
RecipePanel
Definition: RecipePanel.h:26
AssetWrapperPanel.h
RecipePanel::myArchetypes
QTreeWidget * myArchetypes
Definition: RecipePanel.h:35
RecipePanel::updateItem
virtual void updateItem() override
Definition: RecipePanel.cpp:42