Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorShell::PopupWindow Class Reference

#include <PhosphorShell/PopupWindow.h>

Inheritance diagram for PhosphorShell::PopupWindow:
[legend]

Public Types

enum  PopupEdge { Below , Above , LeftOf , RightOf }

Signals

void anchorChanged ()
void popupWidthChanged ()
void popupHeightChanged ()
void popupEdgeChanged ()
void gapChanged ()
void popupVisibleChanged ()

Public Member Functions

 PopupWindow (QQuickItem *parent=nullptr)
 ~PopupWindow () override
QQmlListProperty< QObject > data ()
 QML default-property accessor.
QQuickItem * anchor () const
void setAnchor (QQuickItem *anchor)
int popupWidth () const
void setPopupWidth (int width)
int popupHeight () const
void setPopupHeight (int height)
PopupEdge popupEdge () const
void setPopupEdge (PopupEdge edge)
int gap () const
void setGap (int gap)
bool isPopupVisible () const
void setPopupVisible (bool visible)
void close ()

Member Enumeration Documentation

◆ PopupEdge

Enumerator
Below 
Above 
LeftOf 
RightOf 

Constructor & Destructor Documentation

◆ PopupWindow()

PhosphorShell::PopupWindow::PopupWindow ( QQuickItem * parent = nullptr)
explicit

◆ ~PopupWindow()

PhosphorShell::PopupWindow::~PopupWindow ( )
override

Member Function Documentation

◆ anchor()

QQuickItem * PhosphorShell::PopupWindow::anchor ( ) const
nodiscard

◆ anchorChanged

void PhosphorShell::PopupWindow::anchorChanged ( )
signal

◆ close()

void PhosphorShell::PopupWindow::close ( )

◆ data()

QQmlListProperty< QObject > PhosphorShell::PopupWindow::data ( )
nodiscard

QML default-property accessor.

Forwards to m_contentItem's data property so QML children land on the persistent content holder rather than on PopupWindow itself.

◆ gap()

int PhosphorShell::PopupWindow::gap ( ) const
nodiscard

◆ gapChanged

void PhosphorShell::PopupWindow::gapChanged ( )
signal

◆ isPopupVisible()

bool PhosphorShell::PopupWindow::isPopupVisible ( ) const
nodiscard

◆ popupEdge()

PopupEdge PhosphorShell::PopupWindow::popupEdge ( ) const
nodiscard

◆ popupEdgeChanged

void PhosphorShell::PopupWindow::popupEdgeChanged ( )
signal

◆ popupHeight()

int PhosphorShell::PopupWindow::popupHeight ( ) const
nodiscard

◆ popupHeightChanged

void PhosphorShell::PopupWindow::popupHeightChanged ( )
signal

◆ popupVisibleChanged

void PhosphorShell::PopupWindow::popupVisibleChanged ( )
signal

◆ popupWidth()

int PhosphorShell::PopupWindow::popupWidth ( ) const
nodiscard

◆ popupWidthChanged

void PhosphorShell::PopupWindow::popupWidthChanged ( )
signal

◆ setAnchor()

void PhosphorShell::PopupWindow::setAnchor ( QQuickItem * anchor)

◆ setGap()

void PhosphorShell::PopupWindow::setGap ( int gap)

◆ setPopupEdge()

void PhosphorShell::PopupWindow::setPopupEdge ( PopupEdge edge)

◆ setPopupHeight()

void PhosphorShell::PopupWindow::setPopupHeight ( int height)

◆ setPopupVisible()

void PhosphorShell::PopupWindow::setPopupVisible ( bool visible)

◆ setPopupWidth()

void PhosphorShell::PopupWindow::setPopupWidth ( int width)

The documentation for this class was generated from the following file: