> On Jun 26, 2015, at 3:34 PM, Petr Vaněk <[email protected]> wrote:
> 
> hi all,
> 
> here is a new plugin for qtcreator providing a terminal/console pane. 
> Personally I find it useful so maybe somebody else can like it too. Its 
> functionality is simple: it displays a terminal with default shell with 
> optional ability to change directory to currently opened file location. There 
> are also some predefined color schemes.
> 
> https://github.com/qterminal/terminalplugin
> 
> I'd like to ask for advice. What is proposed value for
> Core::IOutputPane::priorityInStatusBar() 
> for 3rd party plugins like this one, please?
> 
> int TerminalPane::priorityInStatusBar() const
> {
>     return 1; // TODO/FIXME: what value to use?
> }

Choose a value that puts it where you like it in the output pane list. I 
suppose it doesn’t matter too much, though you might want to use a value < 20, 
so it comes after the more important default panes and the default shortcuts 
for these are not changed.

Br, Eike

> thanks,
> petr
> 
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
 
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to