labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

AspectPrivate.h
Go to the documentation of this file.
1 /***************************************************************************
2  File : AspectPrivate.h
3  Project : LabPlot
4  Description : Private data managed by AbstractAspect.
5  --------------------------------------------------------------------
6  Copyright : (C) 2013 by Alexander Semke (alexander.semke@web.de)
7  Copyright : (C) 2007 by Knut Franke (knut.franke@gmx.de)
8  Copyright : (C) 2007 Tilman Benkert (thzs@gmx.net)
9 
10  ***************************************************************************/
11 
12 /***************************************************************************
13  * *
14  * This program is free software; you can redistribute it and/or modify *
15  * it under the terms of the GNU General Public License as published by *
16  * the Free Software Foundation; either version 2 of the License, or *
17  * (at your option) any later version. *
18  * *
19  * This program is distributed in the hope that it will be useful, *
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22  * GNU General Public License for more details. *
23  * *
24  * You should have received a copy of the GNU General Public License *
25  * along with this program; if not, write to the Free Software *
26  * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
27  * Boston, MA 02110-1301 USA *
28  * *
29  ***************************************************************************/
30 #ifndef ASPECT_PRIVATE_H
31 #define ASPECT_PRIVATE_H
32 
33 #include <QDateTime>
34 #include <QList>
35 
36 class AbstractAspect;
37 
39 public:
40  explicit AbstractAspectPrivate(AbstractAspect* owner, const QString& name);
42 
43  void insertChild(int index, AbstractAspect*);
44  int indexOfChild(const AbstractAspect*) const;
46 
47 public:
49  QString m_name;
50  QString m_comment;
51  QDateTime m_creation_time;
52  bool m_hidden{false};
53  AbstractAspect* const q;
55  bool m_undoAware{true};
56  bool m_isLoading{false};
57 };
58 
59 #endif // ifndef ASPECT_PRIVATE_H
int removeChild(AbstractAspect *)
AbstractAspect *const q
Definition: AspectPrivate.h:53
AbstractAspect * m_parent
Definition: AspectPrivate.h:54
void insertChild(int index, AbstractAspect *)
QVector< AbstractAspect * > m_children
Definition: AspectPrivate.h:48
AbstractAspectPrivate(AbstractAspect *owner, const QString &name)
int indexOfChild(const AbstractAspect *) const
Base class of all persistent objects in a Project.