PlasmaQuick::AppletPopup

Search for usage in LXR

#include <appletpopup.h>

Inheritance diagram for PlasmaQuick::AppletPopup:

Properties

QQuickItemappletInterface
 
bool hideOnWindowDeactivate
 
- Properties inherited from PlasmaQuick::PopupPlasmaWindow
bool animated
 
Qt::Edge effectivePopupDirection
 
bool floating
 
int margin
 
Qt::Edge popupDirection
 
RemoveBorders removeBorderStrategy
 
QQuickItemvisualParent
 

Signals

void appletInterfaceChanged ()
 
void hideOnWindowDeactivateChanged ()
 
- Signals inherited from PlasmaQuick::PopupPlasmaWindow
void animatedChanged ()
 
void effectivePopupDirectionChanged ()
 
void floatingChanged ()
 
void marginChanged ()
 
void nearbyBordersChanged ()
 
void popupDirectionChanged ()
 
void removeBorderStrategyChanged ()
 
void visualParentChanged ()
 

Public Member Functions

QQuickItemappletInterface () const
 
bool hideOnWindowDeactivate () const
 
void setAppletInterface (QQuickItem *appletInterface)
 
void setHideOnWindowDeactivate (bool hideOnWindowDeactivate)
 
- Public Member Functions inherited from PlasmaQuick::PopupPlasmaWindow
 PopupPlasmaWindow (const QString &svgPrefix=QStringLiteral("dialogs/background"))
 
bool animated () const
 
Qt::Edge effectivePopupDirection () const
 
bool event (QEvent *event) override
 
bool floating () const
 
int margin () const
 
Qt::Edges nearbyBorders () const
 
Qt::Edge popupDirection () const
 
 Q_ENUM (RemoveBorder)
 
RemoveBorders removeBorderStrategy () const
 
void setAnimated (bool animated)
 
void setFloating (bool floating)
 
void setMargin (int margin)
 
void setPopupDirection (Qt::Edge popupDirection)
 
void setRemoveBorderStrategy (RemoveBorders borders)
 
void setVisualParent (QQuickItem *parent)
 
QQuickItemvisualParent () const
 

Protected Member Functions

void focusOutEvent (QFocusEvent *event) override
 
void hideEvent (QHideEvent *event) override
 

Additional Inherited Members

- Public Types inherited from PlasmaQuick::PopupPlasmaWindow
enum  RemoveBorder { Never = 0x0 , AtScreenEdges = 0x1 , AtPanelEdges = 0x2 }
 
typedef QFlags< RemoveBorder > RemoveBorders
 
- Protected Slots inherited from PlasmaQuick::PopupPlasmaWindow
void queuePositionUpdate ()
 

Detailed Description

The AppletPopup class shows a popup for an applet either in the panel or on the desktop.

In addition to the new API this class is resizable and can forward any input events recieved on the margin to the main item

Size hints are transferred from the mainItem's size hints.

Definition at line 29 of file appletpopup.h.

Property Documentation

◆ appletInterface

QQuickItem * PlasmaQuick::AppletPopup::appletInterface
readwrite

This property holds a pointer to the AppletInterface used by.

Definition at line 35 of file appletpopup.h.

◆ hideOnWindowDeactivate

bool PlasmaQuick::AppletPopup::hideOnWindowDeactivate
readwrite

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

The default value is false.

Definition at line 42 of file appletpopup.h.

Constructor & Destructor Documentation

◆ AppletPopup()

AppletPopup::AppletPopup ( )

Definition at line 62 of file appletpopup.cpp.

◆ ~AppletPopup()

AppletPopup::~AppletPopup ( )
override

Definition at line 116 of file appletpopup.cpp.

Member Function Documentation

◆ appletInterface()

QQuickItem * AppletPopup::appletInterface ( ) const

Definition at line 120 of file appletpopup.cpp.

◆ focusOutEvent()

void AppletPopup::focusOutEvent ( QFocusEvent * event)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 178 of file appletpopup.cpp.

◆ hideEvent()

void AppletPopup::hideEvent ( QHideEvent * event)
overrideprotectedvirtual

Reimplemented from QQuickWindow.

Definition at line 163 of file appletpopup.cpp.

◆ hideOnWindowDeactivate()

bool AppletPopup::hideOnWindowDeactivate ( ) const

Definition at line 149 of file appletpopup.cpp.

◆ setAppletInterface()

void AppletPopup::setAppletInterface ( QQuickItem * appletInterface)

Definition at line 125 of file appletpopup.cpp.

◆ setHideOnWindowDeactivate()

void AppletPopup::setHideOnWindowDeactivate ( bool hideOnWindowDeactivate)

Definition at line 154 of file appletpopup.cpp.


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 Mon Nov 18 2024 12:10:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.