Freeciv21
Develop your civilization from humble roots to a global empire
freeciv::tileset_options_dialog Class Reference

Lets the user toggle tileset options. More...

#include <tileset_options.h>

+ Inheritance diagram for freeciv::tileset_options_dialog:
+ Collaboration diagram for freeciv::tileset_options_dialog:

Public Member Functions

 tileset_options_dialog (struct tileset *t, QWidget *parent=0)
 Sets up the tileset options dialog. More...
 

Private Slots

void reset ()
 Resets all options to the tileset defaults. More...
 

Private Attributes

std::map< QString, QCheckBox * > m_checks
 

Detailed Description

Lets the user toggle tileset options.

Definition at line 19 of file tileset_options.h.

Constructor & Destructor Documentation

◆ tileset_options_dialog()

freeciv::tileset_options_dialog::tileset_options_dialog ( struct tileset t,
QWidget *  parent = 0 
)
explicit

Sets up the tileset options dialog.

The dialog contains a series of check boxes, one for each options. They take effect immediately. There is also a close button and a reset button.

Definition at line 22 of file tileset_options.cpp.

Member Function Documentation

◆ reset

void freeciv::tileset_options_dialog::reset ( )
privateslot

Resets all options to the tileset defaults.

Definition at line 63 of file tileset_options.cpp.

Referenced by tileset_options_dialog().

Member Data Documentation

◆ m_checks

std::map<QString, QCheckBox *> freeciv::tileset_options_dialog::m_checks
private

Definition at line 22 of file tileset_options.h.

Referenced by reset(), and tileset_options_dialog().