ArchitectureColoredPainting/qt-material-widgets/examples/badgesettingseditor.h

30 lines
570 B
C
Raw Permalink Normal View History

2023-03-06 12:38:25 +08:00
#ifndef BADGESETTINGSEDITOR_H
#define BADGESETTINGSEDITOR_H
#include <QWidget>
#include "ui_badgesettingsform.h"
class QtMaterialAvatar;
class QtMaterialBadge;
class BadgeSettingsEditor : public QWidget
{
Q_OBJECT
public:
explicit BadgeSettingsEditor(QWidget *parent = 0);
~BadgeSettingsEditor();
protected slots:
void setupForm();
void updateWidget();
void selectColor();
private:
Ui::BadgeSettingsForm *const ui;
QtMaterialAvatar *const m_avatar;
QtMaterialBadge *const m_badge;
};
#endif // BADGESETTINGSEDITOR_H