[Qt-interest] Something strange, I custom widget inherit Qwidget x, y, w, h are all zero , and setGeometry doesn's work ?
alessandro.portale at nokia.com
alessandro.portale at nokia.com
Sun Aug 29 19:19:07 CEST 2010
- Previous message: [Qt-interest] Something strange, I custom widget inherit Qwidget x, y, w, h are all zero , and setGeometry doesn's work ?
- Next message: [Qt-interest] Something strange, I custom widget inherit Qwidget x, y, w, h are all zero , and setGeometry doesn's work ?
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi,
did you set Your widget as central widget of the mainwindow? That should also lay Your widget out, so that it fills the mainwindow.
See:
http://doc.qt.nokia.com/latest/qmainwindow.html#setCentralWidget
Alessandro
________________________________________
From: qt-interest-bounces at trolltech.com [qt-interest-bounces at trolltech.com] On Behalf Of ext Qzi [hotseason007 at gmail.com]
Sent: Sunday, August 29, 2010 11:29
Hi all
Something strange, I custom widget inherit Qwidget x,y,w,h are all zero , and setGeometry doesn's work ?
My custom widget is in mainwindow .
- Previous message: [Qt-interest] Something strange, I custom widget inherit Qwidget x, y, w, h are all zero , and setGeometry doesn's work ?
- Next message: [Qt-interest] Something strange, I custom widget inherit Qwidget x, y, w, h are all zero , and setGeometry doesn's work ?
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Qt-interest-old
mailing list