LibrePCB Developers Documentation
fabricationoutputdialog.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_FABRICATIONOUTPUTDIALOG_H
21#define LIBREPCB_EDITOR_FABRICATIONOUTPUTDIALOG_H
22
23/*******************************************************************************
24 * Includes
25 ******************************************************************************/
26#include <QtCore>
27#include <QtWidgets>
28
29/*******************************************************************************
30 * Namespace / Forward Declarations
31 ******************************************************************************/
32namespace librepcb {
33
34class Board;
35class Project;
36class WorkspaceSettings;
37
38namespace editor {
39
40namespace Ui {
41class FabricationOutputDialog;
42}
43
44/*******************************************************************************
45 * Class FabricationOutputDialog
46 ******************************************************************************/
47
51class FabricationOutputDialog final : public QDialog {
52 Q_OBJECT
53
54public:
55 // Constructors / Destructor
58 explicit FabricationOutputDialog(const WorkspaceSettings& settings,
59 Board& board, QWidget* parent = 0);
61
62signals:
64
65private:
68 void btnGenerateClicked();
70
74 QScopedPointer<Ui::FabricationOutputDialog> mUi;
75 QPointer<QPushButton> mBtnGenerate;
76};
77
78/*******************************************************************************
79 * End of File
80 ******************************************************************************/
81
82} // namespace editor
83} // namespace librepcb
84
85#endif
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The Project class represents a whole (opened) project with all its content.
Definition: project.h:71
Container for all workspace related settings.
Definition: workspacesettings.h:60
The FabricationOutputDialog class.
Definition: fabricationoutputdialog.h:51
void btnGenerateClicked()
Definition: fabricationoutputdialog.cpp:186
void btnBrowseOutputDirClicked()
Definition: fabricationoutputdialog.cpp:241
FabricationOutputDialog(const FabricationOutputDialog &other)=delete
void btnProtelSuffixesClicked()
Definition: fabricationoutputdialog.cpp:168
void btnDefaultSuffixesClicked()
Definition: fabricationoutputdialog.cpp:149
QScopedPointer< Ui::FabricationOutputDialog > mUi
Definition: fabricationoutputdialog.h:74
Board & mBoard
Definition: fabricationoutputdialog.h:73
Project & mProject
Definition: fabricationoutputdialog.h:72
const WorkspaceSettings & mSettings
Definition: fabricationoutputdialog.h:71
~FabricationOutputDialog()
Definition: fabricationoutputdialog.cpp:138
QPointer< QPushButton > mBtnGenerate
Definition: fabricationoutputdialog.h:75
Definition: occmodel.cpp:77