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

Detailed Description

Definition at line 13 of file QskMessageWindow.h.

Inheritance diagram for QskMessageWindow:

Properties

QString text
 
QskTextOptions textOptions
 
- Properties inherited from QskDialogWindow
QskDialog::Actions dialogActions
 
- Properties inherited from QskWindow
bool deleteOnClose
 
bool autoLayoutChildren
 
QLocale locale
 

Public Member Functions

 QskMessageWindow (QWindow *parent=nullptr)
 
void setTextOptions (const QskTextOptions &)
 
QskTextOptions textOptions () const
 
QString text () const
 
- Public Member Functions inherited from QskDialogWindow
 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 setText (const QString &)
 
- Public Slots inherited from QskDialogWindow
void accept ()
 
void reject ()
 
virtual void done (QskDialog::DialogCode)
 
- Public Slots inherited from QskWindow
void setLocale (const QLocale &)
 
void resizeF (const QSizeF &)
 

Signals

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

Additional Inherited Members

- Public Types inherited from QskWindow
enum  EventAcceptance { EventProcessed = 0 , EventPropagationStopped = 1 }
 
- Protected Member Functions inherited from QskDialogWindow
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)
 

Constructor & Destructor Documentation

◆ QskMessageWindow()

QskMessageWindow::QskMessageWindow ( QWindow *  parent = nullptr)

Definition at line 38 of file QskMessageWindow.cpp.

◆ ~QskMessageWindow()

QskMessageWindow::~QskMessageWindow ( )
override

Definition at line 49 of file QskMessageWindow.cpp.

Member Function Documentation

◆ setText

void QskMessageWindow::setText ( const QString &  text)
slot

Definition at line 53 of file QskMessageWindow.cpp.

◆ setTextOptions()

void QskMessageWindow::setTextOptions ( const QskTextOptions options)

Definition at line 63 of file QskMessageWindow.cpp.

◆ text()

QString QskMessageWindow::text ( ) const

Definition at line 58 of file QskMessageWindow.cpp.

◆ textOptions()

QskTextOptions QskMessageWindow::textOptions ( ) const

Definition at line 68 of file QskMessageWindow.cpp.

Property Documentation

◆ text

QString QskMessageWindow::text
readwrite

Definition at line 17 of file QskMessageWindow.h.

◆ textOptions

QskTextOptions QskMessageWindow::textOptions
readwrite

Definition at line 20 of file QskMessageWindow.h.