QObject *m_parent;
};
+class RowDelegate : public QItemDelegate
+{
+ Q_OBJECT
+
+public:
+ RowDelegate(QObject *parent = 0);
+
+private slots:
+ void commitAndCloseEditor();
+
+ private:
+ QObject *m_parent;
+};
+
class CellDelegate : public QItemDelegate
{
Q_OBJECT