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 #include "global.h"
20 #include "recipe.h"
21 
23 
27 class RecipePanel : public AssetTWrapperPanel<recipe> {
28  Q_OBJECT
29 
30 public:
31  RecipePanel(QWidget *parent);
32 
33  virtual void updateItem() override;
34 
35 protected:
36  QTreeWidget* myArchetypes;
37  QTextEdit* myIngredients;
38 };
39 
40 #endif // RECIPE_PANEL_H
global.h
recipe.h
RecipePanel::myIngredients
QTextEdit * myIngredients
Definition: RecipePanel.h:37
AssetTWrapperPanel
Definition: AssetWrapperPanel.h:92
RecipePanel::RecipePanel
RecipePanel(QWidget *parent)
Definition: RecipePanel.cpp:23
RecipePanel
Definition: RecipePanel.h:27
AssetWrapperPanel.h
RecipePanel::myArchetypes
QTreeWidget * myArchetypes
Definition: RecipePanel.h:36
RecipePanel::updateItem
virtual void updateItem() override
Definition: RecipePanel.cpp:42