diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-11-23 02:48:45 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-11-23 04:56:56 +0100 |
commit | 54e857a7f5ad210d0c833ad063117d1faecc2e76 (patch) | |
tree | 4835520a26a088255680b55e732b35d74cb9974c /application/groupview/InstanceDelegate.h | |
parent | 74c598d756107be817989d87bd4ccf9d1a182e90 (diff) | |
download | MultiMC-54e857a7f5ad210d0c833ad063117d1faecc2e76.tar MultiMC-54e857a7f5ad210d0c833ad063117d1faecc2e76.tar.gz MultiMC-54e857a7f5ad210d0c833ad063117d1faecc2e76.tar.lz MultiMC-54e857a7f5ad210d0c833ad063117d1faecc2e76.tar.xz MultiMC-54e857a7f5ad210d0c833ad063117d1faecc2e76.zip |
NOISSUE proper inline editable instance names
Pretty!
Diffstat (limited to 'application/groupview/InstanceDelegate.h')
-rw-r--r-- | application/groupview/InstanceDelegate.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/application/groupview/InstanceDelegate.h b/application/groupview/InstanceDelegate.h index 251ed875..241869b4 100644 --- a/application/groupview/InstanceDelegate.h +++ b/application/groupview/InstanceDelegate.h @@ -30,8 +30,10 @@ public: QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override; void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const override; QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const override; - /* + void setEditorData(QWidget * editor, const QModelIndex & index) const override; void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const override; - */ + +private slots: + void editingDone(); }; |