[PyQt] QFrame and disable maximum attribute

Mohsen Pahlevanzadeh mohsen at pahlevanzadeh.org
Wed Sep 18 06:47:01 BST 2013


Dear all,

I need to disbale maximum attribute , and want to fix size of my QFrame,
i set : 
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
QtGui.QSizePolicy.Fixed)
i attached my ui file , 
you can : pyuic4 -x myfile.ui -i output.py 
then see my attribute.

Question: How can i disable for user to couldn't maximum and minimum
attributes?

Yours,
Mohsen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: materialsFindFrame.ui
Type: application/x-designer
Size: 15193 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130918/d99eecab/attachment.bin>


More information about the PyQt mailing list