Freeciv-3.2
|
#include <repodlgs.h>
Public Member Functions | |
science_report () | |
~science_report () | |
void | update_report () |
void | init () |
void | redraw () |
void | reset_tree () |
Private Slots | |
void | current_tech_changed (int index) |
void | goal_tech_changed (int index) |
Private Member Functions | |
void | update_reqtree () |
Private Attributes | |
QComboBox * | goal_combo |
QComboBox * | researching_combo |
QGridLayout * | sci_layout |
progress_bar * | progress |
QLabel * | info_label |
QLabel * | progress_label |
QList< qlist_item > * | curr_list |
QList< qlist_item > * | goal_list |
research_diagram * | res_diag |
QScrollArea * | scroll |
int | index |
Definition at line 69 of file repodlgs.c.
science_report::science_report | ( | ) |
Consctructor for science_report
Definition at line 864 of file repodlgs.cpp.
science_report::~science_report | ( | ) |
Destructor for science report Removes "SCI" string marking it as closed And frees given index on list marking it as ready for new widget
Definition at line 916 of file repodlgs.cpp.
Slot used when combo box with current tech changes
Definition at line 1125 of file repodlgs.cpp.
Referenced by science_report().
Slot used when combo box with goal have been changed
Definition at line 1141 of file repodlgs.cpp.
Referenced by science_report().
void science_report::init | ( | ) |
Updates science_report and marks it as opened. It has to be called soon after constructor. It could be in constructor but compiler will yell about not used variable
Definition at line 933 of file repodlgs.cpp.
Referenced by science_report_dialog_popup(), and side_left_click_science().
void science_report::redraw | ( | ) |
Schedules paint event in some qt queue
Definition at line 944 of file repodlgs.cpp.
Referenced by science_report_dialog_popup(), and science_report_dialog_redraw().
void science_report::reset_tree | ( | ) |
Recalculates research diagram again and updates science report
Definition at line 952 of file repodlgs.cpp.
Referenced by tileset_changed().
void science_report::update_report | ( | ) |
Updates all important widgets on science_report
Definition at line 964 of file repodlgs.cpp.
Referenced by init(), and real_science_report_dialog_update().
|
private |
Calls update for research_diagram
Definition at line 1117 of file repodlgs.cpp.
Referenced by update_report().
GtkWidget * science_report::button_show_all |
Definition at line 73 of file repodlgs.c.
|
private |
Definition at line 182 of file repodlgs.h.
Referenced by science_report(), update_report(), and ~science_report().
GtkLayout* science_report::drawing_area |
Definition at line 77 of file repodlgs.c.
GtkDrawingArea* science_report::drawing_area |
Definition at line 77 of file repodlgs.c.
|
private |
Definition at line 176 of file repodlgs.h.
Referenced by goal_tech_changed(), science_report(), and update_report().
GtkLabel * science_report::goal_label |
Definition at line 76 of file repodlgs.c.
|
private |
Definition at line 183 of file repodlgs.h.
Referenced by science_report(), update_report(), and ~science_report().
|
private |
Definition at line 197 of file repodlgs.h.
Referenced by init().
|
private |
Definition at line 180 of file repodlgs.h.
Referenced by science_report(), and update_report().
GtkLabel * science_report::main_label |
Definition at line 74 of file repodlgs.c.
|
private |
Definition at line 179 of file repodlgs.h.
Referenced by science_report(), and update_report().
GtkProgressBar * science_report::progress_bar |
Definition at line 75 of file repodlgs.c.
Referenced by science_report().
|
private |
Definition at line 181 of file repodlgs.h.
Referenced by science_report(), and update_report().
GtkComboBox * science_report::reachable_goals |
Definition at line 72 of file repodlgs.c.
GtkComboBox * science_report::reachable_techs |
Definition at line 71 of file repodlgs.c.
|
private |
Definition at line 184 of file repodlgs.h.
Referenced by reset_tree(), science_report(), and update_reqtree().
|
private |
Definition at line 177 of file repodlgs.h.
Referenced by current_tech_changed(), science_report(), and update_report().
|
private |
Definition at line 178 of file repodlgs.h.
Referenced by science_report().
|
private |
Definition at line 185 of file repodlgs.h.
Referenced by science_report().
struct gui_dialog * science_report::shell |
Definition at line 70 of file repodlgs.c.
Referenced by real_science_report_dialog_update(), science_report_dialog_popdown(), science_report_dialog_popup(), and science_report_dialog_redraw().