QskDialogSubWindow

Inherits from QskSubWindow

Inherited by QskMessageSubWindow, QskSelectionSubWindow

Public Slots

  Name
void accept()
void reject()
virtual void done(QskDialog::DialogCode result)

Public Signals

  Name
void finished(QskDialog::DialogCode )
void accepted()
void rejected()

Public Functions

  Name
  QskDialogSubWindow(QQuickItem * parent =nullptr)
  ~QskDialogSubWindow() override
QskDialog::Actions dialogActions() const
void setDialogActions(QskDialog::Actions actions)
void addDialogAction(QskDialog::Action action)
void addDialogButton(QskPushButton * button, QskDialog::ActionRole actionRole)
Q_INVOKABLE QskDialog::Action clickedAction() const
Q_INVOKABLE QskDialog::DialogCode result() const
Q_INVOKABLE QskDialog::DialogCode exec()
void setDefaultDialogAction(QskDialog::Action action)
void setDefaultButton(QskPushButton * button)
QskPushButton * defaultButton() const
QskDialogButtonBox * buttonBox()
const QskDialogButtonBox * buttonBox() const
void setContentItem(QQuickItem * item)
QQuickItem * contentItem() const
void setContentPadding(const QMarginsF & padding)
QMarginsF contentPadding() const

Protected Functions

  Name
void setResult(QskDialog::DialogCode result)
void keyPressEvent(QKeyEvent * event) override
void updateLayout() override
void aboutToShow() override
QSizeF layoutSizeHint(Qt::SizeHint which, const QSizeF & constraint) const override
virtual QskDialogButtonBox * createButtonBox()

Public Properties

  Name
QskDialog::Actions dialogActions

Public Slots Documentation

slot accept

void accept()

slot reject

void reject()

slot done

virtual void done(
    QskDialog::DialogCode result
)

Public Signals Documentation

signal finished

void finished(
    QskDialog::DialogCode 
)

signal accepted

void accepted()

signal rejected

void 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
)

function addDialogButton

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
)

function setDefaultButton

void setDefaultButton(
    QskPushButton * button
)

function defaultButton

QskPushButton * defaultButton() const

function buttonBox

QskDialogButtonBox * buttonBox()

function 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

function createButtonBox

virtual QskDialogButtonBox * createButtonBox()

Public Property Documentation

property dialogActions

QskDialog::Actions dialogActions;

Updated on 28 July 2023 at 14:02:29 CEST