LibrePCB Developers Documentation
Loading...
Searching...
No Matches
kicadlibraryimportwizardpage_result.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_EDITOR_KICADLIBRARYIMPORTWIZARDPAGE_RESULT_H
21#define LIBREPCB_EDITOR_KICADLIBRARYIMPORTWIZARDPAGE_RESULT_H
22
23/*******************************************************************************
24 * Includes
25 ******************************************************************************/
26#include <QtCore>
27#include <QtWidgets>
28
29#include <memory>
30
31/*******************************************************************************
32 * Namespace / Forward Declarations
33 ******************************************************************************/
34namespace librepcb {
35namespace editor {
36
37class KiCadLibraryImportWizardContext;
38
39namespace Ui {
40class KiCadLibraryImportWizardPage_Result;
41}
42
43/*******************************************************************************
44 * Class KiCadLibraryImportWizardPage_Result
45 ******************************************************************************/
46
50class KiCadLibraryImportWizardPage_Result final : public QWizardPage {
51 Q_OBJECT
52
53public:
54 // Constructors / Destructor
57 const KiCadLibraryImportWizardPage_Result& other) = delete;
59 std::shared_ptr<KiCadLibraryImportWizardContext> context,
60 QWidget* parent = nullptr) noexcept;
62
63 // General Methods
64 virtual void initializePage() override;
65 virtual bool isComplete() const override;
66
67 // Operator Overloadings
69 const KiCadLibraryImportWizardPage_Result& rhs) = delete;
70
71private: // Methods
72 void importFinished() noexcept;
73
74private: // Data
77 QVector<QMetaObject::Connection> mProgressBarConnections;
79};
80
81/*******************************************************************************
82 * End of File
83 ******************************************************************************/
84
85} // namespace editor
86} // namespace librepcb
87
88#endif
The KiCadLibraryImportWizardContext class.
Definition kicadlibraryimportwizardcontext.h:54
The KiCadLibraryImportWizardPage_Result class.
Definition kicadlibraryimportwizardpage_result.h:50
QVector< QMetaObject::Connection > mProgressBarConnections
Definition kicadlibraryimportwizardpage_result.h:77
void importFinished() noexcept
Definition kicadlibraryimportwizardpage_result.cpp:137
bool mIsCompleted
Definition kicadlibraryimportwizardpage_result.h:78
std::shared_ptr< KiCadLibraryImportWizardContext > mContext
Definition kicadlibraryimportwizardpage_result.h:76
virtual void initializePage() override
Definition kicadlibraryimportwizardpage_result.cpp:81
QScopedPointer< Ui::KiCadLibraryImportWizardPage_Result > mUi
Definition kicadlibraryimportwizardpage_result.h:75
KiCadLibraryImportWizardPage_Result(const KiCadLibraryImportWizardPage_Result &other)=delete
virtual bool isComplete() const override
Definition kicadlibraryimportwizardpage_result.cpp:129
Definition occmodel.cpp:76
Definition uuid.h:186