QFrame and disable maximum attribute

Mohsen Pahlevanzadeh mohsen at pahlevanzadeh.org
Wed Sep 18 01:46:03 EDT 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://mail.python.org/pipermail/python-list/attachments/20130918/6440c725/attachment.bin>


More information about the Python-list mailing list