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_PROJECT_FABRICATIONOUTPUTDIALOG_H
21 #define LIBREPCB_PROJECT_FABRICATIONOUTPUTDIALOG_H
22 
23 /*******************************************************************************
24  * Includes
25  ******************************************************************************/
26 #include <QtCore>
27 #include <QtWidgets>
28 
29 /*******************************************************************************
30  * Namespace / Forward Declarations
31  ******************************************************************************/
32 namespace librepcb {
33 namespace project {
34 
35 class Project;
36 class Board;
37 
38 namespace editor {
39 
40 namespace Ui {
41 class FabricationOutputDialog;
42 }
43 
44 /*******************************************************************************
45  * Class FabricationOutputDialog
46  ******************************************************************************/
47 
51 class FabricationOutputDialog final : public QDialog {
52  Q_OBJECT
53 
54 public:
55  // Constructors / Destructor
56  FabricationOutputDialog() = delete;
57  FabricationOutputDialog(const FabricationOutputDialog& other) = delete;
58  explicit FabricationOutputDialog(Board& board, QWidget* parent = 0);
60 
61 private slots:
62  void on_btnDefaultSuffixes_clicked();
63  void on_btnProtelSuffixes_clicked();
64  void on_btnGenerate_clicked();
65  void on_btnBrowseOutputDir_clicked();
66 
67 private:
68  QStringList getTopSilkscreenLayers() const noexcept;
69  QStringList getBotSilkscreenLayers() const noexcept;
70 
73  Ui::FabricationOutputDialog* mUi;
74 };
75 
76 /*******************************************************************************
77  * End of File
78  ******************************************************************************/
79 
80 } // namespace editor
81 } // namespace project
82 } // namespace librepcb
83 
84 #endif // LIBREPCB_PROJECT_FABRICATIONOUTPUTDIALOG_H
Definition: mainwindow.h:10
Project & mProject
Definition: fabricationoutputdialog.h:71
Definition: airwiresbuilder.cpp:32
The FabricationOutputDialog class.
Definition: fabricationoutputdialog.h:51
Ui::FabricationOutputDialog * mUi
Definition: fabricationoutputdialog.h:73
The Project class represents a whole (opened) project with all its content.
Definition: project.h:80
Board & mBoard
Definition: fabricationoutputdialog.h:72
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:83