Freeciv-3.3
|
#include <gotodlg.h>
Public Slots | |
void | close_dlg () |
Public Member Functions | |
goto_dialog (QWidget *parent=0) | |
void | init () |
~goto_dialog () | |
void | update_dlg () |
void | show_me () |
void | sort_def () |
Public Member Functions inherited from qfc_dialog | |
qfc_dialog (QWidget *parent) | |
void | reactivate () |
Protected Member Functions | |
void | paint (QPainter *painter, QPaintEvent *event) |
void | paintEvent (QPaintEvent *event) |
Protected Member Functions inherited from qfc_dialog | |
void | paintEvent (QPaintEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
Private Slots | |
void | go_to_city () |
void | airlift_to () |
void | item_selected (const QItemSelection &sl, const QItemSelection &ds) |
void | checkbox_changed (Qt::CheckState state) |
void | checkbox_changed_depr (int state) |
Private Member Functions | |
void | fill_tab (struct player *pplayer) |
Private Attributes | |
QTableWidget * | goto_tab |
QPushButton * | goto_city |
QPushButton * | airlift_city |
QPushButton * | close_but |
QCheckBox * | show_all |
QGridLayout * | layout |
QLabel * | show_all_label |
struct tile * | original_tile |
goto_dialog::goto_dialog | ( | QWidget * | parent = 0 | ) |
Constructor for goto_dialog
Definition at line 70 of file gotodlg.cpp.
goto_dialog::~goto_dialog | ( | ) |
Destructor for goto dialog
Definition at line 156 of file gotodlg.cpp.
|
privateslot |
|
privateslot |
Slot for checkbox 'all nations'
Definition at line 163 of file gotodlg.cpp.
Referenced by goto_dialog().
Slot for checkbox 'all nations' This deprecated slot is used in Qt < 6.7
Definition at line 172 of file gotodlg.cpp.
Referenced by goto_dialog().
|
slot |
Slot for hiding dialog
Definition at line 474 of file gotodlg.cpp.
Referenced by goto_dialog(), and popdown_all_game_dialogs().
Helper for function for filling table
Definition at line 271 of file gotodlg.cpp.
Referenced by update_dlg().
|
privateslot |
void goto_dialog::init | ( | ) |
Sets variables which must be destroyed later
Definition at line 145 of file gotodlg.cpp.
Referenced by popup_goto_dialog(), and show_me().
|
privateslot |
User has chosen some city on table
Definition at line 180 of file gotodlg.cpp.
Referenced by goto_dialog().
|
protected |
Paints rectangles for goto_dialog
Definition at line 488 of file gotodlg.cpp.
Referenced by paintEvent().
|
protected |
Paint event for goto_dialog
Definition at line 499 of file gotodlg.cpp.
void goto_dialog::show_me | ( | ) |
Shows and moves widget
Definition at line 227 of file gotodlg.cpp.
Referenced by popup_goto_dialog().
void goto_dialog::sort_def | ( | ) |
Sorts dialog by default column (0)
Definition at line 219 of file gotodlg.cpp.
Referenced by popup_goto_dialog().
void goto_dialog::update_dlg | ( | ) |
Updates table in widget
Definition at line 250 of file gotodlg.cpp.
Referenced by checkbox_changed(), checkbox_changed_depr(), popup_goto_dialog(), and qtg_real_focus_units_changed().
|
private |
Definition at line 47 of file gotodlg.h.
Referenced by goto_dialog(), and item_selected().
|
private |
Definition at line 48 of file gotodlg.h.
Referenced by goto_dialog().
|
private |
Definition at line 46 of file gotodlg.h.
Referenced by goto_dialog().
|
private |
Definition at line 45 of file gotodlg.h.
Referenced by airlift_to(), fill_tab(), go_to_city(), goto_dialog(), item_selected(), sort_def(), and update_dlg().
|
private |
Definition at line 50 of file gotodlg.h.
Referenced by goto_dialog().
Definition at line 76 of file gotodlg.h.
Referenced by close_dlg(), goto_dialog(), init(), and show_me().
|
private |
Definition at line 49 of file gotodlg.h.
Referenced by goto_dialog(), and update_dlg().
|
private |
Definition at line 51 of file gotodlg.h.
Referenced by goto_dialog().