diff options
author | suchinton2001 <suchinton.2001@gmail.com> | 2023-10-25 12:12:04 +0530 |
---|---|---|
committer | suchinton2001 <suchinton.2001@gmail.com> | 2023-10-25 12:17:23 +0530 |
commit | 6dbb82d17cfaf77de0cd1b49b0997eab241907bc (patch) | |
tree | be92cb9538828806cfa9137f5f31fe1e516a3471 /extras/UI_Handeler.py | |
parent | b100328904e366b72042a1493bbc9c04c1c45da2 (diff) |
agl-demo-control-panel: Save user preferences for next session
Read from config.ini to load users last uses settings.
SPEC-4905
Signed-off-by: suchinton2001 <suchinton.2001@gmail.com>
Change-Id: I7a8da78a745f56596a84eb6c791af10881c0f7e5
Diffstat (limited to 'extras/UI_Handeler.py')
-rw-r--r-- | extras/UI_Handeler.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/extras/UI_Handeler.py b/extras/UI_Handeler.py index 3e653e4..fa2c3a8 100644 --- a/extras/UI_Handeler.py +++ b/extras/UI_Handeler.py @@ -73,21 +73,12 @@ class UI_Handeler(MainWindow): self.stackedWidget.setCurrentIndex(index) def toggleMaximized(self): - """ - This method toggles the maximized state of the window. - """ if self.isMaximized(): self.showNormal() else: self.showMaximized() def moveWindow(self, event): - """ - This method moves the window by dragging the header. - - Args: - - event: The event object containing information about the mouse event. - """ if event.buttons() == QtCore.Qt.LeftButton: self.move(self.pos() + event.globalPos() - self.clickPosition) self.clickPosition = event.globalPos() |