|
| Dialog (QQuickItem *parent=nullptr) |
|
QQuickItem * | appletInterface () const |
|
BackgroundHints | backgroundHints () const |
|
int | floating () const |
|
bool | hideOnWindowDeactivate () const |
|
QObject * | inset () const |
|
bool | isOutputOnly () const |
|
bool | isVisible () const |
|
Plasma::Types::Location | location () const |
|
QQuickItem * | mainItem () const |
|
QObject * | margins () const |
|
virtual QPoint | popupPosition (QQuickItem *item, const QSize &size) |
|
void | setAppletInterface (QQuickItem *appletInterface) |
|
void | setBackgroundHints (BackgroundHints hints) |
|
void | setFloating (int floating) |
|
void | setFramelessFlags (Qt::WindowFlags flags) |
|
void | setHideOnWindowDeactivate (bool hide) |
|
void | setLocation (Plasma::Types::Location location) |
|
void | setMainItem (QQuickItem *mainItem) |
|
void | setOutputOnly (bool outputOnly) |
|
void | setType (WindowType type) |
|
void | setVisible (bool visible) |
|
void | setVisualParent (QQuickItem *visualParent) |
|
WindowType | type () const |
|
QQuickItem * | visualParent () const |
|
| QQuickWindow (QQuickRenderControl *control) |
|
| QQuickWindow (QWindow *parent) |
|
virtual QAccessibleInterface * | accessibleRoot () const const override |
|
QQuickItem * | activeFocusItem () const const |
|
void | activeFocusItemChanged () |
|
void | afterAnimating () |
|
void | afterFrameEnd () |
|
void | afterRendering () |
|
void | afterRenderPassRecording () |
|
void | afterSynchronizing () |
|
void | beforeFrameBegin () |
|
void | beforeRendering () |
|
void | beforeRenderPassRecording () |
|
void | beforeSynchronizing () |
|
void | beginExternalCommands () |
|
QColor | color () const const |
|
void | colorChanged (const QColor &) |
|
QQuickItem * | contentItem () const const |
|
QSGImageNode * | createImageNode () const const |
|
QSGNinePatchNode * | createNinePatchNode () const const |
|
QSGRectangleNode * | createRectangleNode () const const |
|
QSGTexture * | createTextureFromImage (const QImage &image) const const |
|
QSGTexture * | createTextureFromImage (const QImage &image, CreateTextureOptions options) const const |
|
QSGTexture * | createTextureFromRhiTexture (QRhiTexture *texture, CreateTextureOptions options) const const |
|
qreal | effectiveDevicePixelRatio () const const |
|
void | endExternalCommands () |
|
void | frameSwapped () |
|
QImage | grabWindow () |
|
QQuickGraphicsConfiguration | graphicsConfiguration () const const |
|
QQuickGraphicsDevice | graphicsDevice () const const |
|
const GraphicsStateInfo & | graphicsStateInfo () |
|
QQmlIncubationController * | incubationController () const const |
|
bool | isPersistentGraphics () const const |
|
bool | isPersistentSceneGraph () const const |
|
bool | isSceneGraphInitialized () const const |
|
QQuickItem * | mouseGrabberItem () const const |
|
void | releaseResources () |
|
QSGRendererInterface * | rendererInterface () const const |
|
QQuickRenderTarget | renderTarget () const const |
|
QRhi * | rhi () const const |
|
void | sceneGraphAboutToStop () |
|
void | sceneGraphError (QQuickWindow::SceneGraphError error, const QString &message) |
|
void | sceneGraphInitialized () |
|
void | sceneGraphInvalidated () |
|
void | scheduleRenderJob (QRunnable *job, RenderStage stage) |
|
void | setColor (const QColor &color) |
|
void | setGraphicsConfiguration (const QQuickGraphicsConfiguration &config) |
|
void | setGraphicsDevice (const QQuickGraphicsDevice &device) |
|
void | setPersistentGraphics (bool persistent) |
|
void | setPersistentSceneGraph (bool persistent) |
|
void | setRenderTarget (const QQuickRenderTarget &target) |
|
QRhiSwapChain * | swapChain () const const |
|
void | update () |
|
| QWindow (QScreen *targetScreen) |
|
| QWindow (QWindow *parent) |
|
void | activeChanged () |
|
void | alert (int msec) |
|
QSize | baseSize () const const |
|
bool | close () |
|
Qt::ScreenOrientation | contentOrientation () const const |
|
void | contentOrientationChanged (Qt::ScreenOrientation orientation) |
|
void | create () |
|
QCursor | cursor () const const |
|
void | destroy () |
|
qreal | devicePixelRatio () const const |
|
QString | filePath () const const |
|
Qt::WindowFlags | flags () const const |
|
virtual QObject * | focusObject () const const |
|
void | focusObjectChanged (QObject *object) |
|
virtual QSurfaceFormat | format () const const override |
|
QRect | frameGeometry () const const |
|
QMargins | frameMargins () const const |
|
QPoint | framePosition () const const |
|
QRect | geometry () const const |
|
int | height () const const |
|
void | heightChanged (int arg) |
|
void | hide () |
|
QIcon | icon () const const |
|
bool | isActive () const const |
|
bool | isAncestorOf (const QWindow *child, AncestorMode mode) const const |
|
bool | isExposed () const const |
|
bool | isModal () const const |
|
bool | isTopLevel () const const |
|
bool | isVisible () const const |
|
void | lower () |
|
QPoint | mapFromGlobal (const QPoint &pos) const const |
|
QPointF | mapFromGlobal (const QPointF &pos) const const |
|
QPoint | mapToGlobal (const QPoint &pos) const const |
|
QPointF | mapToGlobal (const QPointF &pos) const const |
|
QRegion | mask () const const |
|
int | maximumHeight () const const |
|
void | maximumHeightChanged (int arg) |
|
QSize | maximumSize () const const |
|
int | maximumWidth () const const |
|
void | maximumWidthChanged (int arg) |
|
int | minimumHeight () const const |
|
void | minimumHeightChanged (int arg) |
|
QSize | minimumSize () const const |
|
int | minimumWidth () const const |
|
void | minimumWidthChanged (int arg) |
|
Qt::WindowModality | modality () const const |
|
void | modalityChanged (Qt::WindowModality modality) |
|
qreal | opacity () const const |
|
void | opacityChanged (qreal opacity) |
|
QWindow * | parent (AncestorMode mode) const const |
|
QPoint | position () const const |
|
void | raise () |
|
void | reportContentOrientationChange (Qt::ScreenOrientation orientation) |
|
void | requestActivate () |
|
QSurfaceFormat | requestedFormat () const const |
|
void | requestUpdate () |
|
void | resize (const QSize &newSize) |
|
void | resize (int w, int h) |
|
QScreen * | screen () const const |
|
void | screenChanged (QScreen *screen) |
|
void | setBaseSize (const QSize &size) |
|
void | setCursor (const QCursor &cursor) |
|
void | setFilePath (const QString &filePath) |
|
void | setFlag (Qt::WindowType flag, bool on) |
|
void | setFlags (Qt::WindowFlags flags) |
|
void | setFormat (const QSurfaceFormat &format) |
|
void | setFramePosition (const QPoint &point) |
|
void | setGeometry (const QRect &rect) |
|
void | setGeometry (int posx, int posy, int w, int h) |
|
void | setHeight (int arg) |
|
void | setIcon (const QIcon &icon) |
|
bool | setKeyboardGrabEnabled (bool grab) |
|
void | setMask (const QRegion ®ion) |
|
void | setMaximumHeight (int h) |
|
void | setMaximumSize (const QSize &size) |
|
void | setMaximumWidth (int w) |
|
void | setMinimumHeight (int h) |
|
void | setMinimumSize (const QSize &size) |
|
void | setMinimumWidth (int w) |
|
void | setModality (Qt::WindowModality modality) |
|
bool | setMouseGrabEnabled (bool grab) |
|
void | setOpacity (qreal level) |
|
void | setParent (QWindow *parent) |
|
void | setPosition (const QPoint &pt) |
|
void | setPosition (int posx, int posy) |
|
void | setScreen (QScreen *newScreen) |
|
void | setSizeIncrement (const QSize &size) |
|
void | setSurfaceType (SurfaceType surfaceType) |
|
void | setTitle (const QString &) |
|
void | setTransientParent (QWindow *parent) |
|
void | setVisibility (Visibility v) |
|
void | setVisible (bool visible) |
|
void | setVulkanInstance (QVulkanInstance *instance) |
|
void | setWidth (int arg) |
|
void | setWindowState (Qt::WindowState state) |
|
void | setWindowStates (Qt::WindowStates state) |
|
void | setX (int arg) |
|
void | setY (int arg) |
|
void | show () |
|
void | showFullScreen () |
|
void | showMaximized () |
|
void | showMinimized () |
|
void | showNormal () |
|
virtual QSize | size () const const override |
|
QSize | sizeIncrement () const const |
|
bool | startSystemMove () |
|
bool | startSystemResize (Qt::Edges edges) |
|
virtual SurfaceType | surfaceType () const const override |
|
QString | title () const const |
|
QWindow * | transientParent () const const |
|
void | transientParentChanged (QWindow *transientParent) |
|
Qt::WindowType | type () const const |
|
void | unsetCursor () |
|
Visibility | visibility () const const |
|
void | visibilityChanged (QWindow::Visibility visibility) |
|
void | visibleChanged (bool arg) |
|
QVulkanInstance * | vulkanInstance () const const |
|
int | width () const const |
|
void | widthChanged (int arg) |
|
Qt::WindowState | windowState () const const |
|
void | windowStateChanged (Qt::WindowState windowState) |
|
Qt::WindowStates | windowStates () const const |
|
void | windowTitleChanged (const QString &title) |
|
WId | winId () const const |
|
int | x () const const |
|
void | xChanged (int arg) |
|
int | y () const const |
|
void | yChanged (int arg) |
|
| QObject (QObject *parent) |
|
QBindable< QString > | bindableObjectName () |
|
bool | blockSignals (bool block) |
|
const QObjectList & | children () const const |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
|
bool | disconnect (const QObject *receiver, const char *method) const const |
|
void | dumpObjectInfo () const const |
|
void | dumpObjectTree () const const |
|
QList< QByteArray > | dynamicPropertyNames () const const |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (Qt::FindChildOptions options) const const |
|
bool | inherits (const char *className) const const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isQuickItemType () const const |
|
bool | isWidgetType () const const |
|
bool | isWindowType () const const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const const |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const const |
|
QVariant | property (const char *name) const const |
|
| Q_CLASSINFO (Name, Value) |
|
| Q_EMIT Q_EMIT |
|
| Q_ENUM (...) |
|
| Q_ENUM_NS (...) |
|
| Q_ENUMS (...) |
|
| Q_FLAG (...) |
|
| Q_FLAG_NS (...) |
|
| Q_FLAGS (...) |
|
| Q_GADGET Q_GADGET |
|
| Q_GADGET_EXPORT (EXPORT_MACRO) |
|
| Q_INTERFACES (...) |
|
| Q_INVOKABLE Q_INVOKABLE |
|
| Q_MOC_INCLUDE Q_MOC_INCLUDE |
|
| Q_NAMESPACE Q_NAMESPACE |
|
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) |
|
| Q_OBJECT Q_OBJECT |
|
| Q_PROPERTY (...) |
|
| Q_REVISION Q_REVISION |
|
| Q_SET_OBJECT_NAME (Object) |
|
| Q_SIGNAL Q_SIGNAL |
|
| Q_SIGNALS Q_SIGNALS |
|
| Q_SLOT Q_SLOT |
|
| Q_SLOTS Q_SLOTS |
|
T | qobject_cast (const QObject *object) |
|
T | qobject_cast (QObject *object) |
|
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setObjectName (QAnyStringView name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | setProperty (const char *name, QVariant &&value) |
|
bool | signalsBlocked () const const |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
|
QThread * | thread () const const |
|
bool | supportsOpenGL () const const |
|
SurfaceClass | surfaceClass () const const |
|
virtual QPlatformSurface * | surfaceHandle () const const=0 |
|
Dialog creates a Plasma themed top level window that can contain any QML component.
It can be automatically positioned relative to a visual parent The dialog will resize to the size of the main item
import QtQuick 2.0
import org.kde.plasma.core as PlasmaCore
Item {
PlasmaCore.Dialog {
visible: true
mainItem: Item {
width: 500
height: 500
Text {
anchors.centerIn: parent
color: "red"
text: "text"
}
}
}
}
Import Statement
import org.kde.plasma.core
- Version
- 2.0
Definition at line 71 of file dialog.h.