mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership
part of CURA-8591
This commit is contained in:
parent
abe7c1bf7f
commit
32b52c6166
25 changed files with 167 additions and 167 deletions
|
@ -12,12 +12,12 @@ PROJECT_UPDATED_AT_DATETIME_FORMAT = "%d-%m-%Y"
|
|||
|
||||
|
||||
class DigitalFactoryProjectModel(ListModel):
|
||||
DisplayNameRole = Qt.UserRole + 1
|
||||
LibraryProjectIdRole = Qt.UserRole + 2
|
||||
DescriptionRole = Qt.UserRole + 3
|
||||
ThumbnailUrlRole = Qt.UserRole + 5
|
||||
UsernameRole = Qt.UserRole + 6
|
||||
LastUpdatedRole = Qt.UserRole + 7
|
||||
DisplayNameRole = Qt.ItemDataRole.UserRole + 1
|
||||
LibraryProjectIdRole = Qt.ItemDataRole.UserRole + 2
|
||||
DescriptionRole = Qt.ItemDataRole.UserRole + 3
|
||||
ThumbnailUrlRole = Qt.ItemDataRole.UserRole + 5
|
||||
UsernameRole = Qt.ItemDataRole.UserRole + 6
|
||||
LastUpdatedRole = Qt.ItemDataRole.UserRole + 7
|
||||
|
||||
dfProjectModelChanged = pyqtSignal()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue