PDA

View Full Version : setFixedSize



raphaelf
22nd February 2006, 10:23
Hello,

QT: 3.4
Compiler: MINGW
OS: WINXP


I want to show my MainWIndow and set a Fixed size, so that nobody are able to make it bigger or smaller ;)

i tried this:



w.setFixedSize(621,647);


The Size is correct, but i am able to change the size with the mouse

wysota
22nd February 2006, 10:56
Set ResizeMode property to Fixed.

zlatko
22nd February 2006, 11:16
Set ResizeMode property to Fixed.
for what?
QMainWindow doesnt have this property :rolleyes:

wysota
22nd February 2006, 11:32
QMainWindow doesnt have this property :rolleyes:

QLayout does.