Freeciv21
Develop your civilization from humble roots to a global empire
tab_nation Class Reference

#include <tab_nation.h>

+ Inheritance diagram for tab_nation:
+ Collaboration diagram for tab_nation:

Public Member Functions

 tab_nation (ruledit_gui *ui_in)
 Setup tab_nation object. More...
 
void refresh ()
 Refresh the information. More...
 
void flush_widgets ()
 Flush information from widgets to stores where it can be saved from. More...
 

Private Slots

void nationlist_toggle (bool checked)
 Toggled nationlist include setting. More...
 

Private Attributes

ruledit_guiui
 
QRadioButton * via_include
 
QLineEdit * nationlist
 

Detailed Description

Definition at line 22 of file tab_nation.h.

Constructor & Destructor Documentation

◆ tab_nation()

tab_nation::tab_nation ( ruledit_gui ui_in)
explicit

Setup tab_nation object.

Definition at line 35 of file tab_nation.cpp.

Member Function Documentation

◆ flush_widgets()

void tab_nation::flush_widgets ( )

Flush information from widgets to stores where it can be saved from.

Definition at line 79 of file tab_nation.cpp.

Referenced by ruledit_gui::flush_widgets().

◆ nationlist_toggle

void tab_nation::nationlist_toggle ( bool  checked)
privateslot

Toggled nationlist include setting.

Definition at line 97 of file tab_nation.cpp.

Referenced by tab_nation().

◆ refresh()

void tab_nation::refresh ( )

Refresh the information.

Definition at line 64 of file tab_nation.cpp.

Referenced by ruledit_gui::launch_now(), nationlist_toggle(), and tab_nation().

Member Data Documentation

◆ nationlist

QLineEdit* tab_nation::nationlist
private

Definition at line 37 of file tab_nation.h.

Referenced by flush_widgets(), nationlist_toggle(), refresh(), and tab_nation().

◆ ui

ruledit_gui* tab_nation::ui
private

Definition at line 34 of file tab_nation.h.

Referenced by flush_widgets(), nationlist_toggle(), refresh(), and tab_nation().

◆ via_include

QRadioButton* tab_nation::via_include
private

Definition at line 36 of file tab_nation.h.

Referenced by flush_widgets(), refresh(), and tab_nation().