Crossfire Resources Editor
QuestComboBox.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 QUESTCOMBOBOX_H
14
#define QUESTCOMBOBOX_H
15
16
#include <QtWidgets>
17
18
class
quest_definition;
19
23
class
QuestComboBox
:
public
QComboBox {
24
Q_OBJECT
25
26
Q_PROPERTY(
const
quest_definition *
quest
READ
quest
WRITE
setQuest
)
27
28
public
:
34
QuestComboBox
(QWidget* parent,
bool
allowNone);
35
virtual
~QuestComboBox
();
36
41
void
setQuest
(
const
quest_definition*
quest
);
46
const
quest_definition*
quest
()
const
;
47
};
48
49
#endif
/* FACECOMBOBOX_H */
QuestComboBox::setQuest
void setQuest(const quest_definition *quest)
Set the selected quest.
Definition:
QuestComboBox.cpp:45
QuestComboBox::quest
const quest_definition quest
Definition:
QuestComboBox.h:26
QuestComboBox::~QuestComboBox
virtual ~QuestComboBox()
Definition:
QuestComboBox.cpp:41
QuestComboBox
Combobox displaying a list of quests, allowing selection and search.
Definition:
QuestComboBox.h:23
QuestComboBox::QuestComboBox
QuestComboBox(QWidget *parent, bool allowNone)
Standard constructor.
Definition:
QuestComboBox.cpp:20
crossfire-crossfire-server
utils
cre
quests
QuestComboBox.h
Generated on Mon Sep 1 2025 00:41:07 for Crossfire Resources Editor by
1.8.17