diff options
author | Pierre Rossi <pierre.rossi@nokia.com> | 2009-11-19 17:34:43 (GMT) |
---|---|---|
committer | Pierre Rossi <pierre.rossi@nokia.com> | 2009-11-23 14:50:48 (GMT) |
commit | 44bea4d915ccfcb43b5392b4b915b9cb40f59faa (patch) | |
tree | 91f4e536c7e59b503854e693d6b77eb6428104b9 /examples/itemviews/frozencolumn/freezetablewidget.h | |
parent | 4cfc3a884835667fe8c3a6aa745dc4ace34794e4 (diff) | |
download | Qt-44bea4d915ccfcb43b5392b4b915b9cb40f59faa.zip Qt-44bea4d915ccfcb43b5392b4b915b9cb40f59faa.tar.gz Qt-44bea4d915ccfcb43b5392b4b915b9cb40f59faa.tar.bz2 |
A few tweaks to the frozen column example
Reviewed-By: Thierry
Diffstat (limited to 'examples/itemviews/frozencolumn/freezetablewidget.h')
-rw-r--r-- | examples/itemviews/frozencolumn/freezetablewidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/itemviews/frozencolumn/freezetablewidget.h b/examples/itemviews/frozencolumn/freezetablewidget.h index 403890f..d236d40 100644 --- a/examples/itemviews/frozencolumn/freezetablewidget.h +++ b/examples/itemviews/frozencolumn/freezetablewidget.h @@ -56,6 +56,7 @@ public: protected: virtual void resizeEvent(QResizeEvent *event); virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); + void scrollTo (const QModelIndex & index, ScrollHint hint = EnsureVisible); private: QTableView *frozenTableView; |