Reputation: 439
I'm a new in Python. I would like to know can I create good interface on python, something like WPF? I didn't find any glass effect with PyQt. It's really important for my decision. Thanks.
I'm sorry that I didn't give a lot of details. I need to port WPF app to python. The main goal I still need a good UI. Can I make something like this http://www.codeproject.com/KB/silverlight/SilverlightGlassOrbButton.aspx?msg=3170079 on python? Can I use different styles for mouseover and normal state?
Upvotes: 2
Views: 7540
Reputation: 13007
If you have no luck with Qt, wxPython can do it. See How to draw a transparent frame in wxpython.
Upvotes: 0
Reputation: 5953
Also, in the new QT RC there is a new support system for GUI related stuff. QML it is called, and examples can be found here. I do not know if it alreade wrapped in PyQT but I suppose it is possible to use it in combination with PyQT.
Upvotes: 2
Reputation: 25690
If glass effect = transparency, then Qt supports this, but it requires a special flag set on the window. See http://doc.qt.nokia.com/qq/qq16-background.html for some examples.
If you want a blurred background, then I doubt it can be done as easily, since not many GUI-frameworks that Qt supports do compositing like Vista & Win7, so it's probably hard to abstract into a cross-platform toolkit.
But simpler things might be possible, and with QGraphicsScene, you can do a lot of these things yourself (but not w.r.t. the window's background, IIUC).
Upvotes: 1
Reputation: 40894
Glass effect is probably a Qt skin and has nothing to do with Python in particular. People say that there's a tutorial for Qt skinning. I failed to quickly google a ready-made glass-like skin, though.
Upvotes: 3