2017-09-29 09:50:04 +00:00
|
|
|
#ifndef FABSETTINGSEDITOR_H
|
|
|
|
#define FABSETTINGSEDITOR_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2022-02-17 14:22:14 +00:00
|
|
|
#include <QVBoxLayout>
|
|
|
|
#include <QDebug>
|
|
|
|
#include <QColorDialog>
|
|
|
|
|
2022-02-17 15:17:19 +00:00
|
|
|
#include <fab.h>
|
2022-02-17 14:22:14 +00:00
|
|
|
|
2017-09-29 09:50:04 +00:00
|
|
|
#include "ui_fabsettingsform.h"
|
|
|
|
|
2022-02-17 14:22:14 +00:00
|
|
|
using namespace md;
|
2017-09-29 09:50:04 +00:00
|
|
|
|
|
|
|
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;
|
2022-02-17 14:22:14 +00:00
|
|
|
FloatingActionButton *const m_fab;
|
2017-09-29 09:50:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FABSETTINGSEDITOR_H
|