-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
204 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
Copyright 2014 Paul Colby | ||
This file is part of Bipolar. | ||
Bipolar is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Biplar is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Bipolar. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include "inputspage.h" | ||
#include <QVBoxLayout> | ||
|
||
InputsPage::InputsPage(QWidget *parent) : QWizardPage(parent) { | ||
setTitle(tr("Select Input Paths")); | ||
setSubTitle(tr("Select the path(s) containing training sessions to convert.")); | ||
|
||
setLayout(new QVBoxLayout()); | ||
} | ||
|
||
//bool InputPage::isComplete() const { | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
Copyright 2014 Paul Colby | ||
This file is part of Bipolar. | ||
Bipolar is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Biplar is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Bipolar. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#ifndef __INPUTS_PAGE__ | ||
#define __INPUTS_PAGE__ | ||
|
||
#include <QWizardPage> | ||
|
||
class InputsPage : public QWizardPage { | ||
Q_OBJECT | ||
|
||
public: | ||
InputsPage(QWidget *parent=0); | ||
//virtual bool isComplete() const; | ||
|
||
}; | ||
|
||
#endif // __INPUTS_PAGE__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
Copyright 2014 Paul Colby | ||
This file is part of Bipolar. | ||
Bipolar is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Biplar is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Bipolar. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include "mainwizard.h" | ||
#include "inputspage.h" | ||
#include "outputspage.h" | ||
#include <QApplication> | ||
|
||
MainWizard::MainWizard(QWidget *parent, Qt::WindowFlags flags): QWizard(parent,flags) { | ||
setWindowTitle(tr("%1 %2") | ||
.arg(QApplication::applicationName()) | ||
.arg(QStringList(QApplication::applicationVersion().split(QLatin1Char('.')).mid(0, 3)).join(QLatin1Char('.')))); | ||
|
||
addPage(new InputsPage()); | ||
addPage(new OutputsPage()); | ||
|
||
setButtonText(FinishButton, tr("Convert")); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
Copyright 2014 Paul Colby | ||
This file is part of Bipolar. | ||
Bipolar is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Biplar is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Bipolar. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#ifndef __MAIN_WIZARD__ | ||
#define __MAIN_WIZARD__ | ||
|
||
#include <QWizard> | ||
|
||
class MainWizard : public QWizard { | ||
Q_OBJECT | ||
|
||
public: | ||
MainWizard(QWidget *parent=0, Qt::WindowFlags flags=0); | ||
|
||
}; | ||
|
||
#endif // __MAIN_WIZARD__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
Copyright 2014 Paul Colby | ||
This file is part of Bipolar. | ||
Bipolar is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Biplar is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Bipolar. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include "outputspage.h" | ||
#include <QVBoxLayout> | ||
|
||
OutputsPage::OutputsPage(QWidget *parent) : QWizardPage(parent) { | ||
setTitle(tr("Select Output Paths")); | ||
setSubTitle(tr("Select the blah blah blah.")); | ||
|
||
setLayout(new QVBoxLayout()); | ||
} | ||
|
||
//bool InputPage::isComplete() const { | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
Copyright 2014 Paul Colby | ||
This file is part of Bipolar. | ||
Bipolar is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Biplar is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Bipolar. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#ifndef __OUTPUTS_PAGE__ | ||
#define __OUTPUTS_PAGE__ | ||
|
||
#include <QWizardPage> | ||
|
||
class OutputsPage : public QWizardPage { | ||
Q_OBJECT | ||
|
||
public: | ||
OutputsPage(QWidget *parent=0); | ||
//virtual bool isComplete() const; | ||
|
||
}; | ||
|
||
#endif // __OUTPUTS_PAGE__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
INCLUDEPATH += $$PWD | ||
VPATH += $$PWD | ||
HEADERS += mainwindow.h | ||
SOURCES += mainwindow.cpp | ||
HEADERS += inputspage.h mainwizard.h outputspage.h | ||
SOURCES += inputspage.cpp mainwizard.cpp outputspage.cpp |