Freeciv-3.3
|
#include <tab_terrains.h>
Public Member Functions | |
tab_terrains (ruledit_gui *ui_in) | |
void | refresh () |
Private Slots | |
void | name_given () |
void | select_terrain () |
void | add_now () |
void | delete_now () |
void | edit_now () |
void | same_name_toggle (bool checked) |
void | edit_effects () |
Private Member Functions | |
void | update_terrain_info (struct terrain *pterr) |
bool | initialize_new_terrain (struct terrain *pterr) |
Private Attributes | |
ruledit_gui * | ui |
QLineEdit * | name |
QLineEdit * | rname |
QListWidget * | terrain_list |
QCheckBox * | same_name |
struct terrain * | selected |
Definition at line 30 of file tab_terrains.h.
|
explicit |
Setup tab_terrains object
Definition at line 47 of file tab_terrains.cpp.
|
privateslot |
User requested new terrain
Definition at line 248 of file tab_terrains.cpp.
Referenced by tab_terrains().
|
privateslot |
User requested terrain deletion
Definition at line 206 of file tab_terrains.cpp.
Referenced by tab_terrains().
|
privateslot |
User wants to edit effects
Definition at line 296 of file tab_terrains.cpp.
Referenced by tab_terrains().
|
privateslot |
User requested terrain edit dialog
Definition at line 312 of file tab_terrains.cpp.
Referenced by tab_terrains().
Initialize new terrain for use.
Definition at line 230 of file tab_terrains.cpp.
Referenced by add_now().
|
privateslot |
User entered name for the terrain
Definition at line 174 of file tab_terrains.cpp.
Referenced by tab_terrains().
void tab_terrains::refresh | ( | ) |
Refresh the information.
Definition at line 116 of file tab_terrains.cpp.
Referenced by add_now(), delete_now(), ruledit_gui::launch_now(), name_given(), and tab_terrains().
Toggled whether rule_name and name should be kept identical
Definition at line 285 of file tab_terrains.cpp.
Referenced by tab_terrains().
|
privateslot |
User selected terrain from the list.
Definition at line 159 of file tab_terrains.cpp.
Referenced by tab_terrains().
Update info of the terrain
Definition at line 131 of file tab_terrains.cpp.
Referenced by add_now(), delete_now(), select_terrain(), and tab_terrains().
|
private |
Definition at line 43 of file tab_terrains.h.
Referenced by name_given(), same_name_toggle(), tab_terrains(), and update_terrain_info().
|
private |
Definition at line 44 of file tab_terrains.h.
Referenced by name_given(), same_name_toggle(), tab_terrains(), and update_terrain_info().
|
private |
Definition at line 46 of file tab_terrains.h.
Referenced by name_given(), tab_terrains(), and update_terrain_info().
Definition at line 48 of file tab_terrains.h.
Referenced by delete_now(), edit_effects(), edit_now(), name_given(), tab_terrains(), and update_terrain_info().
|
private |
Definition at line 45 of file tab_terrains.h.
Referenced by refresh(), select_terrain(), and tab_terrains().
|
private |
Definition at line 39 of file tab_terrains.h.
Referenced by delete_now(), edit_effects(), edit_now(), name_given(), and tab_terrains().