PlasmaQuick::Dialog

Search for usage in LXR

#include <dialog.h>

Inheritance diagram for PlasmaQuick::Dialog:

Public Types

enum  BackgroundHints { NoBackground = 0 , StandardBackground = 1 , SolidBackground = 2 }
 
enum  WindowType {
  Normal = NET::Normal , Dock = NET::Dock , DialogWindow = NET::Dialog , PopupMenu = NET::PopupMenu ,
  Tooltip = NET::Tooltip , Notification = NET::Notification , OnScreenDisplay = NET::OnScreenDisplay , CriticalNotification = NET::CriticalNotification ,
  AppletPopup = NET::AppletPopup
}
 
- Public Types inherited from QQuickWindow
enum  CreateTextureOption
 
typedef  CreateTextureOptions
 
enum  RenderStage
 
enum  SceneGraphError
 
enum  TextRenderType
 
- Public Types inherited from QWindow
enum  AncestorMode
 
enum  Visibility
 
- Public Types inherited from QObject
typedef  QObjectList
 
- Public Types inherited from QSurface
enum  SurfaceClass
 
enum  SurfaceType
 

Properties

QQuickItemappletInterface
 
BackgroundHints backgroundHints
 
Qt::WindowFlags flags
 
int floating
 
bool hideOnWindowDeactivate
 
QObjectinset
 
Plasma::Types::Location location
 
QQuickItemmainItem
 
QObjectmargins
 
bool outputOnly
 
WindowType type
 
bool visible
 
QQuickItemvisualParent
 
- Properties inherited from QQuickWindow
 activeFocusItem
 
 color
 
 contentItem
 
 transientParent
 
- Properties inherited from QWindow
 active
 
 contentOrientation
 
 flags
 
 height
 
 maximumHeight
 
 maximumWidth
 
 minimumHeight
 
 minimumWidth
 
 modality
 
 opacity
 
 title
 
 transientParent
 
 visibility
 
 visible
 
 width
 
 x
 
 y
 
- Properties inherited from QObject
 objectName
 

Signals

void appletInterfaceChanged ()
 
void backgroundHintsChanged ()
 
void flagsChanged ()
 
void floatingChanged ()
 
void hideOnWindowDeactivateChanged ()
 
void locationChanged ()
 
void mainItemChanged ()
 
void outputOnlyChanged ()
 
void typeChanged ()
 
void visibleChangedProxy ()
 
void visualParentChanged ()
 
void windowDeactivated ()
 

Public Member Functions

 Dialog (QQuickItem *parent=nullptr)
 
QQuickItemappletInterface () const
 
BackgroundHints backgroundHints () const
 
int floating () const
 
bool hideOnWindowDeactivate () const
 
QObjectinset () const
 
bool isOutputOnly () const
 
bool isVisible () const
 
Plasma::Types::Location location () const
 
QQuickItemmainItem () const
 
QObjectmargins () 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
 
QQuickItemvisualParent () const
 
- Public Member Functions inherited from QQuickWindow
 QQuickWindow (QQuickRenderControl *control)
 
 QQuickWindow (QWindow *parent)
 
virtual QAccessibleInterfaceaccessibleRoot () const const override
 
QQuickItemactiveFocusItem () 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 &)
 
QQuickItemcontentItem () const const
 
QSGImageNodecreateImageNode () const const
 
QSGNinePatchNode * createNinePatchNode () const const
 
QSGRectangleNodecreateRectangleNode () const const
 
QSGTexturecreateTextureFromImage (const QImage &image) const const
 
QSGTexturecreateTextureFromImage (const QImage &image, CreateTextureOptions options) const const
 
QSGTexturecreateTextureFromRhiTexture (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 GraphicsStateInfographicsStateInfo ()
 
QQmlIncubationControllerincubationController () const const
 
bool isPersistentGraphics () const const
 
bool isPersistentSceneGraph () const const
 
bool isSceneGraphInitialized () const const
 
QQuickItemmouseGrabberItem () const const
 
void releaseResources ()
 
QSGRendererInterfacerendererInterface () const const
 
QQuickRenderTarget renderTarget () const const
 
QRhirhi () 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)
 
QRhiSwapChainswapChain () const const
 
void update ()
 
- Public Member Functions inherited from QWindow
 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 QObjectfocusObject () 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)
 
QWindowparent (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)
 
QScreenscreen () 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 &region)
 
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
 
QWindowtransientParent () 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)
 
QVulkanInstancevulkanInstance () 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)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () 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< QByteArraydynamicPropertyNames () const const
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
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 QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () 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
 
qobject_cast (const QObject *object)
 
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)
 
QThreadthread () const const
 
- Public Member Functions inherited from QSurface
bool supportsOpenGL () const const
 
SurfaceClass surfaceClass () const const
 
virtual QPlatformSurface * surfaceHandle () const const=0
 
- Public Member Functions inherited from QQmlParserStatus

Protected Member Functions

virtual void adjustGeometry (const QRect &geom)
 
void classBegin () override
 
void componentComplete () override
 
bool event (QEvent *event) override
 
void focusInEvent (QFocusEvent *ev) override
 
void focusOutEvent (QFocusEvent *ev) override
 
void hideEvent (QHideEvent *event) override
 
void moveEvent (QMoveEvent *) override
 
void resizeEvent (QResizeEvent *re) override
 
void showEvent (QShowEvent *event) override
 
- Protected Member Functions inherited from QQuickWindow
virtual void closeEvent (QCloseEvent *e) override
 
virtual void exposeEvent (QExposeEvent *) override
 
virtual void keyPressEvent (QKeyEvent *e) override
 
virtual void keyReleaseEvent (QKeyEvent *e) override
 
virtual void mouseDoubleClickEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 
virtual void tabletEvent (QTabletEvent *event) override
 
virtual void wheelEvent (QWheelEvent *event) override
 
- Protected Member Functions inherited from QWindow
virtual bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result)
 
virtual void paintEvent (QPaintEvent *ev)
 
virtual void touchEvent (QTouchEvent *ev)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 
- Protected Member Functions inherited from QSurface
 QSurface (SurfaceClass type)
 

Additional Inherited Members

- Static Public Member Functions inherited from QQuickWindow
QSGRendererInterface::GraphicsApi graphicsApi ()
 
bool hasDefaultAlphaBuffer ()
 
QString sceneGraphBackend ()
 
void setDefaultAlphaBuffer (bool useAlpha)
 
void setGraphicsApi (QSGRendererInterface::GraphicsApi api)
 
void setSceneGraphBackend (const QString &backend)
 
void setTextRenderType (TextRenderType renderType)
 
TextRenderType textRenderType ()
 
- Static Public Member Functions inherited from QWindow
QWindowfromWinId (WId id)
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QQuickWindow
 AfterRenderingStage
 
 AfterSwapStage
 
 AfterSynchronizingStage
 
 BeforeRenderingStage
 
 BeforeSynchronizingStage
 
 ContextNotAvailable
 
 NativeTextRendering
 
 NoStage
 
 QtTextRendering
 
 TextureCanUseAtlas
 
 TextureHasAlphaChannel
 
 TextureHasMipmaps
 
 TextureIsOpaque
 
 TextureOwnsGLTexture
 
- Public Attributes inherited from QWindow
 AutomaticVisibility
 
 ExcludeTransients
 
 FullScreen
 
 Hidden
 
 IncludeTransients
 
 Maximized
 
 Minimized
 
 Windowed
 
- Public Attributes inherited from QSurface
 Direct3DSurface
 
 MetalSurface
 
 Offscreen
 
 OpenGLSurface
 
 OpenVGSurface
 
 RasterGLSurface
 
 RasterSurface
 
 VulkanSurface
 
 Window
 

Detailed Description

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.

Member Enumeration Documentation

◆ BackgroundHints

Enumerator
NoBackground 

Not drawing a background under the applet, the dialog has its own implementation.

StandardBackground 

The standard background from the theme is drawn.

SolidBackground 

The solid version of the background is preferred.

Definition at line 175 of file dialog.h.

◆ WindowType

enum PlasmaQuick::Dialog::WindowType

Definition at line 162 of file dialog.h.

Property Documentation

◆ appletInterface

QQuickItem * PlasmaQuick::Dialog::appletInterface
readwrite

This property holds a pointer to the AppletInterface used by an applet.

It is null when the dialog is not used for an applet.

Definition at line 157 of file dialog.h.

◆ backgroundHints

BackgroundHints PlasmaQuick::Dialog::backgroundHints
readwrite

This property holds how (and if at all) the dialog should draw its own background or if it is complete responsibility of the content item to render a background.

Note that in case of NoBackground it loses kwin side shadows and blur

Definition at line 141 of file dialog.h.

◆ flags

Qt::WindowFlags PlasmaQuick::Dialog::flags
readwrite

This property holds the window flags of the window.

The window flags control the window's appearance in the windowing system, whether it's a dialog, popup, or a regular window, and whether it should have a title bar, etc. Regardless to what the user sets, the flags will always have the FramelessWindowHint flag set

Definition at line 134 of file dialog.h.

◆ floating

int PlasmaQuick::Dialog::floating
readwrite

This property holds by how much the applet should be floating even if the location is set to a certain screen side; if this value is positive, the dialog will draw all four sides and maintain the required distance from the screen borders.

Definition at line 150 of file dialog.h.

◆ hideOnWindowDeactivate

bool PlasmaQuick::Dialog::hideOnWindowDeactivate
readwrite

Whether the dialog should be hidden when the dialog loses focus.

The default value is false.

Definition at line 114 of file dialog.h.

◆ inset

QObject * PlasmaQuick::Dialog::inset
read

Margins where the dialog background actually starts, excluiding things like shadows or borders.

See also
DialogMargins
Since
5.77

Definition at line 97 of file dialog.h.

◆ location

Plasma::Types::Location PlasmaQuick::Dialog::location
readwrite

Plasma Location of the dialog window.

Useful if this dialog is a popup for a panel

Definition at line 102 of file dialog.h.

◆ mainItem

QQuickItem * PlasmaQuick::Dialog::mainItem
readwrite

The main QML item that will be displayed in the Dialog.

Definition at line 79 of file dialog.h.

◆ margins

QObject * PlasmaQuick::Dialog::margins
read

Margins of the dialog around the mainItem.

See also
DialogMargins

Definition at line 90 of file dialog.h.

◆ outputOnly

bool PlasmaQuick::Dialog::outputOnly
readwrite

Whether the dialog is output only.

Default value is false. If it is true the dialog does not accept input and all pointer events are not accepted, thus the dialog is click through.

This property is currently only supported on the X11 platform. On any other platform the property has no effect.

Definition at line 124 of file dialog.h.

◆ type

WindowType PlasmaQuick::Dialog::type
readwrite

Type of the window.

Definition at line 107 of file dialog.h.

◆ visible

bool PlasmaQuick::Dialog::visible
readwrite

Definition at line 143 of file dialog.h.

◆ visualParent

QQuickItem * PlasmaQuick::Dialog::visualParent
readwrite

The main QML item that will be displayed in the Dialog.

Definition at line 84 of file dialog.h.

Constructor & Destructor Documentation

◆ Dialog()

Dialog::Dialog ( QQuickItem * parent = nullptr)
explicit

Definition at line 909 of file dialog.cpp.

◆ ~Dialog()

Dialog::~Dialog ( )
override

Definition at line 946 of file dialog.cpp.

Member Function Documentation

◆ adjustGeometry()

void Dialog::adjustGeometry ( const QRect & geom)
protectedvirtual

set the dialog position.

subclasses may change it. ToolTipDialog adjusts the position in an animated way

Definition at line 1250 of file dialog.cpp.

◆ appletInterface()

QQuickItem * Dialog::appletInterface ( ) const

Definition at line 1631 of file dialog.cpp.

◆ backgroundHints()

Dialog::BackgroundHints Dialog::backgroundHints ( ) const

Definition at line 1636 of file dialog.cpp.

◆ classBegin()

void Dialog::classBegin ( )
overrideprotectedvirtual

Implements QQmlParserStatus.

Definition at line 1542 of file dialog.cpp.

◆ componentComplete()

void Dialog::componentComplete ( )
overrideprotectedvirtual

Implements QQmlParserStatus.

Definition at line 1547 of file dialog.cpp.

◆ event()

bool Dialog::event ( QEvent * event)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 1362 of file dialog.cpp.

◆ floating()

int Dialog::floating ( ) const

Definition at line 1589 of file dialog.cpp.

◆ focusInEvent()

void Dialog::focusInEvent ( QFocusEvent * ev)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 1311 of file dialog.cpp.

◆ focusOutEvent()

void Dialog::focusOutEvent ( QFocusEvent * ev)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 1316 of file dialog.cpp.

◆ hideEvent()

void Dialog::hideEvent ( QHideEvent * event)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 1519 of file dialog.cpp.

◆ hideOnWindowDeactivate()

bool Dialog::hideOnWindowDeactivate ( ) const

Definition at line 1554 of file dialog.cpp.

◆ inset()

QObject * Dialog::inset ( ) const

Definition at line 1235 of file dialog.cpp.

◆ isOutputOnly()

bool Dialog::isOutputOnly ( ) const

Definition at line 1568 of file dialog.cpp.

◆ isVisible()

bool Dialog::isVisible ( ) const

Definition at line 1614 of file dialog.cpp.

◆ location()

Plasma::Types::Location Dialog::location ( ) const

Definition at line 1212 of file dialog.cpp.

◆ mainItem()

QQuickItem * Dialog::mainItem ( ) const

Definition at line 952 of file dialog.cpp.

◆ margins()

QObject * Dialog::margins ( ) const

Definition at line 1230 of file dialog.cpp.

◆ moveEvent()

void Dialog::moveEvent ( QMoveEvent * e)
overrideprotectedvirtual

Reimplemented from QWindow.

Definition at line 1534 of file dialog.cpp.

◆ popupPosition()

QPoint Dialog::popupPosition ( QQuickItem * item,
const QSize & size )
virtual
Returns
The suggested screen position for the popup
Parameters
itemthe item the popup has to be positioned relatively to. if null, the popup will be positioned in the center of the window
sizethe size that the popup will have, which influences the final position

Definition at line 1045 of file dialog.cpp.

◆ resizeEvent()

void Dialog::resizeEvent ( QResizeEvent * re)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 1258 of file dialog.cpp.

◆ setAppletInterface()

void Dialog::setAppletInterface ( QQuickItem * appletInterface)

Definition at line 1622 of file dialog.cpp.

◆ setBackgroundHints()

void Dialog::setBackgroundHints ( Dialog::BackgroundHints hints)

Definition at line 1641 of file dialog.cpp.

◆ setFloating()

void Dialog::setFloating ( int floating)

Definition at line 1583 of file dialog.cpp.

◆ setFramelessFlags()

void Dialog::setFramelessFlags ( Qt::WindowFlags flags)

Definition at line 1240 of file dialog.cpp.

◆ setHideOnWindowDeactivate()

void Dialog::setHideOnWindowDeactivate ( bool hide)

Definition at line 1559 of file dialog.cpp.

◆ setLocation()

void Dialog::setLocation ( Plasma::Types::Location location)

Definition at line 1217 of file dialog.cpp.

◆ setMainItem()

void Dialog::setMainItem ( QQuickItem * mainItem)

Definition at line 957 of file dialog.cpp.

◆ setOutputOnly()

void Dialog::setOutputOnly ( bool outputOnly)

Definition at line 1573 of file dialog.cpp.

◆ setType()

void Dialog::setType ( WindowType type)

Definition at line 1295 of file dialog.cpp.

◆ setVisible()

void Dialog::setVisible ( bool visible)

Definition at line 1594 of file dialog.cpp.

◆ setVisualParent()

void Dialog::setVisualParent ( QQuickItem * visualParent)

Definition at line 1027 of file dialog.cpp.

◆ showEvent()

void Dialog::showEvent ( QShowEvent * event)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 1347 of file dialog.cpp.

◆ type()

Dialog::WindowType Dialog::type ( ) const

Definition at line 1306 of file dialog.cpp.

◆ visualParent()

QQuickItem * Dialog::visualParent ( ) const

Definition at line 1022 of file dialog.cpp.

◆ windowDeactivated

void PlasmaQuick::Dialog::windowDeactivated ( )
signal

Emitted when the.

See also
hideOnWindowDeactivate property is true and this dialog lost focus to a window that is neither a parent dialog to nor a child dialog of this dialog.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.