2021-10-16 16:19:51 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
#include "ui_SelectBoxWindow.h"
|
|
|
|
#include "SbiePlusAPI.h"
|
|
|
|
|
|
|
|
class CSelectBoxWindow : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-12-20 11:55:02 +00:00
|
|
|
CSelectBoxWindow(const QStringList& Commands, const QString& BoxName, const QString& WrkDir = QString(), QWidget *parent = Q_NULLPTR);
|
2021-10-16 16:19:51 +01:00
|
|
|
~CSelectBoxWindow();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void OnBoxDblClick(QTreeWidgetItem*);
|
|
|
|
void OnBoxType();
|
|
|
|
void OnRun();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void closeEvent(QCloseEvent* e);
|
|
|
|
|
|
|
|
QStringList m_Commands;
|
2021-12-20 11:55:02 +00:00
|
|
|
QString m_WrkDir;
|
2021-10-16 16:19:51 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::SelectBoxWindow ui;
|
|
|
|
};
|