diff options
author | con <qtc-committer@nokia.com> | 2009-09-14 17:00:57 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-09-15 14:22:12 +0200 |
commit | e2ff55914835380871c62125ba67b60415c9327e (patch) | |
tree | 744a941b6592d6fce494c3665312533915256141 /src/plugins/coreplugin/editormanager/openeditorsview.h | |
parent | 96b938e3fa1dd9aefab0069b435f29496fdfdc8a (diff) | |
download | qt-creator-e2ff55914835380871c62125ba67b60415c9327e.tar.gz |
Make open documents view keyboard navigation work.
Diffstat (limited to 'src/plugins/coreplugin/editormanager/openeditorsview.h')
-rw-r--r-- | src/plugins/coreplugin/editormanager/openeditorsview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.h b/src/plugins/coreplugin/editormanager/openeditorsview.h index 9fe8da904b..706b3d3637 100644 --- a/src/plugins/coreplugin/editormanager/openeditorsview.h +++ b/src/plugins/coreplugin/editormanager/openeditorsview.h @@ -67,6 +67,8 @@ public: OpenEditorsWidget(); ~OpenEditorsWidget(); + bool eventFilter(QObject *obj, QEvent *event); + private slots: void handleClicked(const QModelIndex &); void handlePressed(const QModelIndex &); @@ -74,6 +76,9 @@ private slots: void contextMenuRequested(QPoint pos); private: + void activateEditor(const QModelIndex &index); + void closeEditor(const QModelIndex &index); + Ui::OpenEditorsView m_ui; QWidget *m_widget; OpenEditorsDelegate *m_delegate; |