qt-material-widgets/components/qtmaterialbadge_p.h

35 lines
610 B
C
Raw Normal View History

2017-09-28 22:01:01 +00:00
#ifndef QTMATERIALBADGE_P_H
#define QTMATERIALBADGE_P_H
#include <QColor>
2022-07-05 07:49:55 +00:00
#include <QIcon>
#include <QSize>
#include <QtGlobal>
2017-09-28 22:01:01 +00:00
class QtMaterialBadge;
class QtMaterialBadgePrivate
{
Q_DISABLE_COPY(QtMaterialBadgePrivate)
Q_DECLARE_PUBLIC(QtMaterialBadge)
public:
QtMaterialBadgePrivate(QtMaterialBadge *q);
~QtMaterialBadgePrivate();
void init();
QtMaterialBadge *const q_ptr;
2022-07-05 07:49:55 +00:00
QString text;
QColor textColor;
QColor backgroundColor;
QSize size;
QIcon icon;
qreal x;
qreal y;
int padding;
bool useThemeColors;
2017-09-28 22:01:01 +00:00
};
2022-07-05 07:49:55 +00:00
#endif // QTMATERIALBADGE_P_H