mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
refs #886, stub for wizard
This commit is contained in:
27
src/blackgui/components/configurationwizard.cpp
Normal file
27
src/blackgui/components/configurationwizard.cpp
Normal file
@@ -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
|
||||||
43
src/blackgui/components/configurationwizard.h
Normal file
43
src/blackgui/components/configurationwizard.h
Normal file
@@ -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 <QWizard>
|
||||||
|
#include <QScopedPointer>
|
||||||
|
|
||||||
|
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::CConfigurationWizard> ui;
|
||||||
|
};
|
||||||
|
} // ns
|
||||||
|
} // ns
|
||||||
|
#endif // guard
|
||||||
19
src/blackgui/components/configurationwizard.ui
Normal file
19
src/blackgui/components/configurationwizard.ui
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>CConfigurationWizard</class>
|
||||||
|
<widget name="CConfigurationWizard" class="QWizard">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>640</width>
|
||||||
|
<height>480</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Wizard</string>
|
||||||
|
</property>
|
||||||
|
<widget name="wizardPage1" class="QWizardPage"/>
|
||||||
|
<widget name="wizardPage2" class="QWizardPage"/>
|
||||||
|
</widget>
|
||||||
|
</ui>
|
||||||
Reference in New Issue
Block a user