Seamly2D
Code documentation
vpropertyformview_p.h
Go to the documentation of this file.
1 /************************************************************************
2  **
3  ** @file vpropertyformview_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 VPROPERTYFORMVIEW_P_H
22 #define VPROPERTYFORMVIEW_P_H
23 
24 // ONLY INCLUDE THIS IN .CPP FILES
25 
26 #include "vpropertyformwidget_p.h"
27 #include "../vmisc/diagnostic.h"
28 
29 namespace VPE
30 {
31 
32 QT_WARNING_PUSH
33 QT_WARNING_DISABLE_CLANG("-Wweak-vtables")
34 
36 {
37 public:
38  //! The current property model
40 
41  //! The currently used property set
43 
44  //! Determines whether the widget needs to be rebuild
46 
47  //! Helper variable
49 
51  : VPropertyFormWidgetPrivate(), Model(nullptr), PropertySet(nullptr), NeedsRebuild(false),
52  IgnoreDataChangedSignal(false)
53  {}
54 
56  : VPropertyFormWidgetPrivate(), Model(prop_model), PropertySet(nullptr), NeedsRebuild(false),
57  IgnoreDataChangedSignal(false)
58  {}
59 
61  : VPropertyFormWidgetPrivate(), Model(nullptr), PropertySet(prop_set), NeedsRebuild(false),
62  IgnoreDataChangedSignal(false)
63  {}
64 
65  virtual ~VPropertyFormViewPrivate() Q_DECL_OVERRIDE {}
66 
67 private:
68  Q_DISABLE_COPY(VPropertyFormViewPrivate)
69 };
70 
72 
73 }
74 
75 #endif // VPROPERTYFORMVIEW_P_H
VPropertyModel * Model
The current property model.
VPropertyFormViewPrivate(VPropertySet *prop_set)
virtual ~VPropertyFormViewPrivate() Q_DECL_OVERRIDE
VPropertyFormViewPrivate(VPropertyModel *prop_model)
bool NeedsRebuild
Determines whether the widget needs to be rebuild.
VPropertySet * PropertySet
The currently used property set.
bool IgnoreDataChangedSignal
Helper variable.
This is the base model for managing all the properties and passing them to the view.
VPropertySet is a simple class for managing a set of properties. If you don't need all the Model-func...
Definition: vpropertyset.h:48