PlasmaCore
#include <dialog.h>

Public Types | |
| enum | WidgetAttribute { WA_X11NetWmWindowTypeDock = Qt::WA_X11NetWmWindowTypeDock } |
Signals | |
| void | activeWindowChanged () |
| void | heightChanged () |
| void | locationChanged () |
| void | mainItemChanged () |
| void | visibleChanged () |
| void | widthChanged () |
| void | xChanged () |
| void | yChanged () |
Public Member Functions | |
| DialogProxy (QDeclarativeItem *parent=0) | |
| ~DialogProxy () | |
| Q_INVOKABLE void | activateWindow () |
| int | height () const |
| bool | isActiveWindow () const |
| bool | isVisible () const |
| int | location () const |
| QGraphicsObject * | mainItem () const |
| QObject * | margins () const |
| Q_INVOKABLE QPoint | popupPosition (QGraphicsObject *item, int alignment=Qt::AlignLeft) |
| Q_INVOKABLE void | setAttribute (int attribute, bool on) |
| void | setLocation (int location) |
| void | setMainItem (QGraphicsObject *mainItem) |
| void | setVisible (const bool visible) |
| void | setWindowFlags (const int) |
| void | setX (int x) |
| void | setY (int y) |
| int | width () const |
| int | windowFlags () const |
| qulonglong | windowId () const |
| int | x () const |
| int | y () const |
Protected Slots | |
| void | syncMainItem () |
Protected Member Functions | |
| bool | eventFilter (QObject *watched, QEvent *event) |
Properties | |
| bool | activeWindow |
| int | height |
| int | location |
| QGraphicsObject | mainItem |
| QObject | margins |
| bool | visible |
| int | width |
| int | windowFlags |
| qulonglong | windowId |
| int | x |
| int | y |
Detailed Description
QML wrapper for kdelibs Plasma::Dialog.
Exposed as Dialog in QML.
Member Enumeration Documentation
Constructor & Destructor Documentation
| DialogProxy::DialogProxy | ( | QDeclarativeItem * | parent = 0 | ) |
Definition at line 92 of file dialog.cpp.
| DialogProxy::~DialogProxy | ( | ) |
Definition at line 104 of file dialog.cpp.
Member Function Documentation
| void DialogProxy::activateWindow | ( | ) |
Ask the window manager to activate the window.
The window manager may or may not accept the activiation request
Definition at line 357 of file dialog.cpp.
|
signal |
|
protected |
Definition at line 400 of file dialog.cpp.
| int DialogProxy::height | ( | ) | const |
|
signal |
| bool DialogProxy::isActiveWindow | ( | ) | const |
Definition at line 352 of file dialog.cpp.
| bool DialogProxy::isVisible | ( | ) | const |
Definition at line 195 of file dialog.cpp.
| int DialogProxy::location | ( | ) | const |
|
signal |
| QGraphicsObject* DialogProxy::mainItem | ( | ) | const |
|
signal |
| QObject* DialogProxy::margins | ( | ) | const |
| QPoint DialogProxy::popupPosition | ( | QGraphicsObject * | item, |
| int | alignment = Qt::AlignLeft |
||
| ) |
- Returns
- The suggested screen position for the popup
- item the item the popup has to be positioned relatively to. if null, the popup will be positioned in the center of the window
- alignment alignment of the popup compared to the item
Definition at line 222 of file dialog.cpp.
| void DialogProxy::setAttribute | ( | int | attribute, |
| bool | on | ||
| ) |
Set a Qt.WidgetAttribute to the dialog window.
- int attribute see Qt.WidgetAttribute
- bool on activate or deactivate the atrtibute
Definition at line 442 of file dialog.cpp.
| void DialogProxy::setLocation | ( | int | location | ) |
Definition at line 385 of file dialog.cpp.
| void DialogProxy::setMainItem | ( | QGraphicsObject * | mainItem | ) |
Definition at line 115 of file dialog.cpp.
| void DialogProxy::setVisible | ( | const bool | visible | ) |
Definition at line 200 of file dialog.cpp.
| void DialogProxy::setWindowFlags | ( | const int | flags | ) |
Definition at line 374 of file dialog.cpp.
| void DialogProxy::setX | ( | int | x | ) |
Definition at line 327 of file dialog.cpp.
| void DialogProxy::setY | ( | int | y | ) |
Definition at line 337 of file dialog.cpp.
|
protectedslot |
Definition at line 135 of file dialog.cpp.
|
signal |
| int DialogProxy::width | ( | ) | const |
|
signal |
| int DialogProxy::windowFlags | ( | ) | const |
| qulonglong DialogProxy::windowId | ( | ) | const |
| int DialogProxy::x | ( | ) | const |
|
signal |
| int DialogProxy::y | ( | ) | const |
|
signal |
Property Documentation
|
read |
|
read |
|
readwrite |
|
readwrite |
|
read |
Margins of the dialog around the mainItem.
- See also
- DialogMargins
|
readwrite |
|
read |
|
readwrite |
|
read |
|
readwrite |
|
readwrite |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference