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

Used with the NDEVR API Widget Docking system for widgets that are floating. These widgets appear as windows within the application, though they are still managed by a ContainerWidget. More...

#include <FloatingWidget.h>

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

Public Member Functions

SectionContentcontent () const
 
 FloatingWidget (ContainerWidgetBase *container, SectionContent *data, bool is_fullscreen, bool request_margins, QWidget *parent=nullptr)
 
QPoint getDragLocation () const
 
bool isDockedFullscreen () const
 
void setContent (SectionContent *data)
 
void setDockedFullscreen (bool is_fullscreen)
 
void setRibbonArea (RibbonArea drop_area)
 
void setRoundedCorners (int radius)
 
virtual QSize sizeHint () const override
 
bool takeContent (SectionContent *data)
 
SectionTabtitleWidget ()
 
virtual ~FloatingWidget ()
 

Protected Member Functions

virtual bool event (QEvent *event) override
 
virtual void hideEvent (QHideEvent *event) override
 
bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result) override
 
virtual void paintEvent (QPaintEvent *e) override
 
virtual void showEvent (QShowEvent *event) override
 

Friends

class ContainerWidgetBase
 

Detailed Description

Used with the NDEVR API Widget Docking system for widgets that are floating. These widgets appear as windows within the application, though they are still managed by a ContainerWidget.


Constructor & Destructor Documentation

◆ FloatingWidget()

FloatingWidget ( ContainerWidgetBase * container,
SectionContent * data,
bool is_fullscreen,
bool request_margins,
QWidget * parent = nullptr )

◆ ~FloatingWidget()

virtual ~FloatingWidget ( )
virtual

Member Function Documentation

◆ content()

SectionContent * content ( ) const
inline

◆ event()

virtual bool event ( QEvent * event)
overrideprotectedvirtual

◆ getDragLocation()

QPoint getDragLocation ( ) const

◆ hideEvent()

virtual void hideEvent ( QHideEvent * event)
overrideprotectedvirtual

◆ isDockedFullscreen()

bool isDockedFullscreen ( ) const

◆ nativeEvent()

bool nativeEvent ( const QByteArray & eventType,
void * message,
qintptr * result )
overrideprotected

◆ paintEvent()

virtual void paintEvent ( QPaintEvent * e)
overrideprotectedvirtual

◆ setContent()

void setContent ( SectionContent * data)

◆ setDockedFullscreen()

void setDockedFullscreen ( bool is_fullscreen)

◆ setRibbonArea()

void setRibbonArea ( RibbonArea drop_area)

◆ setRoundedCorners()

void setRoundedCorners ( int radius)

◆ showEvent()

virtual void showEvent ( QShowEvent * event)
overrideprotectedvirtual

◆ sizeHint()

virtual QSize sizeHint ( ) const
overridevirtual

◆ takeContent()

bool takeContent ( SectionContent * data)

◆ titleWidget()

SectionTab * titleWidget ( )
inline

Friends And Related Symbol Documentation

◆ ContainerWidgetBase

friend class ContainerWidgetBase
friend

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