[Qt-creator] New IMode above Welcome

Tobias Hunger tobias.hunger at gmail.com
Thu Apr 11 08:29:07 CEST 2013

Hello Guido!

I really hate people introducing new modes: They break the keyboard
shortcuts (Ctrl-2 for edit, Ctrl-7 for Help, etc.) that I came to
depend on.

Can't you just (integrate your mode with|replace) an existing one?
E.g. the pages in the welcome mode can be reused IIRC to make creating
custom welcome modes simple.

Best Regards,

2013/4/11 Ziller Eike <Eike.Ziller at digia.com>:
>> ________________________________________
>> 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
>> Hi,
>> 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().
> Br, Eike
> --
> Eike Ziller
> 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
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

More information about the Qt-creator mailing list