Doomseeker
Wadseeker
Download
Tracker
Git
Docs
Main Page
Plugin API
Related Pages
Modules
Classes
Files
File List
File Members
src
core
gui
createserver
dmflagspanel.h
1
//------------------------------------------------------------------------------
2
// dmflagspanel.h
3
//------------------------------------------------------------------------------
4
//
5
// This library is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation; either
8
// version 2.1 of the License, or (at your option) any later version.
9
//
10
// This library is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
// Lesser General Public License for more details.
14
//
15
// You should have received a copy of the GNU Lesser General Public
16
// License along with this library; if not, write to the Free Software
17
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18
// 02110-1301 USA
19
//
20
//------------------------------------------------------------------------------
21
// Copyright (C) 2014 "Zalewa" <zalewapl@gmail.com>
22
//------------------------------------------------------------------------------
23
#ifndef id76bed8d4_95b3_443b_9d90_4f95b6310cf8
24
#define id76bed8d4_95b3_443b_9d90_4f95b6310cf8
25
26
#include "dptr.h"
27
28
#include <QtContainerFwd>
29
#include <QWidget>
30
31
class
DMFlagsSection
;
32
class
EnginePlugin
;
33
class
GameCreateParams
;
34
class
Ini
;
35
36
class
DMFlagsPanel
:
public
QWidget
37
{
38
public
:
39
DMFlagsPanel
(QWidget *parent);
40
~
DMFlagsPanel
()
override
;
41
42
void
fillInParams(
GameCreateParams
¶ms);
43
bool
initDMFlagsTabs(
const
EnginePlugin
*engine);
44
void
loadConfig(
Ini
&config);
45
void
saveConfig(
Ini
&config);
46
47
private
:
48
DPtr<DMFlagsPanel>
d;
49
50
QList<DMFlagsSection> dmFlags()
const
;
51
void
removeDMFlagsTabs();
52
};
53
54
#endif
GameCreateParams
Game parametrization data used when creating new games.
Definition:
gamecreateparams.h:42
DMFlagsSection
A group of DMFlag objects that can be safely OR'ed together to form a meaningful value.
Definition:
serverstructs.h:142
Ini
Configuration handler.
Definition:
ini.h:69
DMFlagsPanel
Definition:
dmflagspanel.h:36
DPtr< DMFlagsPanel >
EnginePlugin
Definition:
engineplugin.h:76
Doomseeker © 2009-2024 The Doomseeker Team