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 
48  Q_DECLARE_TR_FUNCTIONS(GraphicsLayerStackAppearanceSettings)
49 
50 public:
51  // Constructors / Destructor
52  GraphicsLayerStackAppearanceSettings() noexcept = delete;
54  const GraphicsLayerStackAppearanceSettings& other) = delete;
56  IF_GraphicsLayerProvider& layers) noexcept;
59  const GraphicsLayerStackAppearanceSettings& other) noexcept;
61  const SExpression& node);
63 
65  void serialize(SExpression& root) const override;
66 
67  // Operator Overloadings
69  const GraphicsLayerStackAppearanceSettings& rhs) noexcept;
70 
71 private: // Data
73 };
74 
75 /*******************************************************************************
76  * End of File
77  ******************************************************************************/
78 
79 } // namespace librepcb
80 
81 #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:250
The SerializableObject class is the base class for all classes which need to be serializable/deserial...
Definition: serializableobject.h:46
IF_GraphicsLayerProvider & mLayers
Definition: graphicslayerstackappearancesettings.h:72
The SExpression class.
Definition: sexpression.h:60
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:47
~GraphicsLayerStackAppearanceSettings() noexcept
Definition: graphicslayerstackappearancesettings.cpp:64