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

Typically used for dialogs which have any number of buttons associated with it that are toggled on when the dialog is visible, and off when the widget is invisible. Each button controls the visibility of the dialog. More...

#include <ButtonDialog.h>

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

Public Member Functions

virtual void addButton (Button *button)
 
PopupInfo buttonDialogBestPopupInfo () const
 
virtual void onCheckedClick ()
 
virtual void removeButton (Button *button)
 
virtual void setButtonsChecked (bool check)
 
virtual ~ButtonDialog ()
 

Protected Attributes

Buffer< QPointer< Button > > m_buttons
 
QPointer< Buttonm_last_pressed
 
bool m_should_be_checked = false
 

Detailed Description

Typically used for dialogs which have any number of buttons associated with it that are toggled on when the dialog is visible, and off when the widget is invisible. Each button controls the visibility of the dialog.


Constructor & Destructor Documentation

◆ ~ButtonDialog()

virtual ~ButtonDialog ( )
virtual

Member Function Documentation

◆ addButton()

virtual void addButton ( Button * button)
virtual

◆ buttonDialogBestPopupInfo()

PopupInfo buttonDialogBestPopupInfo ( ) const

◆ onCheckedClick()

virtual void onCheckedClick ( )
virtual

Reimplemented in SectionContent.

◆ removeButton()

virtual void removeButton ( Button * button)
virtual

◆ setButtonsChecked()

virtual void setButtonsChecked ( bool check)
virtual

Member Data Documentation

◆ m_buttons

Buffer<QPointer<Button> > m_buttons
protected

◆ m_last_pressed

QPointer<Button> m_last_pressed
protected

◆ m_should_be_checked

bool m_should_be_checked = false
protected

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