Crossfire Server, Trunk
CREFilterDialog.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 CRE_FILTER_DIALOG_H
14
#define CRE_FILTER_DIALOG_H
15
16
#include <QDialog>
17
18
class
QLineEdit;
19
class
AssetTextEdit
;
20
class
QListWidget;
21
22
#include "
CREFilterDefinitionManager.h
"
23
24
class
CREFilterDialog
:
public
QDialog
25
{
26
Q_OBJECT
27
28
public
:
29
CREFilterDialog
();
30
31
protected
:
32
QListWidget*
myList
;
33
QLineEdit*
myName
;
34
AssetTextEdit
*
myScript
;
35
CREFilterDefinitionManager
myFilters
;
36
int
myFilterIndex
;
37
38
virtual
void
accept
();
39
virtual
void
reject
();
40
41
void
refreshList
();
42
void
saveCurrentFilter
();
43
44
protected
slots:
45
void
onHelp
();
46
void
onAdd
();
47
void
onDelete
();
48
void
currentRowChanged
(
int
currentRow);
49
};
50
51
#endif // CRE_FILTER_DIALOG_H
CREFilterDialog::onAdd
void onAdd()
Definition:
CREFilterDialog.cpp:83
CREFilterDefinitionManager
Definition:
CREFilterDefinitionManager.h:21
CREFilterDialog::myFilters
CREFilterDefinitionManager myFilters
Definition:
CREFilterDialog.h:35
CREFilterDialog
Definition:
CREFilterDialog.h:24
CREFilterDialog::refreshList
void refreshList()
Definition:
CREFilterDialog.cpp:108
AssetTextEdit
Definition:
AssetTextEdit.h:25
CREFilterDialog::onDelete
void onDelete()
Definition:
CREFilterDialog.cpp:93
CREFilterDialog::onHelp
void onHelp()
Definition:
CREFilterDialog.cpp:78
CREFilterDialog::CREFilterDialog
CREFilterDialog()
Definition:
CREFilterDialog.cpp:20
CREFilterDialog::saveCurrentFilter
void saveCurrentFilter()
Definition:
CREFilterDialog.cpp:119
CREFilterDialog::reject
virtual void reject()
Definition:
CREFilterDialog.cpp:70
CREFilterDialog::accept
virtual void accept()
Definition:
CREFilterDialog.cpp:62
CREFilterDefinitionManager.h
CREFilterDialog::myFilterIndex
int myFilterIndex
Definition:
CREFilterDialog.h:36
CREFilterDialog::myName
QLineEdit * myName
Definition:
CREFilterDialog.h:33
CREFilterDialog::myList
QListWidget * myList
Definition:
CREFilterDialog.h:32
CREFilterDialog::myScript
AssetTextEdit * myScript
Definition:
CREFilterDialog.h:34
CREFilterDialog::currentRowChanged
void currentRowChanged(int currentRow)
Definition:
CREFilterDialog.cpp:130
crossfire-crossfire-server
utils
cre
CREFilterDialog.h
Generated by
1.8.17