Merge pull request #888 from MikeTheWatchGuy/Dev-latest

Window Move and Minimize
This commit is contained in:
MikeTheWatchGuy 2018-12-09 15:46:28 -05:00 committed by GitHub
commit 7f913155b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

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