Freeciv-3.2
|
#include <edit_terrain.h>
Public Member Functions | |
edit_terrain (ruledit_gui *ui_in, struct terrain *ter_in) | |
void | refresh () |
Public Member Functions inherited from values_dlg | |
values_dlg () | |
void | open_help (struct strvec **help) |
void | close_help () |
Protected Member Functions | |
void | closeEvent (QCloseEvent *cevent) |
Private Slots | |
void | set_mcost_value (int value) |
void | set_defense_value (int value) |
void | gfx_tag_given () |
void | gfx_tag_alt_given () |
void | gfx_tag_alt2_given () |
void | helptext () |
Private Attributes | |
ruledit_gui * | ui |
struct terrain * | ter |
QSpinBox * | mcost |
QSpinBox * | defense |
QLineEdit * | gfx_tag |
QLineEdit * | gfx_tag_alt |
QLineEdit * | gfx_tag_alt2 |
QGridLayout * | natives_layout |
QGridLayout * | flag_layout |
Definition at line 33 of file edit_terrain.h.
|
explicit |
Setup edit_terrain object
Definition at line 43 of file edit_terrain.cpp.
|
protected |
User is closing dialog.
Definition at line 154 of file edit_terrain.cpp.
|
privateslot |
User entered new second alternative graphics tag.
Definition at line 249 of file edit_terrain.cpp.
Referenced by closeEvent(), and edit_terrain().
|
privateslot |
User entered new alternative graphics tag.
Definition at line 239 of file edit_terrain.cpp.
Referenced by closeEvent(), and edit_terrain().
|
privateslot |
User entered new graphics tag.
Definition at line 229 of file edit_terrain.cpp.
Referenced by closeEvent(), and edit_terrain().
|
privateslot |
User pressed helptext button
Definition at line 259 of file edit_terrain.cpp.
Referenced by edit_terrain().
void edit_terrain::refresh | ( | ) |
Refresh the information.
Definition at line 197 of file edit_terrain.cpp.
Referenced by edit_terrain(), set_defense_value(), and set_mcost_value().
Read defense value from spinbox
Definition at line 219 of file edit_terrain.cpp.
Referenced by edit_terrain().
Read movement cost value from spinbox
Definition at line 209 of file edit_terrain.cpp.
Referenced by edit_terrain().
|
private |
Definition at line 45 of file edit_terrain.h.
Referenced by edit_terrain(), and refresh().
|
private |
Definition at line 51 of file edit_terrain.h.
Referenced by closeEvent(), and edit_terrain().
|
private |
Definition at line 46 of file edit_terrain.h.
Referenced by edit_terrain(), gfx_tag_given(), and refresh().
|
private |
Definition at line 47 of file edit_terrain.h.
Referenced by edit_terrain(), gfx_tag_alt_given(), and refresh().
|
private |
Definition at line 48 of file edit_terrain.h.
Referenced by edit_terrain(), gfx_tag_alt2_given(), and refresh().
|
private |
Definition at line 44 of file edit_terrain.h.
Referenced by edit_terrain(), and refresh().
|
private |
Definition at line 50 of file edit_terrain.h.
Referenced by closeEvent(), and edit_terrain().
Definition at line 43 of file edit_terrain.h.
Referenced by closeEvent(), edit_terrain(), gfx_tag_alt2_given(), gfx_tag_alt_given(), gfx_tag_given(), helptext(), refresh(), set_defense_value(), and set_mcost_value().
|
private |
Definition at line 42 of file edit_terrain.h.
Referenced by edit_terrain().