Skip to content

Commit

Permalink
add tooltips for interface selection buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Dante383 committed Dec 27, 2023
1 parent adbdca9 commit 476fac5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,7 @@ def __init__(self):
self.usbbutton.setFixedHeight(64)
self.usbbutton.setFixedWidth(64)
self.usbbutton.setCheckable(True)
self.usbbutton.setToolTip('USB')
medialayout.addWidget(self.usbbutton)

self.wifibutton = widgets.QPushButton()
Expand All @@ -1161,6 +1162,7 @@ def __init__(self):
self.wifibutton.setFixedHeight(64)
self.wifibutton.setFixedWidth(64)
self.wifibutton.setCheckable(True)
self.wifibutton.setToolTip('WiFi')
medialayout.addWidget(self.wifibutton)

self.btbutton = widgets.QPushButton()
Expand All @@ -1169,6 +1171,7 @@ def __init__(self):
self.btbutton.setFixedHeight(64)
self.btbutton.setFixedWidth(64)
self.btbutton.setCheckable(True)
self.btbutton.setToolTip('Bluetooth')
medialayout.addWidget(self.btbutton)

self.obdlinkbutton = widgets.QPushButton()
Expand All @@ -1177,6 +1180,7 @@ def __init__(self):
self.obdlinkbutton.setFixedHeight(64)
self.obdlinkbutton.setFixedWidth(64)
self.obdlinkbutton.setCheckable(True)
self.obdlinkbutton.setToolTip('OBDLINK')
medialayout.addWidget(self.obdlinkbutton)

self.elsbutton = widgets.QPushButton()
Expand All @@ -1185,6 +1189,7 @@ def __init__(self):
self.elsbutton.setFixedHeight(64)
self.elsbutton.setFixedWidth(64)
self.elsbutton.setCheckable(True)
self.elsbutton.setToolTip('ELS27')
medialayout.addWidget(self.elsbutton)

layout.addLayout(medialayout)
Expand Down

0 comments on commit 476fac5

Please # to comment.