Freeciv-3.2
|
#include <dialogs.h>
Public Member Functions | |
qfc_dialog (QWidget *parent) | |
void | reactivate () |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
Private Attributes | |
int | titlebar_height |
QPoint | point |
bool | moving_now |
QPixmap | close_pix |
qfc_dialog::qfc_dialog | ( | QWidget * | parent | ) |
Constructor for custom dialog with themed titlebar
Definition at line 329 of file dialogs.cpp.
|
protected |
Mouse move event for themed titlebar (moves dialog with left mouse)
Definition at line 390 of file dialogs.cpp.
|
protected |
Mouse press event - catches left click
Definition at line 400 of file dialogs.cpp.
|
protected |
Mouse release event for themed dialog
Definition at line 420 of file dialogs.cpp.
|
protected |
Paint event for themed dialog
Definition at line 349 of file dialogs.cpp.
void qfc_dialog::reactivate | ( | ) |
Existing dialog requested again.
Definition at line 341 of file dialogs.cpp.
Referenced by option_dialog_popup(), and popup_help_dialog_typed().
|
private |
Definition at line 83 of file dialogs.h.
Referenced by mousePressEvent(), paintEvent(), and qfc_dialog().
|
private |
Definition at line 82 of file dialogs.h.
Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and qfc_dialog().
|
private |
Definition at line 81 of file dialogs.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
private |
Definition at line 80 of file dialogs.h.
Referenced by mousePressEvent(), paintEvent(), and qfc_dialog().