[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Borderless Dialog?
From: Kenneth Godee <Ken () perfect-image ! com>
Date: 2003-01-03 22:39:42
[Download RAW message or body]
I'm trying to create a borderless dialog.....
class addcopy(QDialog):
def __init__(self,parent = None,name = None,modal = 0,fl = 0):
QDialog.__init__(self,parent,name,modal,fl)
When I try to set WidgetFlags with...
w = addcopy(fl = Qt.WStyle_NoBorder)
I get no changes in the Window(widget) and no errors, nothing.
When I try......
w = addcopy(fl = Qt.MotifStyle)
I get a borderless dialog Window(widget)!
Maybe QWidget won't let me do NoBorder, because it's a dialog?
I get a borderless dialog window with the above Qt.MotifStyle,
is this because maybe it's just blowing away all the style flags, I
really don't end up with Motif Style, just a borderless dialog window?
Doesn't seem correct to use the Qt.MotifStyle to get to borderless?
Any suggestions on how to create a borderless dialog?
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic