|
Chatterino
|
#include <EffectLabel.hpp>
Public Member Functions | |
| EffectLabel (BaseWidget *parent=nullptr, int spacing=6) | |
| SignalLabel & | getLabel () |
Public Member Functions inherited from chatterino::Button | |
| Button (BaseWidget *parent=nullptr) | |
| void | setMouseEffectColor (boost::optional< QColor > color) |
| void | setPixmap (const QPixmap &pixmap_) |
| const QPixmap & | getPixmap () const |
| void | setDim (Dim value) |
| Dim | getDim () const |
| qreal | getCurrentDimAmount () const |
| void | setEnable (bool value) |
| bool | getEnable () const |
| void | setEnableMargin (bool value) |
| bool | getEnableMargin () const |
| void | setBorderColor (const QColor &color) |
| const QColor & | getBorderColor () const |
| void | setMenu (std::unique_ptr< QMenu > menu) |
Public Member Functions inherited from chatterino::BaseWidget | |
| BaseWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| virtual float | scale () const |
| boost::optional< float > | overrideScale () const |
| void | setOverrideScale (boost::optional< float >) |
| QSize | scaleIndependantSize () const |
| int | scaleIndependantWidth () const |
| int | scaleIndependantHeight () const |
| void | setScaleIndependantSize (int width, int height) |
| void | setScaleIndependantSize (QSize) |
| void | setScaleIndependantWidth (int value) |
| void | setScaleIndependantHeight (int value) |
| float | qtFontScale () const |
Additional Inherited Members | |
Public Types inherited from chatterino::Button | |
| enum | Dim { Dim::None, Dim::Some, Dim::Lots } |
Signals inherited from chatterino::Button | |
| void | leftClicked () |
| void | clicked (Qt::MouseButton button) |
| void | leftMousePress () |
Public Attributes inherited from chatterino::BaseWidget | |
| pajlada::Signals::Signal< float > | scaleChanged |
Protected Member Functions inherited from chatterino::Button | |
| virtual void | paintEvent (QPaintEvent *) override |
| virtual void | enterEvent (QEvent *) override |
| virtual void | leaveEvent (QEvent *) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| virtual void | mouseReleaseEvent (QMouseEvent *event) override |
| virtual void | mouseMoveEvent (QMouseEvent *event) override |
| void | fancyPaint (QPainter &painter) |
Protected Member Functions inherited from chatterino::BaseWidget | |
| virtual void | childEvent (QChildEvent *) override |
| virtual void | showEvent (QShowEvent *) override |
| virtual void | scaleChangedEvent (float newScale) |
| virtual void | themeChangedEvent () |
| virtual void | addShortcuts () |
| void | setScale (float value) |
| void | clearShortcuts () |
Protected Attributes inherited from chatterino::Button | |
| bool | enabled_ {true} |
| bool | selected_ {false} |
| bool | mouseOver_ {false} |
| bool | mouseDown_ {false} |
| bool | menuVisible_ {false} |
Protected Attributes inherited from chatterino::BaseWidget | |
| Theme * | theme |
| std::vector< QShortcut * > | shortcuts_ |
| pajlada::Signals::SignalHolder | signalHolder_ |
|
explicit |
|
inline |
1.8.13