Freeciv21
Develop your civilization from humble roots to a global empire
tileset_options.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2024 Louis Moureaux
2
// SPDX-License-Identifier: GPL-3.0-or-later
3
4
#pragma once
5
6
#include <QDialog>
7
#include <QString>
8
9
#include <map>
10
11
class
QCheckBox;
12
struct
tileset
;
13
14
namespace
freeciv
{
15
19
class
tileset_options_dialog
:
public
QDialog {
20
Q_OBJECT
21
22
std::map<QString, QCheckBox *>
m_checks
;
23
24
public
:
25
explicit
tileset_options_dialog
(
struct
tileset
*t, QWidget *parent = 0);
26
27
private
slots:
28
void
reset
();
29
};
30
31
}
// namespace freeciv
freeciv::tileset_options_dialog
Lets the user toggle tileset options.
Definition:
tileset_options.h:19
freeciv::tileset_options_dialog::tileset_options_dialog
tileset_options_dialog(struct tileset *t, QWidget *parent=0)
Sets up the tileset options dialog.
Definition:
tileset_options.cpp:22
freeciv::tileset_options_dialog::m_checks
std::map< QString, QCheckBox * > m_checks
Definition:
tileset_options.h:22
freeciv::tileset_options_dialog::reset
void reset()
Resets all options to the tileset defaults.
Definition:
tileset_options.cpp:63
freeciv
Definition:
path.cpp:10
tileset
Definition:
tilespec.cpp:222
client
tileset_options.h
Generated by
1.9.1