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

#include <SectionContent.h>

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

Public Member Functions

 SectionContent (ContainerWidgetBase *container, SectionTab *title, QWidget *content, RibbonArea prefered_ribbon_area)
 
 SectionContent (ContainerWidgetBase *container, SectionTab *title, const std::function< void(SectionContent *)> &function, RibbonArea prefered_ribbon_area)
 
virtual ~SectionContent ()
 
void onCheckedClick () override
 
void setContainer (ContainerWidgetBase *container)
 
void setSectionWidget (SectionWidget *widget)
 
void setFloatingWidget (FloatingWidget *widget)
 
const TranslatedStringtitle () const
 
void setTitle (const TranslatedString &title)
 
SectionWidgetsectionWidget () const
 
FloatingWidgetfloatingWidget () const
 
UUID uid () const
 
ContainerWidgetBasecontainerWidget () const
 
SectionTabsectionTab () const
 
QWidget * contentWidget () const
 
void setContentWidget (QWidget *widget)
 
RibbonArea preferredRibbonArea () const
 
void setPreferredRibbonArea (RibbonArea area)
 
const std::function< void(SectionContent *)> & specialCallback ()
 
bool hasSpecialCallback () const
 
void setSpecialCallback (const std::function< void(SectionContent *)> &callback)
 
void runSpecialCallback ()
 
void setAllowHide (bool allow_hide)
 
bool allowHide () const
 
void setAllowAutoHideTitle (bool allow_hide)
 
bool allowAutoHideTitle () const
 
void retranslate ()
 
- Public Member Functions inherited from ButtonDialog
virtual ~ButtonDialog ()
 
virtual void addButton (Button *button)
 
virtual void removeButton (Button *button)
 
virtual void setButtonsChecked (bool check)
 
PopupInfo buttonDialogBestPopupInfo () const
 

Friends

class ContainerWidgetBase
 

Additional Inherited Members

- Protected Attributes inherited from ButtonDialog
bool m_should_be_checked = false
 
QPointer< Buttonm_last_pressed
 
Buffer< QPointer< Button > > m_buttons
 

Constructor & Destructor Documentation

◆ SectionContent() [1/2]

SectionContent ( ContainerWidgetBase * container,
SectionTab * title,
QWidget * content,
RibbonArea prefered_ribbon_area )

◆ SectionContent() [2/2]

SectionContent ( ContainerWidgetBase * container,
SectionTab * title,
const std::function< void(SectionContent *)> & function,
RibbonArea prefered_ribbon_area )

◆ ~SectionContent()

~SectionContent ( )
virtual

Member Function Documentation

◆ allowAutoHideTitle()

bool allowAutoHideTitle ( ) const
inline

◆ allowHide()

bool allowHide ( ) const
inline

◆ containerWidget()

ContainerWidgetBase * containerWidget ( ) const

◆ contentWidget()

QWidget * contentWidget ( ) const

◆ floatingWidget()

FloatingWidget * floatingWidget ( ) const
inline

◆ hasSpecialCallback()

bool hasSpecialCallback ( ) const
inline

◆ onCheckedClick()

void onCheckedClick ( )
overridevirtual

Reimplemented from ButtonDialog.

◆ preferredRibbonArea()

RibbonArea preferredRibbonArea ( ) const
inline

◆ retranslate()

void retranslate ( )

◆ runSpecialCallback()

void runSpecialCallback ( )
inline

◆ sectionTab()

SectionTab * sectionTab ( ) const

◆ sectionWidget()

SectionWidget * sectionWidget ( ) const
inline

◆ setAllowAutoHideTitle()

void setAllowAutoHideTitle ( bool allow_hide)
inline

◆ setAllowHide()

void setAllowHide ( bool allow_hide)
inline

◆ setContainer()

void setContainer ( ContainerWidgetBase * container)

◆ setContentWidget()

void setContentWidget ( QWidget * widget)

◆ setFloatingWidget()

void setFloatingWidget ( FloatingWidget * widget)

◆ setPreferredRibbonArea()

void setPreferredRibbonArea ( RibbonArea area)

◆ setSectionWidget()

void setSectionWidget ( SectionWidget * widget)

◆ setSpecialCallback()

void setSpecialCallback ( const std::function< void(SectionContent *)> & callback)
inline

◆ setTitle()

void setTitle ( const TranslatedString & title)
inline

◆ specialCallback()

const std::function< void(SectionContent *)> & specialCallback ( )
inline

◆ title()

const TranslatedString & title ( ) const
inline

◆ uid()

UUID uid ( ) const

Friends And Related Symbol Documentation

◆ ContainerWidgetBase

friend class ContainerWidgetBase
friend

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