///////////////////////////////////////////////////////////////////////////////
// Simple x264 Launcher
-// Copyright (C) 2004-2012 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#pragma once
-#include "uic_win_help.h"
+#include <QDialog>
class QProcess;
+class SysinfoModel;
+class PreferencesModel;
+class OptionsModel;
-class HelpDialog : public QDialog, private Ui::HelpDialog
+namespace Ui
+{
+ class HelpDialog;
+}
+
+class HelpDialog : public QDialog
{
Q_OBJECT
public:
- HelpDialog(QWidget *parent, bool avs2yuv, bool x64supported, bool use10BitEncoding);
+ HelpDialog(QWidget *parent, bool avs2yuv, const SysinfoModel *const sysinfo, const OptionsModel *const options, const PreferencesModel *const preferences);
~HelpDialog(void);
private slots:
void finished(void);
private:
- const QString m_appDir;
- QProcess *const m_process;
+ Ui::HelpDialog *const ui;
+
+ const bool m_avs2yuv;
+ const SysinfoModel *const m_sysinfo;
+ const PreferencesModel *const m_preferences;
+ const OptionsModel *const m_options;
+
+ QProcess *const m_process;
bool m_startAgain;
protected:
- const bool m_avs2yuv;
- const bool m_x64supported;
- const bool m_use10BitEncoding;
-
virtual void showEvent(QShowEvent *event);
virtual void closeEvent(QCloseEvent *e);
};