Freeciv-3.2
|
#include <req_vec_fix.h>
Signals | |
void | req_vec_may_have_changed (const requirement_vector *vec) |
Public Member Functions | |
req_vec_fix (ruledit_gui *ui_in, req_vec_fix_item *item_info) | |
~req_vec_fix () | |
const void * | item () |
bool | refresh (void) |
Private Slots | |
void | apply_solution (int selected_solution) |
void | accept_applied_solutions () |
void | reject_applied_solutions () |
void | incoming_req_vec_change (const requirement_vector *vec) |
Private Attributes | |
struct req_vec_problem * | current_problem |
req_vec_fix_item * | item_info |
bool | did_apply_a_solution |
ruledit_gui * | ui |
req_vec_fix_problem * | current_problem_viewer |
QStackedLayout * | current_problem_area |
QPushButton * | apply_changes |
QPushButton * | abort |
QPushButton * | close |
Widget for solving requirement vector problems for a ruleset item.
Definition at line 157 of file req_vec_fix.h.
|
explicit |
Set up a widget for displaying and fixing requirement vector problems for a specific ruleset entity item.
ui_in | ruledit instance this is for. |
item | ruleset entity item specific helpers. req_vec_fix's destructor calls close() on it. |
Definition at line 144 of file req_vec_fix.cpp.
req_vec_fix::~req_vec_fix | ( | ) |
Destructor for req_vec_fix.
Definition at line 203 of file req_vec_fix.cpp.
|
privateslot |
Do all the accepted solutions for real.
Definition at line 300 of file req_vec_fix.cpp.
Referenced by req_vec_fix().
Apply the selected solution to the current requirement vector problem.
selected_solution | the selected solution |
Definition at line 264 of file req_vec_fix.cpp.
Referenced by refresh().
|
privateslot |
A requirement vector may have been changed.
vec | the requirement vector that may have been changed. |
Definition at line 336 of file req_vec_fix.cpp.
Referenced by req_vec_fix().
Returns the item this dialog is trying to fix.
Definition at line 218 of file req_vec_fix.cpp.
Referenced by req_vec_fix().
Find the next requirement vector problem and its suggested solutions.
Definition at line 227 of file req_vec_fix.cpp.
Referenced by accept_applied_solutions(), apply_solution(), and reject_applied_solutions().
|
privateslot |
Undo all accepted solutions.
Definition at line 321 of file req_vec_fix.cpp.
Referenced by incoming_req_vec_change(), and req_vec_fix().
|
signal |
A requirement vector may have been changed.
vec | the requirement vector that was changed. |
Referenced by accept_applied_solutions(), and req_vec_fix().
|
private |
Definition at line 185 of file req_vec_fix.h.
Referenced by refresh(), and req_vec_fix().
|
private |
Definition at line 185 of file req_vec_fix.h.
Referenced by refresh(), and req_vec_fix().
|
private |
Definition at line 185 of file req_vec_fix.h.
Referenced by refresh(), and req_vec_fix().
|
private |
Definition at line 177 of file req_vec_fix.h.
Referenced by apply_solution(), refresh(), req_vec_fix(), and ~req_vec_fix().
|
private |
Definition at line 184 of file req_vec_fix.h.
Referenced by refresh(), and req_vec_fix().
|
private |
Definition at line 183 of file req_vec_fix.h.
Referenced by refresh(), and req_vec_fix().
|
private |
Definition at line 179 of file req_vec_fix.h.
Referenced by accept_applied_solutions(), apply_solution(), refresh(), reject_applied_solutions(), and req_vec_fix().
|
private |
Definition at line 178 of file req_vec_fix.h.
Referenced by accept_applied_solutions(), apply_solution(), incoming_req_vec_change(), item(), refresh(), reject_applied_solutions(), req_vec_fix(), and ~req_vec_fix().
|
private |
Definition at line 181 of file req_vec_fix.h.
Referenced by req_vec_fix(), and ~req_vec_fix().