{
Q_OBJECT
public:
- DataTableItemDelegate(ModelAPI_AttributeTables::ValueType theType) :
- QStyledItemDelegate() { myType = theType; }
+ DataTableItemDelegate(ModelAPI_AttributeTables::ValueType theType);
virtual QWidget* createEditor(QWidget* theParent,
const QStyleOptionViewItem & theOption,
void setDataType(ModelAPI_AttributeTables::ValueType theType) { myType = theType; }
+//protected:
+// bool eventFilter(QObject* theObj, QEvent* theEvent);
+
private:
ModelAPI_AttributeTables::ValueType myType;
};