Move main and filter tab at an inner level
This commit is contained in:
@@ -189,11 +189,17 @@ class Artemis(QMainWindow, Ui_MainWindow):
|
|||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def set_visible_tab(self):
|
def set_visible_tab(self):
|
||||||
"""Set the current main tab when double-clicking a signal name."""
|
"""Set the current main tab when double-clicking a signal name.
|
||||||
|
|
||||||
|
Switch between main and filter tab when double-clicking multiple times."""
|
||||||
|
set_main = False
|
||||||
if self.main_tab.currentWidget() != self.signal_properties_tab:
|
if self.main_tab.currentWidget() != self.signal_properties_tab:
|
||||||
self.main_tab.setCurrentWidget(self.signal_properties_tab)
|
self.main_tab.setCurrentWidget(self.signal_properties_tab)
|
||||||
|
set_main = True
|
||||||
|
if self.signal_tab.currentWidget() != self.signal_main_tab or set_main:
|
||||||
|
self.signal_tab.setCurrentWidget(self.signal_main_tab)
|
||||||
else:
|
else:
|
||||||
self.main_tab.setCurrentWidget(self.filter_tab)
|
self.signal_tab.setCurrentWidget(self.filter_tab)
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def start_update_forecast(self):
|
def start_update_forecast(self):
|
||||||
|
|||||||
9328
src/artemis.ui
9328
src/artemis.ui
File diff suppressed because it is too large
Load Diff
@@ -303,11 +303,11 @@ QTabWidget {
|
|||||||
background-color:rgb(247,246,246);
|
background-color:rgb(247,246,246);
|
||||||
}
|
}
|
||||||
QTabWidget::pane {
|
QTabWidget::pane {
|
||||||
border-color: rgb(77,77,77);
|
/* border-color: rgb(77,77,77); */
|
||||||
background-color:rgb(101,101,101);
|
background-color:rgb(101,101,101);
|
||||||
border-style: solid;
|
/* border-style: solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-radius: 6px;
|
border-radius: 6px; */
|
||||||
}
|
}
|
||||||
QTabBar::tab {
|
QTabBar::tab {
|
||||||
padding:2px;
|
padding:2px;
|
||||||
|
|||||||
Reference in New Issue
Block a user