28 lines
583 B
C
28 lines
583 B
C
|
#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
|