Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The external feature should be executed manually in order to return first result.
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_DataTreeModel.h
diff --git
a/src/PartSet/PartSet_DataTreeModel.h
b/src/PartSet/PartSet_DataTreeModel.h
index 0e45f455595c3ed370444894f4c53913b84a1279..0fa8f6380b5c145f3add8221916d1326f03cdda0 100644
(file)
--- a/
src/PartSet/PartSet_DataTreeModel.h
+++ b/
src/PartSet/PartSet_DataTreeModel.h
@@
-22,11
+22,7
@@
class PARTSET_EXPORT PartSet_FeaturesModel : public QAbstractItemModel
public:
/// Constructor
/// \param theParent a parent object
public:
/// Constructor
/// \param theParent a parent object
- PartSet_FeaturesModel(QObject* theParent)
- : QAbstractItemModel(theParent),
- myItemsColor(Qt::black)
- {
- }
+ PartSet_FeaturesModel(QObject* theParent);
//! Returns Feature object by the given Model index.
//! Returns 0 if the given index is not index of a feature
//! Returns Feature object by the given Model index.
//! Returns 0 if the given index is not index of a feature
@@
-70,14
+66,9
@@
class PartSet_PartModel : public PartSet_FeaturesModel
public:
/// Constructor
/// \param theParent a parent object
public:
/// Constructor
/// \param theParent a parent object
- PartSet_PartModel(QObject* theParent)
- : PartSet_FeaturesModel(theParent)
- {
- }
- ~PartSet_PartModel()
- {
- myPart = FeaturePtr();
- }
+ PartSet_PartModel(QObject* theParent);
+ /// Destructor
+ ~PartSet_PartModel();
/// Set part id
/// \param theId a new id
/// Set part id
/// \param theId a new id