Freeciv-3.2
|
#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 878 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 1023 of file dialogs.cpp.
Calculates size of notify dialog
Definition at line 939 of file dialogs.cpp.
Referenced by notify_dialog().
|
protected |
Called when mouse button was pressed and moving around
Definition at line 994 of file dialogs.cpp.
|
protected |
Called when mouse button was pressed, just to close on right click
Definition at line 981 of file dialogs.cpp.
|
protected |
Called when mouse button unpressed. Restores cursor.
Definition at line 1004 of file dialogs.cpp.
|
private |
Paint Event for notify dialog
Definition at line 958 of file dialogs.cpp.
void notify_dialog::restart | ( | ) |
Starts new copy of notify dialog and closes current one
Definition at line 911 of file dialogs.cpp.
Referenced by restart_notify_dialogs().
|
virtual |
Called when close button was pressed
Implements fcwidget.
Definition at line 1012 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().