diff --git a/core/arp_scanner.py b/core/arp_scanner.py index 72d20ac..acb25ac 100644 --- a/core/arp_scanner.py +++ b/core/arp_scanner.py @@ -99,7 +99,6 @@ def setup_font_for_list_widgets(self): font.setPointSize(12) self._ui.list.setFont(font) self._ui.listpkt.setFont(font) - self._ui.tab_1.setFont(font) @Slot(QListWidgetItem) def open_device_details(self, item): diff --git a/ui/arpscan.ui b/ui/arpscan.ui index 004036d..1dbaf7d 100644 --- a/ui/arpscan.ui +++ b/ui/arpscan.ui @@ -88,18 +88,6 @@ - - - - 0 - - - - Arp Traffic - - - - diff --git a/ui/ui_arpscan.py b/ui/ui_arpscan.py index 5de1741..b9e3b9c 100644 --- a/ui/ui_arpscan.py +++ b/ui/ui_arpscan.py @@ -3,7 +3,7 @@ ################################################################################ ## Form generated from reading UI file 'arpscan.ui' ## -## Created by: Qt User Interface Compiler version 6.6.1 +## Created by: Qt User Interface Compiler version 6.7.3 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ @@ -17,8 +17,7 @@ QPalette, QPixmap, QRadialGradient, QTransform) from PySide6.QtWidgets import (QApplication, QCheckBox, QDialog, QGroupBox, QHBoxLayout, QLabel, QListWidget, QListWidgetItem, - QPushButton, QSizePolicy, QTabWidget, QVBoxLayout, - QWidget) + QPushButton, QSizePolicy, QVBoxLayout, QWidget) class Ui_DeviceDiscovery(object): def setupUi(self, DeviceDiscovery): @@ -86,22 +85,11 @@ def setupUi(self, DeviceDiscovery): self.verticalLayout.addLayout(self.horizontalLayout) - self.tabWidget = QTabWidget(DeviceDiscovery) - self.tabWidget.setObjectName(u"tabWidget") - self.tab_1 = QWidget() - self.tab_1.setObjectName(u"tab_1") - self.tabWidget.addTab(self.tab_1, "") - - self.verticalLayout.addWidget(self.tabWidget) - self.retranslateUi(DeviceDiscovery) self.quit.clicked.connect(DeviceDiscovery.accept) self.clear.clicked.connect(self.list.clear) - self.tabWidget.setCurrentIndex(0) - - QMetaObject.connectSlotsByName(DeviceDiscovery) # setupUi @@ -115,6 +103,5 @@ def retranslateUi(self, DeviceDiscovery): self.scan.setText(QCoreApplication.translate("DeviceDiscovery", u"Scan", None)) self.clear.setText(QCoreApplication.translate("DeviceDiscovery", u"Clear", None)) self.quit.setText(QCoreApplication.translate("DeviceDiscovery", u"Quit", None)) - self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), QCoreApplication.translate("DeviceDiscovery", u"Arp Traffic", None)) # retranslateUi