Skip to content

Commit

Permalink
removing unused tab1
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Oct 3, 2024
1 parent aaa9eb1 commit 9095444
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
1 change: 0 additions & 1 deletion core/arp_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
12 changes: 0 additions & 12 deletions ui/arpscan.ui
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@
</item>
</layout>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_1">
<attribute name="title">
<string>Arp Traffic</string>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget>
<resources/>
Expand Down
17 changes: 2 additions & 15 deletions ui/ui_arpscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!
################################################################################
Expand All @@ -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):
Expand Down Expand Up @@ -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

Expand All @@ -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

0 comments on commit 9095444

Please sign in to comment.