summaryrefslogtreecommitdiff
path: root/src/gui/pageHome.py
diff options
context:
space:
mode:
authorDebulois <quentin@debulois.fr>2022-05-01 11:44:09 +0200
committerDebulois <quentin@debulois.fr>2022-05-01 11:44:09 +0200
commit1eaf21fd423e5dedf1ed4361b0e9b6cbbcfc9fa0 (patch)
tree6557511b23ec5a067db75483ad1e42d836010851 /src/gui/pageHome.py
parentafd6fb901b7e8f99cdb1bb0d2134cec2d6cebc3b (diff)
Ajout gestion des missions coté client & pro
Diffstat (limited to 'src/gui/pageHome.py')
-rw-r--r--src/gui/pageHome.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/pageHome.py b/src/gui/pageHome.py
index 98a504f..03f8d81 100644
--- a/src/gui/pageHome.py
+++ b/src/gui/pageHome.py
@@ -1,7 +1,7 @@
from PyQt5.QtWidgets import (
QGroupBox, QPushButton,
- QComboBox, QLineEdit,
+ QComboBox, QLineEdit,
QHBoxLayout, QWidget,
QVBoxLayout, QLabel
)
@@ -47,7 +47,7 @@ def main(mainWindow, reloadMenu = False) -> None:
inputRechercheNom = QLineEdit()
btnRechercheNom = QPushButton("Rechercher")
btnRechercheNom.clicked.connect(
- lambda:
+ lambda:
core_search_name(
mainWindow,
inputRechercheNom.text()
@@ -60,9 +60,9 @@ def main(mainWindow, reloadMenu = False) -> None:
comboRechercheCat.addItem("{0}".format(i[2]), i[0])
btnRechercheCat = QPushButton("Rechercher")
btnRechercheCat.clicked.connect(
- lambda:
+ lambda:
core_search_id(
- mainWindow,
+ mainWindow,
comboRechercheCat.currentData()
)
)
@@ -95,7 +95,7 @@ def main(mainWindow, reloadMenu = False) -> None:
if hasattr(mainWindow, "mainWidget"):
mainWindow.mainWidget.deleteLater()
-
+
mainWindow.mainWidget = QWidget()
mainWindow.mainWidget.setLayout(layoutMain)
mainWindow.setCentralWidget(mainWindow.mainWidget)