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

PlasmaComponents

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

Signals

void buttonClicked (int index)
 
- Signals inherited from Dialog
void accepted ()
 
void clickedOutside ()
 
void rejected ()
 

Properties

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

- Public Member Functions inherited from Dialog
void accept ()
 
void close ()
 
void open ()
 
void reject ()
 

Detailed Description

CommonDialog is a convenience component that provides a dialog with the platform-style title area.

Since
0.1 You only have to define titleText. CommonDialog handles its layout automatically.

Note: This component is experimental, so it may be changed or removed in future releases.

Definition at line 53 of file CommonDialog.qml.

Member Function Documentation

void CommonDialog::buttonClicked ( int  index)
signal

Emitted when the use clicks on a button.

Parameters
type:intindex the index of the clicked button: buttonTexts[index] will hold the text of the clicked button.

Property Documentation

variant CommonDialog::buttonTexts

the texts of all the buttons

Definition at line 60 of file CommonDialog.qml.

string CommonDialog::titleIcon

the name or path of the dialog title icon

Definition at line 58 of file CommonDialog.qml.

string CommonDialog::titleText

the title of the dialog

Definition at line 56 of file CommonDialog.qml.


The documentation for this class was generated from the following file:
  • CommonDialog.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