Sandboxie/SandboxiePlus/SandMan/Windows/SelectBoxWindow.h

33 lines
700 B
C
Raw Normal View History

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:
2023-01-29 12:09:10 +00:00
void SetFilter(const QString& Exp, int iOptions, int Column);
2021-10-16 16:19:51 +01:00
void OnBoxDblClick(QTreeWidgetItem*);
void OnBoxType();
void OnRun();
protected:
void closeEvent(QCloseEvent* e);
2023-01-29 12:09:10 +00:00
void LoadBoxed(const QString& Filter = QString(), const QString& SelectBox = QString());
2021-10-16 16:19:51 +01:00
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;
};