[Qt-creator] New IMode above Welcome
tobias.hunger at gmail.com
Thu Apr 11 08:29:07 CEST 2013
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
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.
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
>> 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
More information about the Qt-creator