Controlling menubar title on Ubuntu 11.10?

Rigved Rakshit r.phate at
Thu Mar 15 11:34:42 UTC 2012


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'.


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> wrote:
> (I initially sent this to ubuntu-devel, but it didn't make it through.)
> Hello.
> 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
> Modify settings or unsubscribe at:

More information about the Ubuntu-devel-discuss mailing list