Anzeige Angepasst

Checkboxen und Buttons wurden weiß umrandet um sie besser zu erkennen.
This commit is contained in:
Domenik Rath 2023-11-30 15:25:06 +01:00
parent feee6ccbf3
commit 177a8059e9

View File

@ -748,7 +748,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white;")
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Hornbach", "Contorion", "Gastroteile Shop", "TiroLED", "Megabad", "Baubeschlagshop" ]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -768,6 +768,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Esmeyer", "Papstar", "Pacovis", "Lusini", "Hygi", "Tischwelt", "Schafferer", "Gastronomie Kaufhaus"]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -789,6 +790,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Reichelt", "Kosatec" ]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -810,6 +812,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Böttcher", "Buchhandlung am Markt"]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -830,6 +833,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Transpak", "PML", "DM-Folien" ]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -851,6 +855,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Proficleanshop", "Siepmann", "FK-Söhnchen", "Wahl-Agar", "TVV-Verpackungen", "Eierschachteln.de", "KOX"]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -871,6 +876,7 @@ class WebseitenSucheApp(QWidget):
checkbox = QCheckBox(webpage)
checkbox.setChecked(self.selected_webpages[webpage])
checkbox.stateChanged.connect(self.make_checkbox_callback(webpage))
checkbox.setStyleSheet("color: white; border: 1px solid white;")
green_webpages = ["Reinigungsberater.de", "VBS-Hobby", "Ökonomed", "Rossmann", "Betzold"]
if any(green_webpage in webpage for green_webpage in green_webpages):
@ -895,16 +901,21 @@ class WebseitenSucheApp(QWidget):
search_input = QLineEdit(self)
search_input.textChanged.connect(self.update_search_term)
layout.addWidget(search_input)
search_input.setStyleSheet("color: white; border: 1px solid white;")
# Suchen-Button
search_button = QPushButton("Suche starten", self)
search_button.clicked.connect(self.start_search)
layout.addWidget(search_button)
search_button.setStyleSheet("color: white; border: 1px solid white;")
# Neues Suche-Button
new_search_button = QPushButton("Neue Suche starten", self)
new_search_button.clicked.connect(self.new_search)
layout.addWidget(new_search_button)
new_search_button.setStyleSheet("color: white; border: 1px solid white;")
self.setLayout(layout)
self.setGeometry(300, 300, 400, 200)