IconButton::IconButton(QWidget *fader) : MouseHoverComposite(new MouseHoverable(this)) { setMouseHoverColor(WidgetSettings::iconButtonMouseOverColor()); setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); RecalcSize(); }
PushButton::PushButton(TBase *parent, std::string text) : AbstractPushButton(parent) { handle = (unsigned)this; setStyle(TStyleOption()); setMouseHoverColor(TColor(1, COLOR_WHITE, COLOR_CYAN)); if (text != std::string(nullstr)) setText(text); setBorderVisibility(true); }