I have a suggestion to Qt creator - [I am currently using Qt Creator 2.0.94 (2.1.0-rc1)--]
When I am coding with pointers like for eg -
@ QGridLayout* layout = new QGridLayout();
later after this if I type layout followed by a dot .. it changes to layout-> automatically and shows a content assist with the avialable functions and variables etc., making my life easy.
But when I am using a QScopePointer like -
@QScopedPointer<QTableView> table(new QTableView);@
and now to get the content assist for functions in the QTableView, I have to manually enter both - and > like table->, which requires 3 key press, - followed by Shift + . (>)
This is not a major concern but is slightly irritating. Most of the time we will be working on methods in QTableView and use function like reset and others in QScopePointer in a relatively smaller percent. So having to remember to type -,> every time is a bit annoying.
So can this be changed and made such that a dot following a QScopePointer behaves in a similar way to normal pointer.
This is also the case with other such classes like QSharedPointer and QPointer etc..
and I type table followed by dot, it shows the functions available from the QScopedPointer