DockContextHandler Class Reference

Public Member Functions

 DockContextHandler (QWidget *widget, const QString &name)
 
virtual ~DockContextHandler ()
 
QString getName () const
 
QWidget * getParentWindow () const
 
virtual void notifyFontChanged ()
 
virtual void notifyOffsetChanged (uint64_t)
 
virtual void notifyThemeChanged ()
 
virtual void notifyViewChanged (ViewFrame *)
 
virtual void notifyViewLocationChanged (View *, const ViewLocation &)
 
virtual void notifyVisibilityChanged (bool)
 
virtual bool shouldBeVisible (ViewFrame *)
 

Protected Attributes

QString m_name
 
UIActionHandler m_actionHandler
 
ContextMenuManagerm_contextMenuManager = nullptr
 
Menum_menu = nullptr
 
QWidget * m_parentWindow
 

Constructor & Destructor Documentation

◆ DockContextHandler()

DockContextHandler::DockContextHandler ( QWidget *  widget,
const QString &  name 
)

◆ ~DockContextHandler()

virtual DockContextHandler::~DockContextHandler ( )
virtual

Member Function Documentation

◆ getName()

QString DockContextHandler::getName ( ) const
inline

◆ getParentWindow()

QWidget * DockContextHandler::getParentWindow ( ) const
inline

◆ notifyFontChanged()

virtual void DockContextHandler::notifyFontChanged ( )
inlinevirtual

◆ notifyOffsetChanged()

virtual void DockContextHandler::notifyOffsetChanged ( uint64_t  )
inlinevirtual

◆ notifyThemeChanged()

virtual void DockContextHandler::notifyThemeChanged ( )
inlinevirtual

◆ notifyViewChanged()

virtual void DockContextHandler::notifyViewChanged ( ViewFrame )
inlinevirtual

◆ notifyViewLocationChanged()

virtual void DockContextHandler::notifyViewLocationChanged ( View ,
const ViewLocation  
)
inlinevirtual

◆ notifyVisibilityChanged()

virtual void DockContextHandler::notifyVisibilityChanged ( bool  )
inlinevirtual

◆ shouldBeVisible()

virtual bool DockContextHandler::shouldBeVisible ( ViewFrame )
inlinevirtual

Member Data Documentation

◆ m_actionHandler

UIActionHandler DockContextHandler::m_actionHandler
protected

◆ m_contextMenuManager

ContextMenuManager* DockContextHandler::m_contextMenuManager = nullptr
protected

◆ m_menu

Menu* DockContextHandler::m_menu = nullptr
protected

◆ m_name

QString DockContextHandler::m_name
protected

◆ m_parentWindow

QWidget* DockContextHandler::m_parentWindow
protected

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