FreeCAD WebAssembly development snapshot
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
This commit is contained in:
28
src/Gui/ViewProviderDocumentObject.pyi
Normal file
28
src/Gui/ViewProviderDocumentObject.pyi
Normal file
@@ -0,0 +1,28 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from ViewProvider import ViewProvider
|
||||
from typing import Any, Final
|
||||
|
||||
class ViewProviderDocumentObject(ViewProvider):
|
||||
"""
|
||||
This is the ViewProvider base class
|
||||
|
||||
Author: Werner Mayer (wmayer@users.sourceforge.net)
|
||||
Licence: LGPL
|
||||
"""
|
||||
|
||||
def update(self) -> None:
|
||||
"""
|
||||
Update the view representation of the object
|
||||
"""
|
||||
...
|
||||
Object: Any = ...
|
||||
"""Set/Get the associated data object"""
|
||||
|
||||
ForceUpdate: bool = False
|
||||
"""Reference count to force update visual"""
|
||||
|
||||
Document: Final[Any] = ...
|
||||
"""Return the document the view provider is part of"""
|
||||
Reference in New Issue
Block a user