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
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