[Qt-creator] New IMode above Welcome
Eike.Ziller at digia.com
Thu Apr 11 08:18:15 CEST 2013
> From: qt-creator-bounces+eike.ziller=digia.com at qt-project.org [qt-creator-bounces+eike.ziller=digia.com at qt-project.org] on behalf of Guido Seifert [wargand at gmx.de]
> Sent: 10 April 2013 19:18
> To: qt-creator at qt-project.org
> Subject: [Qt-creator] New IMode above Welcome
> currently I am playing around with a new mode for the ctcreator.
> I was able to create a plugin, which adds a new mode. It is displayed
> in the mode bar above 'welcome', making 'welcome' the second in the
> list. However, what I did not figure out yet, is how to make it the
> default mode when the creator starts. Currently when the creator
> starts the welcome is still shown initially. Any idea how to change
> that? Preferably without changing the original qtcreator code?
I'll try hard not to ask why ... (but, why?)
The welcome mode makes itself active in WelcomePlugin::extensionsInitialized().
If you want to hack around and force-make your mode the "startup mode", you can probably
call Core::ModeManager::activateMode(myModeId) in response to Core::ICore::coreAboutToOpen().
Senior Software Engineer
Digia Germany GmbH
Rudower Chaussee 13, D-12489 Berlin
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B,
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
More information about the Qt-creator