Freeciv-3.3
|
#include <dialogs.h>
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 880 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 1025 of file dialogs.cpp.
Calculates size of notify dialog
Definition at line 941 of file dialogs.cpp.
Referenced by notify_dialog().
|
protected |
Called when mouse button was pressed and moving around
Definition at line 996 of file dialogs.cpp.
|
protected |
Called when mouse button was pressed, just to close on right click
Definition at line 983 of file dialogs.cpp.
|
protected |
Called when mouse button unpressed. Restores cursor.
Definition at line 1006 of file dialogs.cpp.
|
private |
Paint Event for notify dialog
Definition at line 960 of file dialogs.cpp.
void notify_dialog::restart | ( | ) |
Starts new copy of notify dialog and closes current one
Definition at line 913 of file dialogs.cpp.
Referenced by restart_notify_dialogs().
|
virtual |
Called when close button was pressed
Implements fcwidget.
Definition at line 1014 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 |
|
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().