gSAFE
1.3.8
|
#include <dialib.h>
Signals | |
void | listItemChanged (void) |
void | tbutton1Clicked (void) |
void | tbutton2Clicked (void) |
Public Member Functions | |
HDialog (QWidget *parent=0, QString caption=0, HBase *dobj1=NULL, HBase *dobj2=NULL, QString func="Ok|EscC|Vert", QString ttext="", QString tbutt1="", QString tbutt2="", QList< QPixmap * > *toolbuttons=NULL, int xsize=320, int ysize=240) | |
~HDialog (void) | |
QFrame * | get1DispCont (void) |
QFrame * | get2DispCont (void) |
QToolButton * | getToolButtObj (int i) |
Public Member Functions inherited from HDialogData | |
HDialogData (void) | |
int | makeGui (QWidget *basew, QString caption=0, HBase *dobj1=NULL, HBase *dobj2=NULL, QString func="Ok|EscC|Vert", QString ttext="", QString tbutt1="", QString tbutt2="", QList< QPixmap * > *toolbuttons=NULL, int xsize=320, int ysize=240) |
Static Public Member Functions | |
static int | run (QWidget *parent=0, QString caption=0, HBase *dobj1=NULL, HBase *dobj2=NULL, QString func="Ok|EscC|Vert", QString ttext="", QString tbutt1="", QString tbutt2="", QList< QPixmap * > *toolbuttons=NULL, int xsize=320, int ysize=240) |
Public Attributes | |
QWidget * | parent_dialog |
Public Attributes inherited from HDialogData | |
QPushButton * | closebutton |
bool | declose |
bool | deletedata |
HDispPlainDataMatrix * | dmatrix1 |
HDispPlainDataMatrix * | dmatrix2 |
bool | EscC |
bool | inscroll |
HDispList * | list1 |
HDispList * | list2 |
QToolButton * | pixTool [8] |
QScrollArea * | sv1 |
QScrollArea * | sv2 |
bool | t1AC |
bool | t1C |
bool | t2AC |
bool | t2C |
HDispTable * | table1 |
HDispTable * | table2 |
bool | tb1clicked |
bool | tb2clicked |
QPushButton * | toolbutton1 |
QPushButton * | toolbutton2 |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
Standard quick buildable paramerized dialog box based on HDialogData.
See HDialogData for parameters
HDialog::HDialog | ( | QWidget * | parent = 0 , |
QString | caption = 0 , |
||
HBase * | dobj1 = NULL , |
||
HBase * | dobj2 = NULL , |
||
QString | func = "Ok|EscC|Vert" , |
||
QString | ttext = "" , |
||
QString | tbutt1 = "" , |
||
QString | tbutt2 = "" , |
||
QList< QPixmap * > * | toolbuttons = NULL , |
||
int | xsize = 320 , |
||
int | ysize = 240 |
||
) |
Create a special generated QDialog with necessary GUI (See the HDialogData class description for details)
basew | the base QWidget descendant where the GUI is builded. |
caption | the Caption text |
dobj1 | Data object 1 |
dobj2 | Data object 2 |
func | The function modifiers (See class description) |
ttext | title text |
tbutt1 | the text of Button1 |
tbutt2 | the text of Button2 |
toolbuttons | The pixmaps of toolbuttons. |
xsize | the initial horizontal size |
ysize | the initial vertical size |
Definition at line 285 of file dialib.cpp.
HDialog::~HDialog | ( | void | ) |
Destructor
Definition at line 310 of file dialib.cpp.
|
inline |
Returns the first display container HDispTable or HDispList if exists. Otherwise returns null.
|
inline |
Returns the second display container HDispTable or HDispList if exists. Otherwise returns null.
|
inline |
|
signal |
|
static |
Static function to start an independent generated dialog (alloc a object, exec, and delete it.) See HDialogData for details of parameters
Definition at line 265 of file dialib.cpp.
|
signal |
This signal is emitted when the Button1 is pressed
|
signal |
This signal is emitted when the Button2 is pressed