[Qt-interest] Add a button to the title bar

Harish Surana surana4u at gmail.com
Thu Oct 28 07:36:34 CEST 2010


Hi,

I think second way is good because then you can use it on any platform. A
ready made custom titlebar is available here:

http://developer.qt.nokia.com/faq/answer/how_can_i_handle_events_in_the_titlebar_and_change_its_color_etc

Harish

On Thu, Oct 28, 2010 at 12:17 AM, <qt-interest-request at trolltech.com> wrote:

> Send Qt-interest mailing list submissions to
>        qt-interest at trolltech.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.trolltech.com/mailman/listinfo/qt-interest
> or, via email, send a message with subject or body 'help' to
>        qt-interest-request at trolltech.com
>
> You can reach the person managing the list at
>        qt-interest-owner at trolltech.com
>
> Hi all,
>
> I just finished an algorithm to maximize my application to multiple screens
> and now I have a little question.
> Do any of you know how to put an extra button at the title bar?. I'd like
> to
> ask you if you know a way of doing it with Qt, not with the window manager.
> Is it possible?
>
> I've been searching in google and found that right now I have two options.
> First, to use MFC to add the button (I'm working with windows right now).
> The problem is that i'm using Visual Studio Express.
>
> And the other option is to hide the title bar (Frameless window?) and draw
> a
> custom title bar and reimplement all the funcionallity.
>
> So, what do you think? What's the easiest way to just add a button to the
> title bar?
>
> Thanks,
>
>
> Frai
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101028/777a4678/attachment.html 


More information about the Qt-interest-old mailing list