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

28 lines
583 B
C
Raw Normal View History

2023-03-06 12:38:25 +08:00
#ifndef FABSETTINGSEDITOR_H
#define FABSETTINGSEDITOR_H
#include <QWidget>
#include "ui_fabsettingsform.h"
class QtMaterialFloatingActionButton;
class FloatingActionButtonSettingsEditor : public QWidget
{
Q_OBJECT
public:
explicit FloatingActionButtonSettingsEditor(QWidget *parent = 0);
~FloatingActionButtonSettingsEditor();
protected slots:
void setupForm();
void updateWidget();
void selectColor();
private:
Ui::FloatingActionButtonSettingsForm *const ui;
QtMaterialFloatingActionButton *const m_fab;
};
#endif // FABSETTINGSEDITOR_H