API Documentation
Loading...
Searching...
No Matches
PopupManager Class Reference

Responsible for displaying widgets that want to be in their own window. More...

#include <PopupManager.h>

Inheritance diagram for PopupManager:
[legend]
Collaboration diagram for PopupManager:
[legend]

Public Member Functions

virtual ContainerWidgetBasecontainer () const
 Returns the primary container widget for adding new docks.
 
virtual DropArea defaultDropArea (const QCustomDockWidget *) const
 
virtual SectionWidgetdefaultDropReference (const QCustomDockWidget *) const
 
virtual RibbonArea defaultRibbonArea (const QCustomDockWidget *)
 
virtual void hideWidget (QWidget *widget, const PopupInfo &popup_origin)
 
 PopupManager ()
 
void setupAsPopupHandler ()
 
virtual bool showWidget (QWidget *widget, PopupInfo popup_origin, PopupInfo popup_end)
 

Protected Attributes

Dictionary< QObject *, QPointer< QCustomDockWidget > > m_docks
 
PopupWidget * m_popup_widget = nullptr
 

Detailed Description

Responsible for displaying widgets that want to be in their own window.


autotoc_md944

Constructor & Destructor Documentation

◆ PopupManager()

Member Function Documentation

◆ container()

virtual ContainerWidgetBase * container ( ) const
inlinevirtual

Returns the primary container widget for adding new docks.


autotoc_md945

Returns
The primary container widget, as defined by the application

◆ defaultDropArea()

virtual DropArea defaultDropArea ( const QCustomDockWidget * ) const
inlinevirtual

Reimplemented in WindowManager.

◆ defaultDropReference()

virtual SectionWidget * defaultDropReference ( const QCustomDockWidget * ) const
inlinevirtual

Reimplemented in WindowManager.

◆ defaultRibbonArea()

virtual RibbonArea defaultRibbonArea ( const QCustomDockWidget * )
inlinevirtual

◆ hideWidget()

virtual void hideWidget ( QWidget * widget,
const PopupInfo & popup_origin )
virtual

◆ setupAsPopupHandler()

void setupAsPopupHandler ( )

◆ showWidget()

virtual bool showWidget ( QWidget * widget,
PopupInfo popup_origin,
PopupInfo popup_end )
virtual

Member Data Documentation

◆ m_docks

Dictionary<QObject*, QPointer<QCustomDockWidget> > m_docks
protected

◆ m_popup_widget

PopupWidget* m_popup_widget = nullptr
protected

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