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

28 lines
537 B
C
Raw Normal View History

2023-03-06 12:38:25 +08:00
#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