LibrePCB Developers Documentation
Loading...
Searching...
No Matches
kicadlibraryimportwizardpage_chooselibrary.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_CHOOSELIBRARY_H
21#define LIBREPCB_EDITOR_KICADLIBRARYIMPORTWIZARDPAGE_CHOOSELIBRARY_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 {
35
36class MessageLogger;
37
38namespace editor {
39
40class KiCadLibraryImportWizardContext;
41
42namespace Ui {
43class KiCadLibraryImportWizardPage_ChooseLibrary;
44}
45
46/*******************************************************************************
47 * Class KiCadLibraryImportWizardPage_ChooseLibrary
48 ******************************************************************************/
49
53class KiCadLibraryImportWizardPage_ChooseLibrary final : public QWizardPage {
54 Q_OBJECT
55
56public:
57 // Constructors / Destructor
60 const KiCadLibraryImportWizardPage_ChooseLibrary& other) = delete;
62 std::shared_ptr<KiCadLibraryImportWizardContext> context,
63 QWidget* parent = nullptr) noexcept;
65
66 // General Methods
67 virtual void initializePage() override;
68 virtual bool isComplete() const override;
69
70 // Operator Overloadings
73
74private: // Data
78};
79
80/*******************************************************************************
81 * End of File
82 ******************************************************************************/
83
84} // namespace editor
85} // namespace librepcb
86
87#endif
Generic logger class to pass messages between objects.
Definition messagelogger.h:43
The KiCadLibraryImportWizardContext class.
Definition kicadlibraryimportwizardcontext.h:54
The KiCadLibraryImportWizardPage_ChooseLibrary class.
Definition kicadlibraryimportwizardpage_chooselibrary.h:53
QScopedPointer< Ui::KiCadLibraryImportWizardPage_ChooseLibrary > mUi
Definition kicadlibraryimportwizardpage_chooselibrary.h:75
std::shared_ptr< KiCadLibraryImportWizardContext > mContext
Definition kicadlibraryimportwizardpage_chooselibrary.h:76
virtual void initializePage() override
Definition kicadlibraryimportwizardpage_chooselibrary.cpp:105
KiCadLibraryImportWizardPage_ChooseLibrary(const KiCadLibraryImportWizardPage_ChooseLibrary &other)=delete
std::shared_ptr< MessageLogger > mLogger
Definition kicadlibraryimportwizardpage_chooselibrary.h:77
virtual bool isComplete() const override
Definition kicadlibraryimportwizardpage_chooselibrary.cpp:111
Definition occmodel.cpp:76
Definition uuid.h:186