Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2007
Dock Widget Area Default Size?


Message 1 in thread

I'm not sure how to approach this problem. As far as I can tell from
the Qt docs, there's no straightforward method to set this, but
perhaps I'm missing something.

I've got a left and right dock area in my QMainWindow. When a
QDockWidget is dragged to an area without any other dock widgets, the
dock area is automatically sized to a pre-determined size or ratio.
I'd like to be able to set this default size, somehow. Any ideas on a
good way to do this? I'd prefer to try and do it from the QMainWindow,
rather than forcing the QDockWidgets to explicity resize myself, if
possible..

--
 [ signature omitted ] 

Message 2 in thread

My apologies if everyone receives this twice. I don't think it sent
the first time.

I'm not sure how to approach this problem. As far as I can tell from
the Qt docs, there's no straightforward method to set this, but
perhaps I'm missing something.

I've got a left and right dock area in my QMainWindow. When a
QDockWidget is dragged to an area without any other dock widgets, the
dock area is automatically sized to a pre-determined size or ratio.
I'd like to be able to set this default size, somehow. Any ideas on a
good way to do this? I'd prefer to try and do it from the QMainWindow,
rather than forcing the QDockWidgets to explicity resize myself, if
possible..

--
 [ signature omitted ]