2021-04-29 20:36:25 -07:00
|
|
|
#ifndef KOBOXAPPSDIALOG_H
|
|
|
|
#define KOBOXAPPSDIALOG_H
|
|
|
|
|
2021-04-30 09:49:33 -07:00
|
|
|
#include <QDialog>
|
|
|
|
#include <QModelIndex>
|
2021-04-29 20:36:25 -07:00
|
|
|
|
2021-04-30 20:55:38 -07:00
|
|
|
#include "usbms_splash.h"
|
|
|
|
|
2021-04-29 20:36:25 -07:00
|
|
|
namespace Ui {
|
|
|
|
class koboxAppsDialog;
|
|
|
|
}
|
|
|
|
|
2021-04-30 09:49:33 -07:00
|
|
|
class koboxAppsDialog : public QDialog
|
2021-04-29 20:36:25 -07:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-04-04 21:47:15 -07:00
|
|
|
QString className = this->metaObject()->className();
|
2021-04-29 20:36:25 -07:00
|
|
|
explicit koboxAppsDialog(QWidget *parent = nullptr);
|
|
|
|
~koboxAppsDialog();
|
|
|
|
|
|
|
|
void checkApps();
|
|
|
|
|
|
|
|
QString apps;
|
2021-04-30 09:49:33 -07:00
|
|
|
QString itemText;
|
2021-04-30 15:19:48 -07:00
|
|
|
std::string dpiSetting;
|
|
|
|
std::string dpModeSetting;
|
2021-04-30 09:49:33 -07:00
|
|
|
QModelIndex index;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_cancelBtn_clicked();
|
|
|
|
void on_launchBtn_clicked();
|
2021-04-29 20:36:25 -07:00
|
|
|
|
2022-04-04 21:47:15 -07:00
|
|
|
signals:
|
|
|
|
void showToast(QString messageToDisplay);
|
|
|
|
|
2021-04-29 20:36:25 -07:00
|
|
|
private:
|
|
|
|
Ui::koboxAppsDialog *ui;
|
2021-04-30 20:55:38 -07:00
|
|
|
usbms_splash *usbmsSplashWindow;
|
2021-04-29 20:36:25 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KOBOXAPPSDIALOG_H
|