Merge branch 'change_layout'

This commit is contained in:
Alessandro
2019-09-08 15:26:11 +02:00
3 changed files with 4682 additions and 4662 deletions

View File

@@ -199,11 +199,17 @@ class Artemis(QMainWindow, Ui_MainWindow):
@pyqtSlot()
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:
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:
self.main_tab.setCurrentWidget(self.filter_tab)
self.signal_tab.setCurrentWidget(self.filter_tab)
@pyqtSlot()
def start_update_forecast(self):

File diff suppressed because it is too large Load Diff

View File

@@ -303,11 +303,11 @@ QTabWidget {
background-color:rgb(247,246,246);
}
QTabWidget::pane {
border-color: rgb(77,77,77);
/* border-color: rgb(77,77,77); */
background-color:rgb(101,101,101);
border-style: solid;
/* border-style: solid;
border-width: 1px;
border-radius: 6px;
border-radius: 6px; */
}
QTabBar::tab {
padding:2px;