代码拉取完成,页面将自动刷新
#ifndef QTMATERIALFLATBUTTON_P_H
#define QTMATERIALFLATBUTTON_P_H
#include <QColor>
#include <QtGlobal>
#include "lib/qtmaterialtheme.h"
class QtMaterialFlatButton;
class QtMaterialRippleOverlay;
class QtMaterialFlatButtonStateMachine;
class QStateMachine;
class QState;
class QGraphicsDropShadowEffect;
class QtMaterialFlatButtonPrivate
{
Q_DISABLE_COPY(QtMaterialFlatButtonPrivate)
Q_DECLARE_PUBLIC(QtMaterialFlatButton)
public:
QtMaterialFlatButtonPrivate(QtMaterialFlatButton *q);
virtual ~QtMaterialFlatButtonPrivate();
void init();
void initRaiseEffect();
void removeRaiseEffect();
bool isTranparent() const;
QtMaterialFlatButton *const q_ptr;
QtMaterialRippleOverlay *rippleOverlay;
QtMaterialFlatButtonStateMachine *stateMachine;
QStateMachine *shadowStateMachine;
QState *shadowNormalState;
QState *shadowPressedState;
QGraphicsDropShadowEffect *shadowEffect;
Material::Role role;
Material::ButtonType type;
Material::RippleStyle rippleStyle;
Material::ButtonIconPlacement iconPlacement;
Material::OverlayStyle overlayStyle;
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。