LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
firstrunwizardpage_workspacepath.h
Go to the documentation of this file.
1 /*
2  * LibrePCB - Professional EDA for everyone!
3  * Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
4  * https://librepcb.org/
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef LIBREPCB_FIRSTRUNWIZARDPAGE_WORKSPACEPATH_H
21 #define LIBREPCB_FIRSTRUNWIZARDPAGE_WORKSPACEPATH_H
22 
23 /*******************************************************************************
24  * Includes
25  ******************************************************************************/
26 #include <QtCore>
27 #include <QtWidgets>
28 
29 /*******************************************************************************
30  * Namespace / Forward Declarations
31  ******************************************************************************/
32 namespace librepcb {
33 namespace application {
34 
35 namespace Ui {
36 class FirstRunWizardPage_WorkspacePath;
37 }
38 
39 /*******************************************************************************
40  * Class FirstRunWizardPage_WorkspacePath
41  ******************************************************************************/
42 
49 class FirstRunWizardPage_WorkspacePath final : public QWizardPage {
50  Q_OBJECT
51 
52 public:
53  // Constructors / Destructor
54  explicit FirstRunWizardPage_WorkspacePath(QWidget* parent = 0) noexcept;
56 
57  // Inherited Methods
58  bool validatePage() noexcept override;
59 
60 private slots:
61 
62  // Event Handlers
63  void on_rbtnCreateWs_toggled(bool checked);
64  void on_rbtnOpenWs_toggled(bool checked);
67 
68 private:
69  // Private Methods
70  Q_DISABLE_COPY(FirstRunWizardPage_WorkspacePath)
71 
72  // Private Membervariables
74 };
75 
76 /*******************************************************************************
77  * End of File
78  ******************************************************************************/
79 
80 } // namespace application
81 } // namespace librepcb
82 
83 #endif // LIBREPCB_FIRSTRUNWIZARDPAGE_WORKSPACEPATH_H
void on_btnOpenWsBrowse_clicked()
Definition: firstrunwizardpage_workspacepath.cpp:115
void on_btnCreateWsBrowse_clicked()
Definition: firstrunwizardpage_workspacepath.cpp:108
void on_rbtnCreateWs_toggled(bool checked)
Definition: firstrunwizardpage_workspacepath.cpp:94
FirstRunWizardPage_WorkspacePath(QWidget *parent=0) noexcept
Definition: firstrunwizardpage_workspacepath.cpp:41
bool validatePage() noexceptoverride
Definition: firstrunwizardpage_workspacepath.cpp:65
~FirstRunWizardPage_WorkspacePath() noexcept
Definition: firstrunwizardpage_workspacepath.cpp:58
void on_rbtnOpenWs_toggled(bool checked)
Definition: firstrunwizardpage_workspacepath.cpp:101
The FirstRunWizardPage_WorkspacePath class.
Definition: firstrunwizardpage_workspacepath.h:49
QScopedPointer< Ui::FirstRunWizardPage_WorkspacePath > mUi
Definition: firstrunwizardpage_workspacepath.h:73