LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
graphicslayerstackappearancesettings.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_GRAPHICSLAYERSTACKAPPEARANCESETTINGS_H
21 #define LIBREPCB_GRAPHICSLAYERSTACKAPPEARANCESETTINGS_H
22 
23 /*******************************************************************************
24  * Includes
25  ******************************************************************************/
26 #include "../fileio/serializableobject.h"
27 
28 #include <QtCore>
29 
30 /*******************************************************************************
31  * Namespace / Forward Declarations
32  ******************************************************************************/
33 namespace librepcb {
34 
35 class IF_GraphicsLayerProvider;
36 
37 /*******************************************************************************
38  * Class GraphicsLayerStackAppearanceSettings
39  ******************************************************************************/
40 
45  Q_DECLARE_TR_FUNCTIONS(GraphicsLayerStackAppearanceSettings)
46 
47 public:
48  // Constructors / Destructor
49  GraphicsLayerStackAppearanceSettings() noexcept = delete;
51  const GraphicsLayerStackAppearanceSettings& other) = delete;
53  IF_GraphicsLayerProvider& layers) noexcept;
56  const GraphicsLayerStackAppearanceSettings& other) noexcept;
58  const SExpression& node);
60 
62  void serialize(SExpression& root) const override;
63 
64  // Operator Overloadings
66  const GraphicsLayerStackAppearanceSettings& rhs) noexcept;
67 
68 private: // Data
70 };
71 
72 /*******************************************************************************
73  * End of File
74  ******************************************************************************/
75 
76 } // namespace librepcb
77 
78 #endif // LIBREPCB_GRAPHICSLAYERSTACKAPPEARANCESETTINGS_H
GraphicsLayerStackAppearanceSettings & operator=(const GraphicsLayerStackAppearanceSettings &rhs) noexcept
Definition: graphicslayerstackappearancesettings.cpp:87
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers...
Definition: graphicslayer.h:227
The SerializableObject class is the base class for all classes which need to be serializable/deserial...
Definition: serializableobject.h:43
IF_GraphicsLayerProvider & mLayers
Definition: graphicslayerstackappearancesettings.h:69
The SExpression class.
Definition: sexpression.h:57
void serialize(SExpression &root) const override
Serialize the object into an existing S-Expression node.
Definition: graphicslayerstackappearancesettings.cpp:71
The GraphicsLayerStackAppearanceSettings class.
Definition: graphicslayerstackappearancesettings.h:44
~GraphicsLayerStackAppearanceSettings() noexcept
Definition: graphicslayerstackappearancesettings.cpp:64