API Documentation
|
#include <SnapsEditorWidget.h>
Public Slots | |
void | clearAll () |
void | selectAll () |
void | updateFromUI (Button *button) |
Public Member Functions | |
void | setupButton (Button *button) |
QSize | sizeHint () const override |
SnapsEditorWidget (const DynamicPointer< SnapsManager > &snap_manager, QWidget *parent=nullptr) | |
void | updateUI () |
Public Member Functions inherited from RibbonSubGroup | |
Button * | addButton (Button *button, uint04 index=Constant< uint04 >::Invalid, bool update_layout=false) |
const Buffer< Button * > & | buttons () const |
Vector< 2, int > | calcSize () const |
void | clear () |
int | currentPrimary () const |
int | currentSecondary () const |
Vector< 2, int > | estimatedSize () const |
void | init () |
int | largeButtonWidth () const |
int | marginThickness () const |
int | mediumButtonWidth () const |
QSize | minimumSizeHint () const override |
Vector< 2, int > | minSize () const |
uint04 | numOfColumns () const |
void | removeButton (Button *button) |
void | resizeEvent (QResizeEvent *resize_event) override |
RibbonSubGroup (const TranslatedString &title, QWidget *parent=nullptr) | |
RibbonSubGroup (QWidget *parent=nullptr) | |
void | setExpandingIcons (bool expanding) |
void | setFixedNumOfRows (uint01 fixed_num_of_rows) |
void | setIconSizeMultiplier (fltp04 size_multiplier) |
void | setIgnoredSize (bool ignored) |
void | setLayoutMode (RibbonLayoutMode layout_mode) |
void | setNumberOfRows (uint04 number_of_rows) |
void | setSpacing (int spacing) |
void | setTitle (const TranslatedString &title) |
void | setVertical (bool is_vertical) |
virtual void | setVisible (bool is_visible) override |
QSize | sizeHint () const override |
virtual void | sortButtons (const std::function< bool(Button *, Button *)> &sorter) |
const TranslatedString & | title () const |
void | updateRibbonLayout () |
Additional Inherited Members | |
Signals inherited from RibbonSubGroup | |
void | requestLayoutUpdate () |
Protected Attributes inherited from RibbonSubGroup | |
bool | m_auto_fill_table |
QWidget * | m_button_panel |
Buffer< Button * > | m_buttons |
Vector< 2, int > | m_estimated_size |
bool | m_expanding_icons |
uint01 | m_fixed_num_of_rows |
Vector< 2, int > | m_full_size |
fltp04 | m_icon_size_multiplier |
bool | m_ignored_size |
bool | m_is_vertical |
QCustomLabel * | m_label |
Vector< 2, int > | m_large_button_size |
int | m_last_width |
QGridLayout * | m_layout |
RibbonLayoutMode | m_layout_mode |
uint01 | m_num_of_rows |
TranslatedString | m_title |
SnapsEditorWidget | ( | const DynamicPointer< SnapsManager > & | snap_manager, |
QWidget * | parent = nullptr ) |
|
slot |
|
slot |
void setupButton | ( | Button * | button | ) |
|
override |
|
slot |
void updateUI | ( | ) |