A button that displays information about multiple TemperatureSensors when clicked. Button changes color based on the status of specified TemperatureSensor objects.
More...
|
void | addSensor (TemperatureSensor *sensor, bool update=true) |
|
void | clearSensors (bool update=true) |
|
void | removeSensor (TemperatureSensor *sensor, bool update=true) |
|
const Dictionary< UUID, TemperatureSensor * > & | sensors () const |
|
void | setColumnCount (uint04 column_count) |
|
void | setSensor (TemperatureSensor *sensor) |
|
void | setSensors (Buffer< TemperatureSensor * > sensors) |
|
| TemperatureWidget (QWidget *parent=nullptr) |
|
| Button (ButtonState state, QWidget *parent=nullptr) |
|
| Button (const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) |
|
| Button (const TranslatedString &name, const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) |
|
| Button (const TranslatedString &name, const String &icon, const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) |
|
| Button (const TranslatedString &name, const String &icon, TooltipType tooltip, const std::function< void(Button *)> &on_click, QWidget *parent=nullptr) |
|
| Button (const TranslatedString &name, const String &icon="", QWidget *parent=nullptr) |
|
| Button (QWidget *parent=nullptr) |
|
ButtonState | buttonState () const |
|
void | clearBackgroundColor () |
|
void | copyButtonFrom (Button *button) |
|
void | enterEvent (ButtonEnterEvent *e) override |
|
bool | event (QEvent *e) override |
|
bool | eventFilter (QObject *watched, QEvent *event) override |
|
const String & | iconName () const |
|
void | leaveEvent (QEvent *e) override |
|
QMenu * | menu () const |
|
QSize | minimumSizeHint () const override |
|
void | paintEvent (QPaintEvent *event) override |
|
bool | requestButtonState (ButtonState state) |
|
void | requestFixedState (bool fixed_state) |
|
int | scaledIconSize () const |
|
void | setAlignment (Qt::Alignment m_alignment) |
|
void | setAutoDefault (bool is_auto_default) |
|
void | setBackgroundColor (const RGBColor &color, bool update_foreground=true) |
|
void | setBackgroundOpacity (fltp04 background_opacity) |
|
void | setBold (bool is_bold) |
|
void | setButtonDialog (ButtonDialog *dialog) |
|
void | setButtonState (ButtonState state) |
|
void | setCheckable (bool checkable) |
|
void | setChecked (bool checked) |
|
void | setCheckedIconName (const String &icon) |
|
void | setClickCooldown (const TimeSpan &span) |
|
void | setDefault (bool is_default) |
|
void | setDisabledToolTip (const TranslatedString &tooltip) |
|
void | setFlat (bool is_flat) |
|
void | setFocusOnPress (bool focus_on_press) |
|
void | setFontMultiplier (fltp04 font_multiplier) |
|
void | setFunction (const std::function< void(Button *)> &on_click) |
|
void | setHoverFunction (const std::function< void(Button *, bool hovering)> &on_hover) |
|
void | setHoverIconName (const String &icon) |
|
void | setHoverIconSizeMultiplier (fltp04 icon_size_multiplier) |
|
void | setIcon (const QIcon &icon) |
|
void | setIconColor (const RGBColor &color) |
|
void | setIconName (const String &icon) |
|
void | setIconSize (int size) |
|
void | setIconSizeMultiplier (fltp04 icon_size_multiplier) |
|
void | setIgnoreClicks (bool ignore_clicks) |
|
void | setMargin (uint04 margin) |
|
void | setMenu (QMenu *menu) |
|
void | setMenuDialog (QWidget *widget) |
|
void | setPressFunction (const std::function< void(Button *, bool hovering)> &on_press) |
|
void | setProgressPercent (fltp04 progress) |
|
void | setSound (const String &sound) |
|
void | setText (const QString &text) |
|
void | setTitle (const TranslatedString &title) |
|
void | setToolTip (const QString &tip) |
|
void | setToolTip (const TranslatedString &enabled_tooltip, const TranslatedString &disabled_tooltip) |
|
void | setToolTip (const TranslatedString &tooltip) |
|
void | setToolTip (TooltipType type) |
|
void | setup (ApplicationOption< bool > &checked_var) |
|
void | setup (const TranslatedString &name, const String &icon, ApplicationOption< bool > &checked_var) |
|
void | setup (const TranslatedString &name, const String &icon, const std::function< void(Button *)> &on_click) |
|
void | setup (const TranslatedString &name, const String &icon, Resource< bool > &checked_var) |
|
void | setup (const TranslatedString &name, const String &icon, TooltipType tooltip, const std::function< void(Button *)> &on_click) |
|
void | setup (GenericOption &checked_var) |
|
void | showPopupMenu (QWidget *widget, bool is_popup=true) |
|
QSize | sizeHint () const override |
|
int | styleDefaultIconSize () const |
|
const TranslatedString & | title () const |
|
void | virtualMouseEvent (QEvent::Type event) |
|
| ~Button () |
|
A button that displays information about multiple TemperatureSensors when clicked. Button changes color based on the status of specified TemperatureSensor objects.