QskDialogSubWindow
Inherits from QskSubWindow
Inherited by QskMessageSubWindow, QskSelectionSubWindow
Public Slots
|
Name |
void |
accept() |
void |
reject() |
virtual void |
done(QskDialog::DialogCode result) |
Public Signals
Public Functions
Protected Functions
Public Properties
Public Slots Documentation
slot accept
slot reject
slot done
virtual void done(
QskDialog::DialogCode result
)
Public Signals Documentation
signal finished
void finished(
QskDialog::DialogCode
)
signal accepted
signal rejected
Public Functions Documentation
function QskDialogSubWindow
QskDialogSubWindow(
QQuickItem * parent =nullptr
)
function ~QskDialogSubWindow
~QskDialogSubWindow() override
function dialogActions
QskDialog::Actions dialogActions() const
function setDialogActions
void setDialogActions(
QskDialog::Actions actions
)
function addDialogAction
void addDialogAction(
QskDialog::Action action
)
void addDialogButton(
QskPushButton * button,
QskDialog::ActionRole actionRole
)
function clickedAction
Q_INVOKABLE QskDialog::Action clickedAction() const
function result
Q_INVOKABLE QskDialog::DialogCode result() const
function exec
Q_INVOKABLE QskDialog::DialogCode exec()
function setDefaultDialogAction
void setDefaultDialogAction(
QskDialog::Action action
)
void setDefaultButton(
QskPushButton * button
)
QskPushButton * defaultButton() const
QskDialogButtonBox * buttonBox()
const QskDialogButtonBox * buttonBox() const
function setContentItem
void setContentItem(
QQuickItem * item
)
function contentItem
QQuickItem * contentItem() const
function setContentPadding
void setContentPadding(
const QMarginsF & padding
)
function contentPadding
QMarginsF contentPadding() const
Protected Functions Documentation
function setResult
void setResult(
QskDialog::DialogCode result
)
function keyPressEvent
void keyPressEvent(
QKeyEvent * event
) override
function updateLayout
void updateLayout() override
function aboutToShow
void aboutToShow() override
function layoutSizeHint
QSizeF layoutSizeHint(
Qt::SizeHint which,
const QSizeF & constraint
) const override
virtual QskDialogButtonBox * createButtonBox()
Public Property Documentation
property dialogActions
QskDialog::Actions dialogActions;
Updated on 28 July 2023 at 14:02:29 CEST