|
Freeciv-3.1
|
#include <dialogs.h>
Inheritance diagram for notify_dialog:Public Member Functions | |
| notify_dialog (const char *caption, const char *headline, const char *lines, QWidget *parent=0) | |
| virtual void | update_menu () |
| ~notify_dialog () | |
| void | restart () |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) |
| void | mouseMoveEvent (QMouseEvent *event) |
| void | mouseReleaseEvent (QMouseEvent *event) |
Private Member Functions | |
| void | paintEvent (QPaintEvent *paint_event) |
| void | calc_size (int &x, int &y) |
Private Attributes | |
| close_widget * | cw |
| QLabel * | label |
| QVBoxLayout * | layout |
| QString | qcaption |
| QString | qheadline |
| QStringList | qlist |
| QFont | small_font |
| QPoint | cursor |
Additional Inherited Members | |
Data Fields inherited from fcwidget | |
| bool | was_destroyed |
| notify_dialog::notify_dialog | ( | const char * | caption, |
| const char * | headline, | ||
| const char * | lines, | ||
| QWidget * | parent = 0 |
||
| ) |
Constructor for notify dialog
Definition at line 857 of file dialogs.cpp.
| notify_dialog::~notify_dialog | ( | ) |
Destructor for notify dialog, notice that somehow object is not destroyed immediately, so it can be still visible for parent, check boolean was_destroyed if u suspect it could not be destroyed yet
Definition at line 1002 of file dialogs.cpp.
|
private |
Calculates size of notify dialog
Definition at line 918 of file dialogs.cpp.
Referenced by notify_dialog().
|
protected |
Called when mouse button was pressed and moving around
Definition at line 973 of file dialogs.cpp.
|
protected |
Called when mouse button was pressed, just to close on right click
Definition at line 960 of file dialogs.cpp.
|
protected |
Called when mouse button unpressed. Restores cursor.
Definition at line 983 of file dialogs.cpp.
|
private |
Paint Event for notify dialog
Definition at line 937 of file dialogs.cpp.
| void notify_dialog::restart | ( | ) |
Starts new copy of notify dialog and closes current one
Definition at line 890 of file dialogs.cpp.
Referenced by restart_notify_dialogs().
|
virtual |
Called when close button was pressed
Implements fcwidget.
Definition at line 991 of file dialogs.cpp.
|
private |
Definition at line 196 of file dialogs.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
private |
Definition at line 189 of file dialogs.h.
Referenced by notify_dialog(), and paintEvent().
|
private |
Definition at line 192 of file dialogs.h.
Referenced by calc_size(), notify_dialog(), paintEvent(), and restart().
|
private |
Definition at line 193 of file dialogs.h.
Referenced by calc_size(), notify_dialog(), paintEvent(), and restart().
|
private |
Definition at line 194 of file dialogs.h.
Referenced by calc_size(), notify_dialog(), paintEvent(), and restart().
|
private |
Definition at line 195 of file dialogs.h.
Referenced by calc_size(), notify_dialog(), and paintEvent().