1
0
forked from blue/squawk
squawk/ui/widgets/settings/pagegeneral.h

39 lines
636 B
C
Raw Normal View History

#ifndef PAGEGENERAL_H
#define PAGEGENERAL_H
#include <QWidget>
#include <QScopedPointer>
2022-01-21 19:02:50 +00:00
#include <QVariant>
#include <QSettings>
2022-02-19 18:31:49 +00:00
#include <QFileDialog>
namespace Ui
{
class PageGeneral;
}
/**
* @todo write docs
*/
class PageGeneral : public QWidget
{
Q_OBJECT
public:
PageGeneral(QWidget* parent = nullptr);
~PageGeneral();
2022-01-21 19:02:50 +00:00
signals:
void variableModified(const QString& key, const QVariant& value);
2022-02-19 18:31:49 +00:00
private slots:
void onBrowseButtonClicked();
void onDialogAccepted();
void onDialogDestroyed();
private:
QScopedPointer<Ui::PageGeneral> m_ui;
2022-02-19 18:31:49 +00:00
QFileDialog* dialog;
};
#endif // PAGEGENERAL_H