gSAFE
1.3.8
|
#include <guilib.h>
Inherits QDialog.
Public Member Functions | |
HDecorDialog (QWidget *parent, QString title, int no_action_closetime) | |
void | setTitleFont (QFont f) |
Public Attributes | |
bool | anywhere_click_close |
QColor | bgcolor |
int | closerwidth |
int | crossmargin |
int | crossthick |
bool | dont_reset_timer |
int | framewidth |
QColor | frcolor |
QColor | indcolor |
QColor | titlecolor |
int | titleheight |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | paintEvent (QPaintEvent *pe) |
HDecorDialog is a decorated dialog box. Useful for special touch devides. This dialog is a descendat of the QDialog so you can use like that.
You can see a HDecorDialog on the picture, with two HPressButton:
HDecorDialog::HDecorDialog | ( | QWidget * | parent, |
QString | title, | ||
int | no_action_closetime | ||
) |
Creates a HDecorDialog
parent | the parent QWidget descendant |
title | the title text of the dialog |
no_action_closetime | If this parameter is greater then 0: The dialog is automatically closed after no_action_closetime second if no mouse moved or clicked. If the parameter is 0 the dialog doesn't closed automatically. |
Definition at line 4491 of file guilib.cpp.
void HDecorDialog::setTitleFont | ( | QFont | f | ) |
Sets the font of the window title
Definition at line 4524 of file guilib.cpp.
bool HDecorDialog::anywhere_click_close |
bool HDecorDialog::dont_reset_timer |