Freeciv-3.2
|
#include <ruledit_qt.h>
Signals | |
void | req_vec_may_have_changed (const requirement_vector *vec) |
Public Member Functions | |
void | setup (QWidget *central_in) |
void | display_msg (const char *msg) |
requirers_dlg * | create_requirers (const char *title) |
void | show_required (requirers_dlg *requirers, const char *msg) |
void | flush_widgets () |
void | open_req_edit (QString target, struct requirement_vector *preqs) |
void | unregister_req_edit (class req_edit *redit) |
void | open_req_vec_fix (req_vec_fix_item *item_info) |
void | unregister_req_vec_fix (req_vec_fix *fixer) |
void | open_effect_edit (QString target, struct universal *uni, enum effect_filter_main_class efmc) |
void | unregister_effect_edit (class effect_edit *e_edit) |
void | refresh_effect_edits () |
Data Fields | |
struct rule_data | data |
Private Slots | |
void | rulesetdir_given () |
void | incoming_req_vec_change (const requirement_vector *vec) |
Private Member Functions | |
void | launch_now () |
Private Attributes | |
QLabel * | msg_dspl |
QTabWidget * | stack |
QLineEdit * | ruleset_select |
QWidget * | central |
QStackedLayout * | main_layout |
tab_achievement * | ach |
tab_building * | bldg |
tab_counter * | counter |
tab_misc * | misc |
tab_tech * | tech |
tab_unit * | unit |
tab_good * | good |
tab_gov * | gov |
tab_enabler * | enablers |
tab_extras * | extras |
tab_multiplier * | multipliers |
tab_terrains * | terrains |
tab_nation * | nation |
struct req_edit_list * | req_edits |
struct req_vec_fix_list * | req_vec_fixers |
struct effect_edit_list * | effect_edits |
Definition at line 96 of file ruledit_qt.h.
requirers_dlg * ruledit_gui::create_requirers | ( | const char * | title | ) |
Create requirers dlg.
Definition at line 301 of file ruledit_qt.cpp.
Referenced by tab_achievement::delete_now(), tab_building::delete_now(), tab_counter::delete_now(), tab_extras::delete_now(), tab_good::delete_now(), tab_gov::delete_now(), tab_multiplier::delete_now(), tab_tech::delete_now(), tab_terrains::delete_now(), and tab_unit::delete_now().
Display status message
Definition at line 293 of file ruledit_qt.cpp.
Referenced by launch_now(), tab_achievement::name_given(), tab_building::name_given(), tab_counter::name_given(), tab_extras::name_given(), tab_good::name_given(), tab_gov::name_given(), tab_multiplier::name_given(), tab_tech::name_given(), tab_terrains::name_given(), tab_unit::name_given(), tab_misc::sanity_check(), and tab_misc::save_now().
void ruledit_gui::flush_widgets | ( | ) |
Flush information from widgets to stores where it can be saved from.
Definition at line 326 of file ruledit_qt.cpp.
Referenced by tab_misc::save_now().
|
privateslot |
A requirement vector may have been changed.
vec | the requirement vector that may have been changed. |
Definition at line 285 of file ruledit_qt.cpp.
Referenced by open_req_edit(), and open_req_vec_fix().
|
private |
Launch the main page.
game.server.rulesetdir must be correctly set beforehand.
Definition at line 248 of file ruledit_qt.cpp.
Referenced by rulesetdir_given(), and setup().
void ruledit_gui::open_effect_edit | ( | QString | target, |
struct universal * | uni, | ||
enum effect_filter_main_class | efmc | ||
) |
Open effect_edit dialog
Definition at line 404 of file ruledit_qt.cpp.
Referenced by tab_misc::edit_aae_effects(), tab_misc::edit_all_effects(), tab_achievement::edit_effects(), tab_building::edit_effects(), tab_counter::edit_effects(), tab_extras::edit_effects(), tab_good::edit_effects(), tab_gov::edit_effects(), tab_tech::edit_effects(), tab_terrains::edit_effects(), and tab_unit::edit_effects().
void ruledit_gui::open_req_edit | ( | QString | target, |
struct requirement_vector * | preqs | ||
) |
Open req_edit dialog
Definition at line 335 of file ruledit_qt.cpp.
Referenced by tab_enabler::edit_actor_reqs(), effect_edit::edit_reqs(), tab_building::edit_reqs(), tab_extras::edit_reqs(), tab_good::edit_reqs(), tab_gov::edit_reqs(), tab_unit::edit_reqs(), and tab_enabler::edit_target_reqs().
void ruledit_gui::open_req_vec_fix | ( | req_vec_fix_item * | item_info | ) |
Open req_vec_fix dialog.
Definition at line 368 of file ruledit_qt.cpp.
Referenced by tab_enabler::repair_now().
void ruledit_gui::refresh_effect_edits | ( | ) |
Refresh all effect edit dialogs
Definition at line 441 of file ruledit_qt.cpp.
Referenced by effect_edit::effect_type_menu(), and effect_edit::set_value().
|
signal |
A requirement vector may have been changed.
vec | the requirement vector that was changed. |
Referenced by incoming_req_vec_change(), and open_req_edit().
|
privateslot |
User entered rulesetdir to load.
Definition at line 233 of file ruledit_qt.cpp.
Referenced by setup().
void ruledit_gui::setup | ( | QWidget * | central_in | ) |
void ruledit_gui::show_required | ( | requirers_dlg * | requirers, |
const char * | msg | ||
) |
Add entry to requirers dlg.
Definition at line 315 of file ruledit_qt.cpp.
Referenced by ruledit_qt_display_requirers().
void ruledit_gui::unregister_effect_edit | ( | class effect_edit * | e_edit | ) |
Unregister closed effect_edit dialog
Definition at line 433 of file ruledit_qt.cpp.
Referenced by effect_edit::close_now(), and effect_edit::closeEvent().
Unregister closed req_edit dialog
Definition at line 360 of file ruledit_qt.cpp.
Referenced by req_edit::close_now(), and req_edit::closeEvent().
void ruledit_gui::unregister_req_vec_fix | ( | req_vec_fix * | fixer | ) |
Unregister closed req_vec_fix dialog.
Definition at line 396 of file ruledit_qt.cpp.
Referenced by req_vec_fix::~req_vec_fix().
|
private |
Definition at line 136 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 137 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 133 of file ruledit_qt.h.
Referenced by setup().
|
private |
Definition at line 138 of file ruledit_qt.h.
Definition at line 118 of file ruledit_qt.h.
Referenced by tab_nation::flush_widgets(), launch_now(), tab_nation::nationlist_toggle(), tab_nation::refresh(), tab_misc::save_now(), and setup().
|
private |
Definition at line 152 of file ruledit_qt.h.
Referenced by open_effect_edit(), refresh_effect_edits(), setup(), and unregister_effect_edit().
|
private |
Definition at line 144 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 145 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 142 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 143 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 134 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 139 of file ruledit_qt.h.
Referenced by flush_widgets(), launch_now(), and setup().
|
private |
Definition at line 130 of file ruledit_qt.h.
Referenced by display_msg(), and setup().
|
private |
Definition at line 146 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 148 of file ruledit_qt.h.
Referenced by flush_widgets(), launch_now(), and setup().
|
private |
Definition at line 150 of file ruledit_qt.h.
Referenced by open_req_edit(), setup(), and unregister_req_edit().
|
private |
Definition at line 151 of file ruledit_qt.h.
Referenced by open_req_vec_fix(), setup(), and unregister_req_vec_fix().
|
private |
Definition at line 132 of file ruledit_qt.h.
Referenced by rulesetdir_given(), and setup().
|
private |
Definition at line 131 of file ruledit_qt.h.
Referenced by setup().
|
private |
Definition at line 140 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 147 of file ruledit_qt.h.
Referenced by launch_now(), and setup().
|
private |
Definition at line 141 of file ruledit_qt.h.