• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaComponents

Properties | List of all members
SelectionDialog Class Reference
Inheritance diagram for SelectionDialog:
Inheritance graph
[legend]

Properties

Component delegate
 
QtObject model
 
int selectedIndex
 
- Properties inherited from CommonDialog
variant buttonTexts
 
string titleIcon
 
string titleText
 
- Properties inherited from Dialog
list< Item > buttons
 
list< Item > content
 
alias privateButtonsHeight
 
alias privateTitleHeight
 
int status
 
list< Item > title
 
Item visualParent
 

Additional Inherited Members

- Signals inherited from CommonDialog
void buttonClicked (int index)
 
- Signals inherited from Dialog
void accepted ()
 
void clickedOutside ()
 
void rejected ()
 
- Public Member Functions inherited from Dialog
void accept ()
 
void close ()
 
void open ()
 
void reject ()
 

Detailed Description

A plasma themed SelectionDialog, which can be customized by overriding the ListView delegate.

Since
0.1

By default SelectionDialog provides a scrollable list of textual menu items. The user can choose one item from the list at a time.

Definition at line 52 of file SelectionDialog.qml.

Property Documentation

Component SelectionDialog::delegate

The delegate used to render the items.

Definition at line 70 of file SelectionDialog.qml.

QtObject SelectionDialog::model

The model of selectionDialog.

Can be a simple model or a custom QAbstractItemModel

Definition at line 60 of file SelectionDialog.qml.

int SelectionDialog::selectedIndex

Selected index.

The default value is -1.

Definition at line 66 of file SelectionDialog.qml.


The documentation for this class was generated from the following file:
  • SelectionDialog.qml
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaComponents

Skip menu "PlasmaComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal