Adds dynamic ui completion. Wohoo :)

This means, creating a new project, we immediately have completion for
the ui file. Also adding stuff to the ui file now changes the codemodel
immediately.

Yet todo, are tests under windows and suppressing a warning if the form
contains a toplevel spacer.
This commit is contained in:
dt
2009-05-12 14:12:20 +02:00
parent 9c9b38e92a
commit af199594a6
11 changed files with 221 additions and 52 deletions

View File

@@ -64,6 +64,7 @@ public:
QString mkspec() const;
QString mkspecPath() const;
QString qmakeCommand() const;
QString uicCommand() const;
QString qtVersionString() const;
// Returns the PREFIX, BINPREFIX, DOCPREFIX and similar information
QHash<QString,QString> versionInfo() const;
@@ -109,7 +110,6 @@ private:
mutable QString m_mkspec; // updated lazily
mutable QString m_mkspecFullPath;
QString m_mingwDirectory;
QString m_prependPath;
QString m_msvcVersion;
mutable QHash<QString,QString> m_versionInfo; // updated lazily
int m_id;
@@ -118,6 +118,7 @@ private:
mutable bool m_defaultConfigIsDebug;
mutable bool m_defaultConfigIsDebugAndRelease;
mutable QString m_qmakeCommand;
mutable QString m_uicCommand;
// This is updated on first call to qmakeCommand
// That function is called from updateVersionInfo()
mutable QString m_qtVersionString;