Skip to content

Commit

Permalink
channel selector tab added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramin authored and Ramin committed Aug 3, 2023
1 parent a91ab20 commit faae469
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ross_ui/view/mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,9 +920,25 @@ def createSubWindows(self):
self.layout_manual_sorting_out.addLayout(hlayout)
self.manualSettingWidget.setLayout(self.layout_manual_sorting_out)

# Select channel
label_channel = QtWidgets.QLabel("Select Channel : ", self)
label_channel.setWordWrap(True)
self.combo_box_channel = QtWidgets.QComboBox()
self.combo_box_channel.addItems(["Channel 0"])
self.combo_box_channel.setEnabled(False)

self.channel_list_layout = QtWidgets.QVBoxLayout()
self.channel_list_layout.addWidget(label_channel)
self.channel_list_layout.addWidget(self.combo_box_channel)
self.channel_list_layout.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop)

self.channelSettingWidget = QtWidgets.QWidget()
self.channelSettingWidget.setLayout(self.channel_list_layout)

self.tabs_settings.addTab(self.detectSettingWidget, "Detection")
self.tabs_settings.addTab(self.sortingSettingWidget, "Automatic Sorting")
self.tabs_settings.addTab(self.manualSettingWidget, "Manual Sorting")
self.tabs_settings.addTab(self.channelSettingWidget, "Channels")

layout_settings = QtWidgets.QHBoxLayout()
layout_settings.addWidget(self.tabs_settings)
Expand Down

0 comments on commit faae469

Please sign in to comment.