Crossfire Server, Trunk
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
Properties
a
b
c
d
e
f
h
i
j
k
l
m
n
p
q
r
s
t
y
Related Functions
:
b
d
o
s
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
y
z
Typedefs
a
c
d
e
f
i
j
k
l
m
n
o
p
q
s
t
y
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
TreasureListPanel.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 TREASURE_LIST_PANEL_H
14
#define TREASURE_LIST_PANEL_H
15
16
#include <QObject>
17
#include <QtWidgets>
18
#include "
assets/AssetWrapperPanel.h
"
19
#include "
global.h
"
20
#include "
treasure.h
"
21
22
class
TreasureListWrapper
;
23
class
AssetModel
;
24
28
class
CRETreasurePanel
:
public
AssetTWrapperPanel
<treasurelist> {
29
Q_OBJECT
30
31
public
:
32
CRETreasurePanel
(
AssetModel
* model, QWidget* parent);
33
34
virtual
void
updateItem
()
override
;
35
36
public
slots:
37
void
onGenerate
(
bool
pressed);
38
39
protected
:
40
QTreeWidget*
myGenerated
;
41
QSpinBox*
myDifficulty
;
42
43
};
44
45
#endif // TREASURE_LIST_PANEL_H
global.h
CRETreasurePanel::myDifficulty
QSpinBox * myDifficulty
Definition:
TreasureListPanel.h:41
TreasureListWrapper
Definition:
TreasureListWrapper.h:27
CRETreasurePanel
Definition:
TreasureListPanel.h:28
AssetTWrapperPanel
Definition:
AssetWrapperPanel.h:92
CRETreasurePanel::onGenerate
void onGenerate(bool pressed)
Definition:
TreasureListPanel.cpp:53
CRETreasurePanel::updateItem
virtual void updateItem() override
Definition:
TreasureListPanel.cpp:49
AssetModel
Definition:
AssetModel.h:29
treasure.h
AssetWrapperPanel.h
CRETreasurePanel::myGenerated
QTreeWidget * myGenerated
Definition:
TreasureListPanel.h:40
CRETreasurePanel::CRETreasurePanel
CRETreasurePanel(AssetModel *model, QWidget *parent)
Definition:
TreasureListPanel.cpp:28
crossfire-crossfire-server
utils
cre
treasures
TreasureListPanel.h
Generated by
1.8.17