#include "Dialog.h"
◆ DialogStateFlags
◆ ShowFlags
◆ DialogResult
Enumerator |
---|
Ok | |
Yes | |
No | |
Retry | |
Cancel | |
◆ DialogState
Enumerator |
---|
NoState | |
MousePressed | |
Closing | |
◆ ShowFlag
Enumerator |
---|
DefaultShow | |
CenterOnParent | |
FitOnScreen | Positions this dialog in the middle of the parent widget.
|
IdealFit | Ensures the dialog fits on any screen.
|
◆ Dialog() [1/2]
ot::Dialog::Dialog |
( |
QWidget * | _parent = (QWidget*)nullptr | ) |
|
◆ Dialog() [2/2]
ot::Dialog::Dialog |
( |
const DialogCfg & | _config, |
|
|
QWidget * | _parent = (QWidget*)nullptr ) |
◆ ~Dialog()
◆ close
◆ closeCancel
void ot::Dialog::closeCancel |
( |
void | | ) |
|
|
slot |
◆ closeEvent()
void ot::Dialog::closeEvent |
( |
QCloseEvent * | _event | ) |
|
|
overrideprotectedvirtual |
◆ closeNo
void ot::Dialog::closeNo |
( |
void | | ) |
|
|
slot |
◆ closeOk
void ot::Dialog::closeOk |
( |
void | | ) |
|
|
slot |
◆ closeRetry
void ot::Dialog::closeRetry |
( |
void | | ) |
|
|
slot |
◆ closeYes
void ot::Dialog::closeYes |
( |
void | | ) |
|
|
slot |
◆ dialogFlags()
◆ dialogName()
const std::string & ot::Dialog::dialogName |
( |
void | | ) |
const |
|
inline |
◆ dialogResult()
◆ getDialogState()
◆ getQWidget() [1/2]
virtual const QWidget * ot::Dialog::getQWidget |
( |
void | | ) |
const |
|
inlineoverridevirtual |
◆ getQWidget() [2/2]
virtual QWidget * ot::Dialog::getQWidget |
( |
void | | ) |
|
|
inlineoverridevirtual |
◆ keyPressEvent()
void ot::Dialog::keyPressEvent |
( |
QKeyEvent * | _event | ) |
|
|
overrideprotectedvirtual |
◆ mayCloseDialogWindow()
virtual bool ot::Dialog::mayCloseDialogWindow |
( |
void | | ) |
const |
|
inlineprotectedvirtual |
◆ mouseMoveEvent()
void ot::Dialog::mouseMoveEvent |
( |
QMouseEvent * | _event | ) |
|
|
overrideprotectedvirtual |
◆ mousePressEvent()
void ot::Dialog::mousePressEvent |
( |
QMouseEvent * | _event | ) |
|
|
overrideprotectedvirtual |
◆ mouseReleaseEvent()
void ot::Dialog::mouseReleaseEvent |
( |
QMouseEvent * | _event | ) |
|
|
overrideprotectedvirtual |
◆ setDialogFlag()
◆ setDialogFlags()
◆ setDialogName()
void ot::Dialog::setDialogName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ showDialog()
Center the dialog on parent and call exec.
The documentation for this class was generated from the following files: