Move settings into the main window
Replace the modal settings dialog with a shared Settings tab accessible from the main window and tray menu, with explicit Save and Cancel behavior. Improve changelog navigation from update notices and update usage, licensing, and implementation documentation.
This commit is contained in:
@@ -304,10 +304,12 @@ class Monitor(QWidget):
|
||||
def monitor_visible(self):
|
||||
return self.isVisible() and (not self.expanded or self.tabs.currentWidget() is self.resource_page)
|
||||
|
||||
def show_page(self, about=False):
|
||||
self.tabs.setCurrentWidget(self.about_page if about else self.resource_page)
|
||||
def show_page(self, page=None):
|
||||
self.tabs.setCurrentWidget(self.resource_page if page is None else page)
|
||||
self.ensurePolished()
|
||||
self.layout().activate()
|
||||
if self.isMinimized():
|
||||
self.setWindowState(self.windowState() & ~Qt.WindowState.WindowMinimized)
|
||||
self.show()
|
||||
fit_work_area(self)
|
||||
self.raise_()
|
||||
|
||||
Reference in New Issue
Block a user