Salome HOME
Issue #1949: Process first enter as entering a data
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_WidgetField.h
index e0084fcb335dd765b93a21a84df72df85ec7fbb1..515a442aaf3dfd878b15dcf48546dce9eb46e853 100644 (file)
@@ -36,8 +36,7 @@ class DataTableItemDelegate : public QStyledItemDelegate
 {
  Q_OBJECT
 public:
-  DataTableItemDelegate(ModelAPI_AttributeTables::ValueType theType) :
-      QStyledItemDelegate() { myType = theType; }
+  DataTableItemDelegate(ModelAPI_AttributeTables::ValueType theType);
 
   virtual QWidget* createEditor(QWidget* theParent,
                                 const QStyleOptionViewItem & theOption,
@@ -47,6 +46,9 @@ public:
 
   void setDataType(ModelAPI_AttributeTables::ValueType theType) { myType = theType; }
 
+//protected:
+//  bool eventFilter(QObject* theObj, QEvent* theEvent);
+
 private:
   ModelAPI_AttributeTables::ValueType myType;
 };