2024-09-15 13:26:58 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
#include "ui_ExtractDialog.h"
|
|
|
|
#include "SbiePlusAPI.h"
|
|
|
|
|
|
|
|
class CExtractDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
CExtractDialog(const QString& Name, QWidget *parent = Q_NULLPTR);
|
|
|
|
~CExtractDialog();
|
|
|
|
|
|
|
|
QString GetName() const { return ui.txtName->text(); }
|
|
|
|
QString GetRoot() const;
|
2024-09-30 13:18:08 +01:00
|
|
|
void ShowNoCrypt() const { ui.chkNoCrypt->setVisible(true); }
|
|
|
|
bool IsNoCrypt() const { return ui.chkNoCrypt->isChecked(); }
|
2024-09-15 13:26:58 +01:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void OnAccept();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ExtractDialog ui;
|
|
|
|
};
|