Hi all,

Am using PyQt.I want my window not to be resized or moved, so in the Qt docs , i have been instructed to use setWindowFlags.My application is a QWizard application.Below you can find the code,

******************************************
from qt import *
from YoperInstaller import *
import sys

def main(args):
    app=QApplication(args)
    win=YoperInstaller(app)
    app.setMainWidget(win)
    app.setWindowFlags(app.FramelessWindowHint ) ===> doesnt work :(
    win.show()
    app.exec_loop()
   
if __name__ == "__main__":
    main(sys.argv)
*********************************************

The YoperInstaller is the GUI Module(QWizard).The setWindowFlags doesnt work.

I would be happy if anybody could help me .

And also, what is the function to disable the Max,Min and Close Button in the Top Window?

Thanks in advance.

--
Regards,
Chaks,
Yoper Ltd.
http://www.yoper.com
http://www.yoper.com/forum
--
The main aim of communication is clarity and simplicity. Simplicity means focussed effort.
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to