aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/modelviewprogramming
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/tutorials/modelviewprogramming')
-rw-r--r--sources/pyside6/doc/tutorials/modelviewprogramming/qlistview-dnd.py1
-rw-r--r--sources/pyside6/doc/tutorials/modelviewprogramming/simplemodel-use.py1
-rw-r--r--sources/pyside6/doc/tutorials/modelviewprogramming/stringlistmodel.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside6/doc/tutorials/modelviewprogramming/qlistview-dnd.py b/sources/pyside6/doc/tutorials/modelviewprogramming/qlistview-dnd.py
index 3a37cc0f3..15e9c81dc 100644
--- a/sources/pyside6/doc/tutorials/modelviewprogramming/qlistview-dnd.py
+++ b/sources/pyside6/doc/tutorials/modelviewprogramming/qlistview-dnd.py
@@ -1,5 +1,6 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+from __future__ import annotations
import sys
diff --git a/sources/pyside6/doc/tutorials/modelviewprogramming/simplemodel-use.py b/sources/pyside6/doc/tutorials/modelviewprogramming/simplemodel-use.py
index 1bacfd829..41b168cef 100644
--- a/sources/pyside6/doc/tutorials/modelviewprogramming/simplemodel-use.py
+++ b/sources/pyside6/doc/tutorials/modelviewprogramming/simplemodel-use.py
@@ -1,5 +1,6 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+from __future__ import annotations
import sys
diff --git a/sources/pyside6/doc/tutorials/modelviewprogramming/stringlistmodel.py b/sources/pyside6/doc/tutorials/modelviewprogramming/stringlistmodel.py
index 2c8493aa9..6818c1aa3 100644
--- a/sources/pyside6/doc/tutorials/modelviewprogramming/stringlistmodel.py
+++ b/sources/pyside6/doc/tutorials/modelviewprogramming/stringlistmodel.py
@@ -1,5 +1,6 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+from __future__ import annotations
import sys