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

Detailed Description

Definition at line 11 of file QskSelectionWindow.h.

Inheritance diagram for QskSelectionWindow:

Properties

QStringList entries
 
int selectedRow
 
- Properties inherited from QskDialogWindow
QskDialog::Actions dialogActions
 
- Properties inherited from QskWindow
bool deleteOnClose
 
bool autoLayoutChildren
 
QLocale locale
 

Public Member Functions

 QskSelectionWindow (QWindow *parent=nullptr)
 
Q_INVOKABLE QStringList entries () const
 
Q_INVOKABLE int selectedRow () const
 
Q_INVOKABLE QString selectedEntry () 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 setEntries (const QStringList &)
 
void setSelectedRow (int row)
 
- 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 selectedRowChanged (int)
 
void selectedEntryChanged (const QString &)
 
void entriesChanged ()
 
- 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

◆ QskSelectionWindow()

QskSelectionWindow::QskSelectionWindow ( QWindow *  parent = nullptr)

Definition at line 46 of file QskSelectionWindow.cpp.

◆ ~QskSelectionWindow()

QskSelectionWindow::~QskSelectionWindow ( )
override

Definition at line 61 of file QskSelectionWindow.cpp.

Member Function Documentation

◆ entries()

QStringList QskSelectionWindow::entries ( ) const

Definition at line 71 of file QskSelectionWindow.cpp.

◆ selectedEntry()

QString QskSelectionWindow::selectedEntry ( ) const

Definition at line 93 of file QskSelectionWindow.cpp.

◆ selectedRow()

int QskSelectionWindow::selectedRow ( ) const

Definition at line 85 of file QskSelectionWindow.cpp.

◆ setEntries

void QskSelectionWindow::setEntries ( const QStringList &  entries)
slot

Definition at line 65 of file QskSelectionWindow.cpp.

◆ setSelectedRow

void QskSelectionWindow::setSelectedRow ( int  row)
slot

Definition at line 79 of file QskSelectionWindow.cpp.

Property Documentation

◆ entries

QStringList QskSelectionWindow::entries
readwrite

Definition at line 15 of file QskSelectionWindow.h.

◆ selectedRow

int QskSelectionWindow::selectedRow
readwrite

Definition at line 18 of file QskSelectionWindow.h.