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

30 lines
570 B
C++

#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