2021-04-24 09:44:57 -07:00
|
|
|
#ifndef SETTINGSCHOOSER_H
|
|
|
|
#define SETTINGSCHOOSER_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include "settings.h"
|
2021-04-27 05:40:08 -07:00
|
|
|
#include "koboxsettings.h"
|
2021-04-24 09:44:57 -07:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class settingsChooser;
|
|
|
|
}
|
|
|
|
|
|
|
|
class settingsChooser : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-04-04 21:47:15 -07:00
|
|
|
QString className = this->metaObject()->className();
|
2021-04-24 09:44:57 -07:00
|
|
|
explicit settingsChooser(QWidget *parent = nullptr);
|
|
|
|
~settingsChooser();
|
|
|
|
|
|
|
|
float sW;
|
|
|
|
float sH;
|
|
|
|
float homeIconWidth;
|
|
|
|
float homeIconHeight;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_inkboxSettingsBtn_clicked();
|
2021-04-27 05:40:08 -07:00
|
|
|
void on_koboxSettingsBtn_clicked();
|
2021-08-25 10:32:33 -07:00
|
|
|
void showToastNative(QString messageToDisplay);
|
|
|
|
void closeIndefiniteToastNative();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void showToast(QString messageToDisplay);
|
|
|
|
void closeIndefiniteToast();
|
2021-04-27 05:40:08 -07:00
|
|
|
|
2021-04-24 09:44:57 -07:00
|
|
|
private:
|
|
|
|
Ui::settingsChooser *ui;
|
|
|
|
settings *settingsWindow;
|
2021-04-27 05:40:08 -07:00
|
|
|
koboxSettings *koboxSettingsWindow;
|
2021-04-24 09:44:57 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETTINGSCHOOSER_H
|