28 lines
537 B
C
28 lines
537 B
C
|
#ifndef SNACKBARSETTINGSEDITOR_H
|
||
|
#define SNACKBARSETTINGSEDITOR_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include "ui_snackbarsettingsform.h"
|
||
|
|
||
|
class QtMaterialSnackbar;
|
||
|
|
||
|
class SnackbarSettingsEditor : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit SnackbarSettingsEditor(QWidget *parent = 0);
|
||
|
~SnackbarSettingsEditor();
|
||
|
|
||
|
protected slots:
|
||
|
void setupForm();
|
||
|
void updateWidget();
|
||
|
void showSnackbar();
|
||
|
|
||
|
private:
|
||
|
Ui::SnackbarSettingsForm *const ui;
|
||
|
QtMaterialSnackbar *const m_snackbar;
|
||
|
};
|
||
|
|
||
|
#endif // SNACKBARSETTINGSEDITOR_H
|