Folder structure in Gui changed, window size to fullscreen, scrollview in AddCustomer

This commit is contained in:
2025-05-14 09:54:51 +02:00
parent 591216c9a8
commit 75427b1326
18 changed files with 1621 additions and 362 deletions

View File

@@ -19,12 +19,16 @@ class AddressModel(QAbstractListModel):
elif role == PyqcrmDataRoles.CITY_ROLE:
data = self.__address_data[row][4]
return data
elif role == PyqcrmDataRoles.COUNTRY_ROLE:
data = self.__address_data[row][3]
return data
return None
def roleNames(self):
return {
Qt.DisplayRole: b"display",
PyqcrmDataRoles.CITY_ROLE: b"city",
PyqcrmDataRoles.COUNTRY_ROLE: b"country"
}
def setData(self):