Files
deep-wine-runner/mainwindow.h
2024-01-01 16:48:08 +08:00

35 lines
1011 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMap>
#include <QDir>
#include <QCoreApplication>
class MainWindow
{
public:
MainWindow();
~MainWindow();
void CheckWine();
QString get_home();
QString readtxt(QString path);
private:
QString homePath = QDir::homePath();
QString programPath = QCoreApplication::applicationDirPath();
QMap<QString, QString> wine;
QStringList untipsWine = {"使用 Flatpak 安装的 Wine", "基于 exagear 的 deepin-wine6-stable", "基于 UOS box86 的 deepin-wine6-stable", "基于 UOS exagear 的 deepin-wine6-stable", "基于 linglong 的 deepin-wine6-stable不推荐"};
QStringList canUseWine = {};
QStringList qemuBottleList = {};
QString qemuPath = homePath + "/.deepin-wine-runner-ubuntu-images";
QStringList shellHistory;
QStringList findExeHistory;
QStringList wineBottonHistory;
QStringList isoPath;
QStringList isoPathFound;
QMap<QString, QString> setting;
};
#endif // MAINWINDOW_H