1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef QTMATERIALFLATBUTTON_P_H
- #define QTMATERIALFLATBUTTON_P_H
- #include <QtGlobal>
- #include <QColor>
- #include "lib/qtmaterialtheme.h"
- class QtMaterialFlatButton;
- class QtMaterialRippleOverlay;
- class QtMaterialFlatButtonStateMachine;
- class QtMaterialFlatButtonPrivate
- {
- Q_DISABLE_COPY(QtMaterialFlatButtonPrivate)
- Q_DECLARE_PUBLIC(QtMaterialFlatButton)
- public:
- QtMaterialFlatButtonPrivate(QtMaterialFlatButton *q);
- virtual ~QtMaterialFlatButtonPrivate();
- void init();
- QtMaterialFlatButton *const q_ptr;
- QtMaterialRippleOverlay *rippleOverlay;
- QtMaterialFlatButtonStateMachine *stateMachine;
- Material::Role role;
- Material::RippleStyle rippleStyle;
- Material::ButtonIconPlacement iconPlacement;
- Material::OverlayStyle overlayStyle;
- Qt::BGMode bgMode;
- Qt::Alignment textAlignment;
- QColor backgroundColor;
- QColor foregroundColor;
- QColor overlayColor;
- QColor disabledColor;
- QColor disabledBackgroundColor;
- qreal fixedRippleRadius;
- qreal cornerRadius;
- qreal baseOpacity;
- qreal fontSize;
- bool useThemeColors;
- bool useFixedRippleRadius;
- bool haloVisible;
- };
- #endif // QTMATERIALFLATBUTTON_P_H
|