LibrePCB Developers Documentation
eaglelibraryimportwizardpage_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_EAGLELIBRARYIMPORTWIZARDPAGE_CHOOSELIBRARY_H
21#define LIBREPCB_EDITOR_EAGLELIBRARYIMPORTWIZARDPAGE_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 {
35namespace editor {
36
37class EagleLibraryImportWizardContext;
38
39namespace Ui {
40class EagleLibraryImportWizardPage_ChooseLibrary;
41}
42
43/*******************************************************************************
44 * Class EagleLibraryImportWizardPage_ChooseLibrary
45 ******************************************************************************/
46
50class EagleLibraryImportWizardPage_ChooseLibrary final : public QWizardPage {
51 Q_OBJECT
52
53public:
54 // Constructors / Destructor
57 const EagleLibraryImportWizardPage_ChooseLibrary& other) = delete;
59 std::shared_ptr<EagleLibraryImportWizardContext> 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
70
71private: // Data
74};
75
76/*******************************************************************************
77 * End of File
78 ******************************************************************************/
79
80} // namespace editor
81} // namespace librepcb
82
83#endif
The EagleLibraryImportWizardContext class.
Definition: eaglelibraryimportwizardcontext.h:52
The EagleLibraryImportWizardPage_ChooseLibrary class.
Definition: eaglelibraryimportwizardpage_chooselibrary.h:50
EagleLibraryImportWizardPage_ChooseLibrary(const EagleLibraryImportWizardPage_ChooseLibrary &other)=delete
std::shared_ptr< EagleLibraryImportWizardContext > mContext
Definition: eaglelibraryimportwizardpage_chooselibrary.h:73
QScopedPointer< Ui::EagleLibraryImportWizardPage_ChooseLibrary > mUi
Definition: eaglelibraryimportwizardpage_chooselibrary.h:72
virtual void initializePage() override
Definition: eaglelibraryimportwizardpage_chooselibrary.cpp:89
virtual bool isComplete() const override
Definition: eaglelibraryimportwizardpage_chooselibrary.cpp:93
Definition: occmodel.cpp:77