API Documentation
|
This is the complete list of members for Toggle, including all inherited members.
_defaultRender(QStylePainter *p, QStyleOptionToolButton *tool_button, QIcon::State state, QIcon::Mode mode, bool draw_backgound, bool is_default) | Button | protected |
_setIcon(const String &icon, bool force=false) | Button | protected |
autoWrapText(const QFontMetrics &metrics) | Button | protected |
Button(QWidget *parent=nullptr) | Button | |
Button(ButtonState state, QWidget *parent=nullptr) | Button | |
Button(const TranslatedString &name, const String &icon="", QWidget *parent=nullptr) | Button | |
Button(const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) | Button | |
Button(const TranslatedString &name, const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) | Button | |
Button(const TranslatedString &name, const String &icon, const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) | Button | |
Button(const TranslatedString &name, const String &icon, TooltipType tooltip, const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) | Button | |
ButtonState enum name | Button | |
buttonState() const | Button | inline |
clearBackgroundColor() | Button | |
copyButtonFrom(Button *button) | Button | |
e_circular enum value | Button | |
e_circular_small enum value | Button | |
e_large enum value | Button | |
e_medium enum value | Button | |
e_medium_centered enum value | Button | |
e_none enum value | Button | |
e_push_button enum value | Button | |
e_small enum value | Button | |
enterEvent(ButtonEnterEvent *e) override | Button | |
event(QEvent *e) override | Button | |
eventFilter(QObject *watched, QEvent *event) override | Button | |
iconName() const | Button | |
ignorePress() const | Button | protected |
leaveEvent(QEvent *e) override | Button | |
m_alignment | Button | protected |
m_background_opacity | Button | protected |
m_checked_icon | Button | protected |
m_click_cooldown | Button | protected |
m_current_icon | Button | protected |
m_dialog | Button | protected |
m_disabled_tooltip | Button | protected |
m_enabled_tooltip | Button | protected |
m_fixed_state_requested | Button | protected |
m_focus_on_press | Button | protected |
m_font_multiplier | Button | protected |
m_has_custom_background_color | Button | protected |
m_hover_icon | Button | protected |
m_hover_icon_size_multiplier | Button | protected |
m_icon | Button | protected |
m_icon_color | Button | protected |
m_icon_size_multiplier | Button | protected |
m_icon_theme_listener | Button | protected |
m_ignore_clicks | Button | protected |
m_is_auto_default_button | Button | protected |
m_is_bold | Button | protected |
m_is_default_button | Button | protected |
m_last_click_time | Button | protected |
m_margin | Button | protected |
m_menu_dialog | Button | protected |
m_on_click | Button | protected |
m_on_hover | Button | protected |
m_on_press | Button | protected |
m_progress | Button | protected |
m_push_button | Button | protected |
m_sound | Button | protected |
m_state | Button | protected |
m_title | Button | protected |
menu() const | Button | |
minimumSizeHint() const override | Toggle | |
mousePressEvent(QMouseEvent *) override | Button | protected |
mouseReleaseEvent(QMouseEvent *) override | Toggle | protected |
offset | Toggle | |
offset() const | Toggle | inline |
onButtonClickSlot() | Button | protectedslot |
onButtonPressSlot() | Button | protectedslot |
onButtonReleaseSlot() | Button | protectedslot |
onChecked(bool checked) | Toggle | protectedslot |
paintEvent(QPaintEvent *) override | Toggle | protected |
requestButtonState(ButtonState state) | Button | |
requestFixedState(bool fixed_state) | Button | |
s_default_sound | Button | static |
scaledIconSize() const | Button | |
setAlignment(Qt::Alignment m_alignment) | Button | |
setAutoDefault(bool is_auto_default) | Button | |
setBackgroundColor(const RGBColor &color, bool update_foreground=true) | Button | |
setBackgroundOpacity(fltp04 background_opacity) | Button | |
setBold(bool is_bold) | Button | |
setButtonDialog(ButtonDialog *dialog) | Button | |
setButtonState(ButtonState state) | Button | |
setCheckable(bool checkable) | Button | |
setChecked(bool checked) | Button | |
setCheckedIconName(const String &icon) | Button | |
setClickCooldown(const TimeSpan &span) | Button | |
setDefault(bool is_default) | Button | |
setDisabledToolTip(const TranslatedString &tooltip) | Button | |
setFlat(bool is_flat) | Button | |
setFocusOnPress(bool focus_on_press) | Button | |
setFontMultiplier(fltp04 font_multiplier) | Button | |
setFunction(const std::function< void(Button *)> &on_click) | Button | inline |
setHoverFunction(const std::function< void(Button *, bool hovering)> &on_hover) | Button | inline |
setHoverIconName(const String &icon) | Button | |
setHoverIconSizeMultiplier(fltp04 icon_size_multiplier) | Button | |
setIcon(const QIcon &icon) | Button | |
setIconColor(const RGBColor &color) | Button | |
setIconName(const String &icon) | Button | |
setIconSize(int size) | Button | |
setIconSizeMultiplier(fltp04 icon_size_multiplier) | Button | |
setIgnoreClicks(bool ignore_clicks) | Button | inline |
setMargin(uint04 margin) | Button | |
setMenu(QMenu *menu) | Button | |
setMenuDialog(QWidget *widget) | Button | |
setOffset(float o) | Toggle | inline |
setPressFunction(const std::function< void(Button *, bool hovering)> &on_press) | Button | inline |
setProgressPercent(fltp04 progress) | Button | |
setSound(const String &sound) | Button | |
setText(const QString &text) | Button | |
setTitle(const TranslatedString &title) | Button | |
setToolTip(TooltipType type) | Button | |
setToolTip(const QString &tip) | Button | |
setToolTip(const TranslatedString &tooltip) | Button | |
setToolTip(const TranslatedString &enabled_tooltip, const TranslatedString &disabled_tooltip) | Button | |
setup(const TranslatedString &name, const String &icon, const std::function< void(Button *)> &on_click) | Button | |
setup(const TranslatedString &name, const String &icon, TooltipType tooltip, const std::function< void(Button *)> &on_click) | Button | |
setup(const TranslatedString &name, const String &icon, Resource< bool > &checked_var) | Button | |
setup(GenericOption &checked_var) | Button | |
setup(ApplicationOption< bool > &checked_var) | Button | |
setup(const TranslatedString &name, const String &icon, ApplicationOption< bool > &checked_var) | Button | |
setup() | Button | protected |
setupToggle() | Toggle | protected |
showPopupMenu(QWidget *widget, bool is_popup=true) | Button | |
sizeHint() const override | Toggle | |
sliderHeight() const | Toggle | protected |
sliderRect() const | Toggle | protected |
sliderWidth() const | Toggle | protected |
spacing() const | Toggle | protected |
styleDefaultIconSize() const | Button | |
title() const | Button | |
Toggle(QWidget *parent=nullptr) | Toggle | |
Toggle(const std::function< void(Button *)> &on_click) | Toggle | |
Toggle(const TranslatedString &name, const std::function< void(Button *)> &on_click) | Toggle | |
Toggle(const TranslatedString &name, const String &icon, const std::function< void(Button *)> &on_click) | Toggle | |
Toggle(const TranslatedString &name, const String &icon, Resource< bool > &on_click) | Toggle | |
updateFont() | Button | protected |
updateText() | Button | protected |
updateTooltip() | Button | protected |
virtualMouseEvent(QEvent::Type event) | Button | |
~Button() | Button | |
~Toggle() | Toggle |