[Qt-interest] QToolBar have setAlignment-like functions?
Tony Rietwyk
tony.rietwyk at rightsoft.com.au
Wed Sep 8 01:42:12 CEST 2010
Hi James,
I needed a tool bar with a complicated layout. I ended up creating a thin
QWidget with the exact layout that I wanted in designer, then I just added
this single widget to the tool bar in my main window constructor.
Hope that helps,
Tony
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of James Yan
Sent: Wednesday, 8 September 2010 07:01
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] QToolBar have setAlignment-like functions?
any other tricks could keep buttons center in toolbar?
thanks.
On Mon, Sep 6, 2010 at 7:47 PM, James Yan <james.alps at gmail.com> wrote:
Hey,
i want to keep those buttons at center of the toolbar, how to do?
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100908/c070cbe1/attachment.html
More information about the Qt-interest-old
mailing list