QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskDialogWindow Class Reference

Detailed Description

Definition at line 15 of file QskDialogWindow.h.

Inheritance diagram for QskDialogWindow:

Properties

QskDialog::Actions dialogActions
 
- Properties inherited from QskWindow
bool deleteOnClose
 
bool autoLayoutChildren
 
QLocale locale
 

Public Member Functions

 QskDialogWindow (QWindow *parent=nullptr)
 
QskDialog::Actions dialogActions () const
 
void setDialogActions (QskDialog::Actions)
 
Q_INVOKABLE QskDialog::Action clickedAction () const
 
Q_INVOKABLE QskDialog::DialogCode result () const
 
Q_INVOKABLE QskDialog::DialogCode exec ()
 
void setDefaultDialogAction (QskDialog::Action)
 
void setDefaultButton (QskPushButton *)
 
QskPushButtondefaultButton () const
 
QskDialogButtonBoxbuttonBox ()
 
const QskDialogButtonBoxbuttonBox () const
 
void setDialogContentItem (QQuickItem *)
 
QQuickItem * dialogContentItem () const
 
- Public Member Functions inherited from QskWindow
 QskWindow (QWindow *parent=nullptr)
 
 QskWindow (QQuickRenderControl *renderControl, QWindow *parent=nullptr)
 
void setScreen (const QString &)
 
bool deleteOnClose () const
 
void setDeleteOnClose (bool)
 
void setAutoLayoutChildren (bool)
 
bool autoLayoutChildren () const
 
Q_INVOKABLE void addItem (QQuickItem *)
 
QLocale locale () const
 
void resetLocale ()
 
Q_INVOKABLE void setPreferredSize (const QSize &)
 
Q_INVOKABLE QSize preferredSize () const
 
Q_INVOKABLE QSize sizeConstraint () const
 
Q_INVOKABLE void setFixedSize (const QSize &)
 
void polishItems ()
 
void setCustomRenderMode (const char *mode)
 
const char * customRenderMode () const
 
void setEventAcceptance (EventAcceptance)
 
EventAcceptance eventAcceptance () const
 
void setSkin (QskSkin *)
 
void setSkin (const QString &)
 
QskSkinskin () const
 

Public Slots

void accept ()
 
void reject ()
 
virtual void done (QskDialog::DialogCode)
 
- Public Slots inherited from QskWindow
void setLocale (const QLocale &)
 
void resizeF (const QSizeF &)
 

Signals

void finished (QskDialog::DialogCode result)
 
void accepted ()
 
void rejected ()
 
- Signals inherited from QskWindow
void localeChanged (const QLocale &)
 
void autoLayoutChildrenChanged ()
 
void deleteOnCloseChanged ()
 

Protected Member Functions

void setResult (QskDialog::DialogCode r)
 
virtual QskDialogButtonBoxcreateButtonBox ()
 
bool event (QEvent *) override
 
void keyPressEvent (QKeyEvent *) override
 
- Protected Member Functions inherited from QskWindow
bool event (QEvent *) override
 
void resizeEvent (QResizeEvent *) override
 
void exposeEvent (QExposeEvent *) override
 
void keyPressEvent (QKeyEvent *) override
 
void keyReleaseEvent (QKeyEvent *) override
 
virtual void layoutItems ()
 
virtual void ensureFocus (Qt::FocusReason)
 

Additional Inherited Members

- Public Types inherited from QskWindow
enum  EventAcceptance { EventProcessed = 0 , EventPropagationStopped = 1 }
 

Constructor & Destructor Documentation

◆ QskDialogWindow()

QskDialogWindow::QskDialogWindow ( QWindow *  parent = nullptr)

Definition at line 35 of file QskDialogWindow.cpp.

◆ ~QskDialogWindow()

QskDialogWindow::~QskDialogWindow ( )
override

Definition at line 49 of file QskDialogWindow.cpp.

Member Function Documentation

◆ accept

void QskDialogWindow::accept ( )
slot

Definition at line 222 of file QskDialogWindow.cpp.

◆ buttonBox() [1/2]

QskDialogButtonBox * QskDialogWindow::buttonBox ( )

Definition at line 150 of file QskDialogWindow.cpp.

◆ buttonBox() [2/2]

const QskDialogButtonBox * QskDialogWindow::buttonBox ( ) const

Definition at line 155 of file QskDialogWindow.cpp.

◆ clickedAction()

QskDialog::Action QskDialogWindow::clickedAction ( ) const

Definition at line 160 of file QskDialogWindow.cpp.

◆ createButtonBox()

QskDialogButtonBox * QskDialogWindow::createButtonBox ( )
protectedvirtual

Definition at line 264 of file QskDialogWindow.cpp.

◆ defaultButton()

QskPushButton * QskDialogWindow::defaultButton ( ) const

Definition at line 132 of file QskDialogWindow.cpp.

◆ dialogActions()

QskDialog::Actions QskDialogWindow::dialogActions ( ) const

Definition at line 88 of file QskDialogWindow.cpp.

◆ dialogContentItem()

QQuickItem * QskDialogWindow::dialogContentItem ( ) const

Definition at line 114 of file QskDialogWindow.cpp.

◆ done

void QskDialogWindow::done ( QskDialog::DialogCode  result)
virtualslot

Definition at line 198 of file QskDialogWindow.cpp.

◆ event()

bool QskDialogWindow::event ( QEvent *  event)
overrideprotected

Definition at line 232 of file QskDialogWindow.cpp.

◆ exec()

QskDialog::DialogCode QskDialogWindow::exec ( )

Definition at line 178 of file QskDialogWindow.cpp.

◆ keyPressEvent()

void QskDialogWindow::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 243 of file QskDialogWindow.cpp.

◆ reject

void QskDialogWindow::reject ( )
slot

Definition at line 227 of file QskDialogWindow.cpp.

◆ result()

QskDialog::DialogCode QskDialogWindow::result ( ) const

Definition at line 173 of file QskDialogWindow.cpp.

◆ setDefaultButton()

void QskDialogWindow::setDefaultButton ( QskPushButton button)

Definition at line 119 of file QskDialogWindow.cpp.

◆ setDefaultDialogAction()

void QskDialogWindow::setDefaultDialogAction ( QskDialog::Action  action)

Definition at line 140 of file QskDialogWindow.cpp.

◆ setDialogActions()

void QskDialogWindow::setDialogActions ( QskDialog::Actions  actions)

Definition at line 53 of file QskDialogWindow.cpp.

◆ setDialogContentItem()

void QskDialogWindow::setDialogContentItem ( QQuickItem *  item)

Definition at line 96 of file QskDialogWindow.cpp.

◆ setResult()

void QskDialogWindow::setResult ( QskDialog::DialogCode  r)
protected

Definition at line 168 of file QskDialogWindow.cpp.

Property Documentation

◆ dialogActions

QskDialog::Actions QskDialogWindow::dialogActions
readwrite

Definition at line 19 of file QskDialogWindow.h.