[Qt-creator] The "Intellisense" popup and parameters for static methods
Jan Ekholm
jan.ekholm at smultron.net
Sat Jan 24 22:16:54 CET 2009
Hi,
While using the snapshot from the 21st of January I noticed that the
intellisense popup (the one showing parameters to methods) can get a bit
confused with static methods. When I've written:
QDateTime date = QDateTime::fromString(
and the cursor is after the "(" and activate the popup that shows parameters
it shows me the parameters for all available QDateTime constructors. For the
above it would list:
QDateTime ()
QDateTime ( const QDate & date )
QDateTime ( const QDate & date, const QTime & time, Qt::TimeSpec spec =
Qt::LocalTime )
QDateTime ( const QDateTime & other )
instead of the expected:
QDateTime fromString ( const QString & string, Qt::DateFormat format =
Qt::TextDate )
QDateTime fromString ( const QString & string, const QString & format )
The same happens for instance with QDate::fromJulianDay ( int jd ) where the
constructors are also shown instead of:
QDate fromJulianDay ( int jd )
I hope this makes sense. A screenshot of course says more than a thousand
words so:
http://www.smultron.net/tmp/creator-popup.jpg
This is on Linux with:
Built on Jan 21 2009 at 17:43:45
From revision bc0717d06a
--
The trouble with being a god is that you've got no one to pray to.
-- Terry Pratchett, Small Gods
More information about the Qt-creator-old
mailing list