Window Move and Minimize

This commit is contained in:
MikeTheWatchGuy 2018-12-09 15:45:59 -05:00
parent 44bd104cb7
commit 7fa5fe659e
1 changed files with 3 additions and 5 deletions

View File

@ -3362,12 +3362,11 @@ class Window:
return screen_width, screen_height
def Move(self, x, y):
# TODO
return
self.QT_QMainWindow.move(x, y)
def Minimize(self):
# TODO
return
self.QT_QMainWindow.setWindowState(Qt.WindowMinimized)
def StartMove(self, event):
try:
@ -4803,7 +4802,6 @@ def PackFormIntoFrame(window, containing_frame, toplevel_win):
else:
style += "QProgressBar { border: %spx solid grey; border-radius: 5px; background-color: %s}"%(border_depth, DEFAULT_PROGRESS_BAR_COLOR[1])
print(style)
element.QT_QProgressBar.setStyleSheet(style)
element.QT_QProgressBar.setTextVisible(False)