diff --git a/src/blackgui/components/configurationwizard.cpp b/src/blackgui/components/configurationwizard.cpp new file mode 100644 index 000000000..f50afd3e4 --- /dev/null +++ b/src/blackgui/components/configurationwizard.cpp @@ -0,0 +1,27 @@ +/* Copyright (C) 2017 + * swift project Community / Contributors + * + * This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, + * including this file, may be copied, modified, propagated, or distributed except according to the terms + * contained in the LICENSE file. + */ + +#include "configurationwizard.h" +#include "ui_configurationwizard.h" + +namespace BlackGui +{ + namespace Components + { + CConfigurationWizard::CConfigurationWizard(QWidget *parent) : + QWizard(parent), + ui(new Ui::CConfigurationWizard) + { + ui->setupUi(this); + } + + CConfigurationWizard::~CConfigurationWizard() + { } + } // ns +} // ns diff --git a/src/blackgui/components/configurationwizard.h b/src/blackgui/components/configurationwizard.h new file mode 100644 index 000000000..4c1156b6e --- /dev/null +++ b/src/blackgui/components/configurationwizard.h @@ -0,0 +1,43 @@ +/* Copyright (C) 2017 + * swift project Community / Contributors + * + * This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, + * including this file, may be copied, modified, propagated, or distributed except according to the terms + * contained in the LICENSE file. + */ + +//! \file + +#ifndef BLACKGUI_COMPONENTS_CONFIGURATIONWIZARD_H +#define BLACKGUI_COMPONENTS_CONFIGURATIONWIZARD_H + +#include "blackgui/blackguiexport.h" +#include +#include + +namespace Ui { class CConfigurationWizard; } +namespace BlackGui +{ + namespace Components + { + /** + * Configure the most important settings + */ + class BLACKGUI_EXPORT CConfigurationWizard : public QWizard + { + Q_OBJECT + + public: + //! Constructor + explicit CConfigurationWizard(QWidget *parent = nullptr); + + //! Destructor + virtual ~CConfigurationWizard(); + + private: + QScopedPointer ui; + }; + } // ns +} // ns +#endif // guard diff --git a/src/blackgui/components/configurationwizard.ui b/src/blackgui/components/configurationwizard.ui new file mode 100644 index 000000000..ebbe03a5c --- /dev/null +++ b/src/blackgui/components/configurationwizard.ui @@ -0,0 +1,19 @@ + + + CConfigurationWizard + + + + 0 + 0 + 640 + 480 + + + + Wizard + + + + +