IntentModel.py 431 B

1234567891011121314151617
  1. # Copyright (c) 2019 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from typing import Optional
  4. from PyQt5.QtCore.QObject import QObject
  5. from UM.Qt.ListModel import ListModel
  6. from PyQt5.QtCore import Qt
  7. class IntentModel(ListModel):
  8. def __init__(self, parent: Optional[QObject] = None) -> None:
  9. super().__init__(parent)
  10. self._update()
  11. def _update(self) -> None:
  12. pass