Crossfire Resources Editor
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
22
#include "
assets/AssetWrapperPanel.h
"
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
RecipePanel::myIngredients
QTextEdit * myIngredients
Definition:
RecipePanel.h:37
AssetTWrapperPanel
Panel displaying information about a AssetTWrapper.
Definition:
AssetWrapperPanel.h:92
RecipePanel::RecipePanel
RecipePanel(QWidget *parent)
Definition:
RecipePanel.cpp:23
RecipePanel
Display details of a crafting recipe.
Definition:
RecipePanel.h:27
AssetWrapperPanel.h
RecipePanel::myArchetypes
QTreeWidget * myArchetypes
Definition:
RecipePanel.h:36
RecipePanel::updateItem
virtual void updateItem() override
Called when myItem is updated.
Definition:
RecipePanel.cpp:42
crossfire-crossfire-server
utils
cre
recipes
RecipePanel.h
Generated on Mon Sep 1 2025 00:41:08 for Crossfire Resources Editor by
1.8.17