diff --git a/src/urh/ui/ui_main.py b/src/urh/ui/ui_main.py index 17b889329a..6b46eaf37c 100644 --- a/src/urh/ui/ui_main.py +++ b/src/urh/ui/ui_main.py @@ -22,14 +22,14 @@ def setupUi(self, MainWindow): self.splitter = QtWidgets.QSplitter(self.centralwidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName("splitter") - self.widget = QtWidgets.QWidget(self.splitter) - self.widget.setObjectName("widget") - self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget) + self.layoutWidget = QtWidgets.QWidget(self.splitter) + self.layoutWidget.setObjectName("layoutWidget") + self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") - self.lnEdtTreeFilter = QtWidgets.QLineEdit(self.widget) + self.lnEdtTreeFilter = QtWidgets.QLineEdit(self.layoutWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -42,13 +42,13 @@ def setupUi(self, MainWindow): self.horizontalLayout_3.addWidget(self.lnEdtTreeFilter) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem) - self.btnFileTreeGoUp = QtWidgets.QToolButton(self.widget) + self.btnFileTreeGoUp = QtWidgets.QToolButton(self.layoutWidget) icon = QtGui.QIcon.fromTheme("go-up") self.btnFileTreeGoUp.setIcon(icon) self.btnFileTreeGoUp.setObjectName("btnFileTreeGoUp") self.horizontalLayout_3.addWidget(self.btnFileTreeGoUp) self.verticalLayout_3.addLayout(self.horizontalLayout_3) - self.fileTree = DirectoryTreeView(self.widget) + self.fileTree = DirectoryTreeView(self.layoutWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(10) sizePolicy.setVerticalStretch(0) @@ -64,7 +64,7 @@ def setupUi(self, MainWindow): self.fileTree.header().setCascadingSectionResizes(True) self.fileTree.header().setStretchLastSection(False) self.verticalLayout_3.addWidget(self.fileTree) - self.tabWidget_Project = QtWidgets.QTabWidget(self.widget) + self.tabWidget_Project = QtWidgets.QTabWidget(self.layoutWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -184,6 +184,8 @@ def setupUi(self, MainWindow): self.actionShow_Compare_Frame.setChecked(True) self.actionShow_Compare_Frame.setObjectName("actionShow_Compare_Frame") self.actionClose_all = QtWidgets.QAction(MainWindow) + icon = QtGui.QIcon.fromTheme("window-close") + self.actionClose_all.setIcon(icon) self.actionClose_all.setIconVisibleInMenu(True) self.actionClose_all.setObjectName("actionClose_all") self.actionMinimize_all = QtWidgets.QAction(MainWindow) @@ -227,6 +229,8 @@ def setupUi(self, MainWindow): self.actionDecoding = QtWidgets.QAction(MainWindow) self.actionDecoding.setObjectName("actionDecoding") self.actionRecord = QtWidgets.QAction(MainWindow) + icon = QtGui.QIcon.fromTheme("media-record") + self.actionRecord.setIcon(icon) self.actionRecord.setIconVisibleInMenu(True) self.actionRecord.setObjectName("actionRecord") self.actionSpectrum_Analyzer = QtWidgets.QAction(MainWindow) @@ -265,6 +269,7 @@ def setupUi(self, MainWindow): self.menuFile.addSeparator() self.menuFile.addAction(self.actionOpen) self.menuFile.addAction(self.actionOpen_directory) + self.menuFile.addSeparator() self.menuFile.addAction(self.actionRecord) self.menuFile.addAction(self.actionSniff_protocol) self.menuFile.addAction(self.actionSpectrum_Analyzer) diff --git a/ui/main.ui b/ui/main.ui index f1c55a1420..8bd9f4d083 100644 --- a/ui/main.ui +++ b/ui/main.ui @@ -30,7 +30,7 @@ Qt::Horizontal - + @@ -75,7 +75,8 @@ ... - + + .. @@ -205,6 +206,7 @@ + @@ -376,6 +378,9 @@ + + + &Close all @@ -486,6 +491,9 @@ + + + &Record signal...