Seamly2D
Code documentation
vpropertymodel_p.h
Go to the documentation of this file.
1 /************************************************************************
2  **
3  ** @file vpropertymodel_p.h
4  ** @author hedgeware <internal(at)hedgeware.net>
5  ** @date
6  **
7  ** @brief
8  ** @copyright
9  ** All rights reserved. This program and the accompanying materials
10  ** are made available under the terms of the GNU Lesser General Public License
11  ** (LGPL) version 2.1 which accompanies this distribution, and is available at
12  ** http://www.gnu.org/licenses/lgpl-2.1.html
13  **
14  ** This library is distributed in the hope that it will be useful,
15  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  ** Lesser General Public License for more details.
18  **
19  *************************************************************************/
20 
21 #ifndef VPROPERTYMODEL_P_H
22 #define VPROPERTYMODEL_P_H
23 
24 // ONLY INCLUDE THIS IN .CPP FILES
25 
26 #include <QMap>
27 #include <QString>
28 #include <QObject>
29 
30 namespace VPE
31 {
32 
33 class VProperty;
34 class VPropertySet;
35 
37 {
38 public:
39  //! The property set holding the properties
41 
42  //! The header data for the property name column
44 
45  //! The header data for the value column
46  QString HeadlineValue;
47 
48  //! Constructor
50  : Properties(nullptr), HeadlineProperty(QString()), HeadlineValue(QString())
51  {
52  //: The text that appears in the first column header
53  HeadlineProperty = QObject::tr("Property");
54 
55  //: The text that appears in the second column header
56  HeadlineValue = QObject::tr("Value");
57  }
58 
59 private:
60  Q_DISABLE_COPY(VPropertyModelPrivate)
61 };
62 
63 }
64 
65 #endif // VPROPERTYMODEL_P_H
VPropertyModelPrivate()
Constructor.
VPropertySet * Properties
The property set holding the properties.
QString HeadlineProperty
The header data for the property name column.
QString HeadlineValue
The header data for the value column.
VPropertySet is a simple class for managing a set of properties. If you don't need all the Model-func...
Definition: vpropertyset.h:48