and how do I add QDockWidgets to a custom widget to get the desired behavior?
On 7/15/10, Mark Summerfield <[email protected]> wrote: > On 2010-07-15, Lic. José M. Rodriguez Bacallao wrote: >> as dock widgets can only be placed in a main window, can I make an >> internal main window as central widget of my main application windows >> and then treat dock widgets in the central main window widget as my >> display windows? this central main window doesn't have any central >> widget at all. is this ok? > [snip] > > It will probably work but I would consider it to be poor practice. > Personally I'd create a custom QWidget subclass with exactly the desired > behaviour rather than abuse a standard Qt widget:-) > > -- > Mark Summerfield, Qtrac Ltd, www.qtrac.eu > C++, Python, Qt, PyQt - training and consultancy > "Advanced Qt Programming" - ISBN 0321635906 > http://www.qtrac.eu/aqpbook.html > -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica ----------------------------------------------------------------- Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales ----------------------------------------------------------------- _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
