Controlling menubar title on Ubuntu 11.10?
realnc at gmail.com
Thu Mar 15 17:14:21 UTC 2012
I don't think you understand the problem. I know how to set the window
title. What I need to know is how to set the menu bar title. The menu
bar is unique to Ubuntu's Unity desktop, which is why this is the
appropriate mailing list.
When I set setWindowTitle("Choose the file you wish to play"), then
Unity's menu bar calls my application "Choose the file you wish to play".
On 15/03/12 13:34, Rigved Rakshit wrote:
> For a dialog, you can do this via:
> dialog.setWindowTitle(tr("New Dialog Title here"));
> assuming that you have set the necessary macros for 'tr'.
> Documentation: http://qt-project.org/doc/qt-4.8/qwidget.html#windowTitle-prop
> Please note that this is a C++/QT-specific query and as such, should
> be directed to the appropriate forums/mailing-lists/IRC channels.
> Hope this helps!
> Best Regards,
> Rigved Rakshit
> On 3/14/12, Nikos Chantziaras<realnc at gmail.com> wrote:
>> (I initially sent this to ubuntu-devel, but it didn't make it through.)
>> I wrote an application that, at startup, prompts the user for a file
>> (using a standard "open file" dialog). Ubuntu 11.10 takes the title of
>> that dialog ("Choose the file you wish to play") and uses it for the
>> rest of the application's session. This is wrong of course. The menu
>> bar should display the application's name.
>> Is there a way I can control the title of the menu bar?
>> The GUI of the application is written using Qt.
>> Ubuntu-devel-discuss mailing list
>> Ubuntu-devel-discuss at lists.ubuntu.com
>> Modify settings or unsubscribe at:
More information about the Ubuntu-devel-discuss