Commit Graph

12 Commits

Author SHA1 Message Date
Kai Koehne
4b504323ec Show horizontal scrollbar in navigator views (if needed)
Requested by con.
2010-07-16 16:27:14 +02:00
Denis Mingulov
5af6f15f7c Utils::NavigationTreeView is created - as a base class for any Navigation Widget (Side Bar) tree view
Merge-request: 2167
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2010-07-16 11:24:02 +02:00
Kai Koehne
679ccc3b74 QmlOutline: Add filter for hiding bindings (properties) 2010-07-14 16:56:14 +02:00
Kai Koehne
4e6c8e38be CppOutline: Fix navigation to e.g. enum members
Use symbol->line() && symbol->column() instead going through the
translation unit. That's also what CppEditor does in
jumpToOutlineElement().
2010-07-14 12:55:58 +02:00
Kai Koehne
5aea93028f Add position to navigation history when navigating through outline 2010-07-14 12:55:58 +02:00
Kai Koehne
97444004ec CppEditor: Beautify names in API
Rename method[Overview] to outline
2010-07-13 11:46:13 +02:00
Kai Koehne
503f720f85 Outline: Make recalculation of current model index more robust 2010-07-12 16:40:43 +02:00
Kai Koehne
0f8a491e7a Make sure current index is always visible in Outline QTreeViews 2010-07-09 15:27:32 +02:00
Kai Koehne
d3c4f329d7 CppEditor: Don't show 'generated' symbols in the outline
Don't show e.g. all the methods that are defined by the Q_OBJECT
macro in the outline. We skip these by checking for Symbol->isGenerated
in the two proxy models used.
2010-07-08 17:03:38 +02:00
Kai Koehne
82497a9545 CppEditor: Re-use also the code to find the right index
Don't calculate the right QModelIndex twice.
2010-07-08 16:19:05 +02:00
Kai Koehne
2ba49e4e72 CppEditor: Reuse OverviewModel from text editor also in the outline pane
There's no use synchronizing the same model twice.
2010-07-08 16:19:05 +02:00
Kai Koehne
1fff761d57 Support Outline sidebar for C++ files 2010-07-08 14:02:51 +02:00