rc deleted

This commit is contained in:
2025-03-10 14:16:49 +01:00
5 changed files with 5 additions and 38193 deletions

View File

@@ -175,7 +175,7 @@ Item
Text Text
{ {
text: model.display === null? "": model.display text: (model.display === null || model.display === undefined)? "": model.display
elide: Text.ElideRight elide: Text.ElideRight
width: parent.width width: parent.width
height: parent.height height: parent.height

View File

@@ -70,6 +70,7 @@ class EmployeeModel(QAbstractTableModel):
if applicant_col == 2 and self.__everyone: if applicant_col == 2 and self.__everyone:
tr = 'Ja' if tr == 1 else 'Nein' tr = 'Ja' if tr == 1 else 'Nein'
else: else:
if tr:
tr = re.sub("Keine Angabe ","", tr) tr = re.sub("Keine Angabe ","", tr)
#print(f"Data: {tr}") #print(f"Data: {tr}")
# return row[index.column() + 2] # return row[index.column() + 2]

View File

@@ -107,7 +107,7 @@ if __name__ == "__main__":
qml_file = "qrc:/Gui/main.qml" qml_file = "qrc:/Gui/main.qml"
icon = QIcon(":/images/tero.jpg") icon = QIcon(":/images/tero.jpg")
app.setWindowIcon(QIcon(icon)) app.setWindowIcon(icon)
tray = QSystemTrayIcon() tray = QSystemTrayIcon()
tray.setIcon(icon) tray.setIcon(icon)
@@ -121,10 +121,10 @@ if __name__ == "__main__":
else: else:
initializeProgram() initializeProgram()
engine.rootContext().setContextProperty("config", config)
engine.rootContext().setContextProperty("sys_printers", printers) engine.rootContext().setContextProperty("sys_printers", printers)
engine.rootContext().setContextProperty("bad_config", bad_config) # print(f"Fehler: {i}") engine.rootContext().setContextProperty("bad_config", bad_config) # print(f"Fehler: {i}")
engine.rootContext().setContextProperty("db_con", db_con) engine.rootContext().setContextProperty("db_con", db_con)
engine.rootContext().setContextProperty("config", config)
engine.rootContext().setContextProperty("systray", tray) engine.rootContext().setContextProperty("systray", tray)
engine.load(qml_file) engine.load(qml_file)

34900
rc_pyqcrm.py

File diff suppressed because it is too large Load Diff

3289
rc_qml.py

File diff suppressed because it is too large Load Diff