mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
26 lines
491 B
C++
26 lines
491 B
C++
#pragma once
|
|
#include <QCheckBox>
|
|
#include <QDialog>
|
|
#include <QPlainTextEdit>
|
|
|
|
namespace advss {
|
|
|
|
class MacroExportImportDialog : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
enum class Type { EXPORT_MACRO, IMPORT_MACRO };
|
|
MacroExportImportDialog(Type type);
|
|
|
|
static void ExportMacros(const QString &json);
|
|
static bool ImportMacros(QString &json);
|
|
|
|
private slots:
|
|
void UsePlainTextChanged(int);
|
|
|
|
private:
|
|
QPlainTextEdit *_importExportString;
|
|
QCheckBox *_usePlainText;
|
|
};
|
|
|
|
} // namespace advss
|