LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sgi_base.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_SGI_BASE_H
21 #define LIBREPCB_PROJECT_SGI_BASE_H
22 
23 /*******************************************************************************
24  * Includes
25  ******************************************************************************/
26 #include "../schematic.h"
27 
28 #include <QtCore>
29 #include <QtWidgets>
30 
31 /*******************************************************************************
32  * Namespace / Forward Declarations
33  ******************************************************************************/
34 namespace librepcb {
35 namespace project {
36 
37 /*******************************************************************************
38  * Class SGI_Base
39  ******************************************************************************/
40 
44 class SGI_Base : public QGraphicsItem {
45 public:
46  // Constructors / Destructor
47  explicit SGI_Base() noexcept;
48  virtual ~SGI_Base() noexcept;
49 
50 private:
51  // make some methods inaccessible...
52  // SGI_Base() = delete;
53  SGI_Base(const SGI_Base& other) = delete;
54  SGI_Base& operator=(const SGI_Base& rhs) = delete;
55 };
56 
57 /*******************************************************************************
58  * End of File
59  ******************************************************************************/
60 
61 } // namespace project
62 } // namespace librepcb
63 
64 #endif // LIBREPCB_PROJECT_SGI_BASE_H
virtual ~SGI_Base() noexcept
Definition: sgi_base.cpp:40
The Schematic Graphics Item Base (SGI_Base) class.
Definition: sgi_base.h:44
SGI_Base & operator=(const SGI_Base &rhs)=delete
SGI_Base() noexcept
Definition: sgi_base.cpp:37