Controlling menubar title on Ubuntu 11.10?

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


Hi,

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.)
>
> 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 lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>




More information about the Ubuntu-devel-discuss mailing list