[Qt-interest] Resizing Custom Title-bar Widget on a QDockWidget

Alexandre Beraud aberaud at infflux.com
Fri Jan 14 15:58:56 CET 2011


setMaximumHeight() ?

Alex


Le 14/01/2011 15:48, hazreti coolcuzu a écrit :
> Thanks for your reply. I tried what you just said, but it didn't work.
>
> Any other suggestion?
>
> On Fri, Jan 14, 2011 at 2:31 PM, sarvesh saran 
> <aquarian.thunder at gmail.com <mailto:aquarian.thunder at gmail.com>> wrote:
>
>     Hi,
>
>     You could try retrieving the title bar widget and call resize(int
>     w, int h) ?
>
>     thanks,
>     Sarvesh
>
>     On Fri, Jan 14, 2011 at 5:22 PM, hazreti coolcuzu
>     <coolcuzu at gmail.com <mailto:coolcuzu at gmail.com>> wrote:
>
>         I created a custom widget, and assigned an instance of it as
>         title bar widget for a QDockWidget object.
>
>         The problem is that the height of title bar widget is too
>         high. Is there any way to resize title bar widget?
>
>         _______________________________________________
>         Qt-interest mailing list
>         Qt-interest at qt.nokia.com <mailto:Qt-interest at qt.nokia.com>
>         http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
>
>     _______________________________________________
>     Qt-interest mailing list
>     Qt-interest at qt.nokia.com <mailto:Qt-interest at qt.nokia.com>
>     http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110114/873bcb88/attachment.html 


More information about the Qt-interest-old mailing list