Crossfire Server, Trunk
TreasurePanel.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_PANEL_H
14
#define TREASURE_PANEL_H
15
16
#include <QObject>
17
#include <QtWidgets>
18
#include "
assets/AssetWrapperPanel.h
"
19
20
class
ArchetypeComboBox
;
21
class
TreasureListComboBox
;
22
26
class
TreasurePanel
:
public
AssetWrapperPanel
{
27
Q_OBJECT
28
29
public
:
30
TreasurePanel
(QWidget *parent);
31
32
protected
:
33
ArchetypeComboBox
*
myArch
;
34
TreasureListComboBox
*
myList
;
35
virtual
void
dragEnterEvent
(QDragEnterEvent *
event
)
override
;
36
virtual
void
dropEvent
(QDropEvent *
event
)
override
;
37
virtual
void
dragMoveEvent
(QDragMoveEvent *
event
)
override
;
38
};
39
40
#endif // TREASURE_PANEL_H
AssetWrapperPanel
Definition:
AssetWrapperPanel.h:29
TreasurePanel::dragEnterEvent
virtual void dragEnterEvent(QDragEnterEvent *event) override
Definition:
TreasurePanel.cpp:36
TreasurePanel::myList
TreasureListComboBox * myList
Definition:
TreasurePanel.h:34
TreasurePanel
Definition:
TreasurePanel.h:26
ArchetypeComboBox
Definition:
ArchetypeComboBox.h:23
AssetWrapperPanel.h
TreasureListComboBox
Definition:
TreasureListComboBox.h:23
TreasurePanel::dragMoveEvent
virtual void dragMoveEvent(QDragMoveEvent *event) override
Definition:
TreasurePanel.cpp:42
animate.event
event
DIALOGCHECK MINARGS 1 MAXARGS 2
Definition:
animate.py:17
TreasurePanel::myArch
ArchetypeComboBox * myArch
Definition:
TreasurePanel.h:33
TreasurePanel::dropEvent
virtual void dropEvent(QDropEvent *event) override
Definition:
TreasurePanel.cpp:46
TreasurePanel::TreasurePanel
TreasurePanel(QWidget *parent)
Definition:
TreasurePanel.cpp:22
crossfire-crossfire-server
utils
cre
treasures
TreasurePanel.h
Generated by
1.8.17