diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-12-01 02:17:27 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-12-28 21:39:09 +0100 |
commit | 476d64184145e6b745b9b56fe2ea6f5f65f91dae (patch) | |
tree | 4a59a191e58f960181ce3520b38d04604f600f2a /application/setupwizard/SetupWizard.h | |
parent | 374710a87ba421c1ab982c616aa09545a95b6800 (diff) | |
download | MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar.gz MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar.lz MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar.xz MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.zip |
NOISSUE add skeleton of the setup wizard
Very wizardly. Also very empty and opening on every start for now.
Diffstat (limited to 'application/setupwizard/SetupWizard.h')
-rw-r--r-- | application/setupwizard/SetupWizard.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/application/setupwizard/SetupWizard.h b/application/setupwizard/SetupWizard.h new file mode 100644 index 00000000..5dbe90a9 --- /dev/null +++ b/application/setupwizard/SetupWizard.h @@ -0,0 +1,39 @@ +/* Copyright 2016 MultiMC Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +#include <QWizard> + +namespace Ui +{ +class SetupWizard; +} + +class SetupWizard : public QWizard +{ + Q_OBJECT + +public: /* con/destructors */ + explicit SetupWizard(QWidget *parent = 0); + virtual ~SetupWizard(); + +public: /* methods */ +static bool isRequired(); + +private: /* data */ + Ui::SetupWizard *ui = nullptr; +}; + |