API Documentation
|
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 <ButtonGallery.h>
Public Member Functions | |
virtual void | addButton (Button *button) |
ButtonGallery (QWidget *parent=nullptr) | |
const Buffer< Button * > & | buttons () const |
virtual void | clear () |
virtual void | removeButton (Button *button) |
void | setIconSizeMultiplier (fltp04 multiplier) |
virtual void | sortButtons () |
Sorts buttons alphabetically. | |
virtual void | sortButtons (const std::function< bool(Button *, Button *)> &sorter) |
void | updateGalleryLayout () |
Public Member Functions inherited from QCustomScrollArea | |
bool | eventFilter (QObject *, QEvent *event) override |
QCustomScrollArea (QWidget *parent=nullptr) | |
void | setUseFullScroll (bool use_full_scroll) |
void | setWidget (QWidget *w) |
QSize | sizeHint () const override |
QWidget * | takeWidget () |
bool | useFullScroll () const |
Protected Attributes | |
RibbonSubGroup * | m_gallery |
Protected Attributes inherited from QCustomScrollArea | |
bool | m_use_full_scroll = false |
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.
ButtonGallery | ( | QWidget * | parent = nullptr | ) |
|
virtual |
|
virtual |
Reimplemented in DesignObjectGallery.
|
virtual |
void setIconSizeMultiplier | ( | fltp04 | multiplier | ) |
|
virtual |
Sorts buttons alphabetically.
void updateGalleryLayout | ( | ) |
|
protected |