main window temporary hide bug seems to be fixed
This commit is contained in:
parent
36256e6ac7
commit
83bb1ceaf2
|
@ -4,8 +4,6 @@ clientmachine=localhost
|
||||||
clientmachinematch=0
|
clientmachinematch=0
|
||||||
desktop=-1
|
desktop=-1
|
||||||
desktoprule=2
|
desktoprule=2
|
||||||
fsplevel=2
|
|
||||||
fsplevelrule=2
|
|
||||||
skippager=true
|
skippager=true
|
||||||
skippagerrule=2
|
skippagerrule=2
|
||||||
wmclass=photoframe
|
wmclass=photoframe
|
||||||
|
|
|
@ -61,7 +61,7 @@ class Window(QDialog):
|
||||||
|
|
||||||
self.ui = Ui_PhotoFrame()
|
self.ui = Ui_PhotoFrame()
|
||||||
self.ui.setupUi(self)
|
self.ui.setupUi(self)
|
||||||
self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint)
|
self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint)
|
||||||
self.locked = True
|
self.locked = True
|
||||||
self.resize(SizeX, SizeY)
|
self.resize(SizeX, SizeY)
|
||||||
self.move(PosX,PosY)
|
self.move(PosX,PosY)
|
||||||
|
@ -95,7 +95,7 @@ class Window(QDialog):
|
||||||
window.show()
|
window.show()
|
||||||
|
|
||||||
def Lock(self):
|
def Lock(self):
|
||||||
window.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint)
|
window.setWindowFlags(MainWindowType | Qt.FramelessWindowHint)
|
||||||
self.locked = True
|
self.locked = True
|
||||||
window.show()
|
window.show()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue