aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/3d/simple3d/simple3d.py (renamed from examples/3d/simple3d.py)0
-rw-r--r--examples/3d/simple3d/simple3d.pyproject (renamed from examples/3d/3d.pyproject)0
-rw-r--r--examples/axcontainer/axviewer/axviewer.py (renamed from examples/axcontainer/axviewer.py)0
-rw-r--r--examples/axcontainer/axviewer/axviewer.pyproject (renamed from examples/axcontainer/axcontainer.pyproject)0
-rw-r--r--examples/charts/audio/audio.py (renamed from examples/charts/audio.py)0
-rw-r--r--examples/charts/audio/audio.pyproject3
-rw-r--r--examples/charts/callout/callout.py (renamed from examples/charts/callout.py)0
-rw-r--r--examples/charts/callout/callout.pyproject3
-rw-r--r--examples/charts/charts.pyproject5
-rw-r--r--examples/charts/donutbreakdown/donutbreakdown.py (renamed from examples/charts/donutbreakdown.py)0
-rw-r--r--examples/charts/donutbreakdown/donutbreakdown.pyproject3
-rw-r--r--examples/charts/legend/legend.py (renamed from examples/charts/legend.py)0
-rw-r--r--examples/charts/legend/legend.pyproject3
-rw-r--r--examples/charts/lineandbar/lineandbar.py (renamed from examples/charts/lineandbar.py)0
-rw-r--r--examples/charts/lineandbar/lineandbar.pyproject3
-rw-r--r--examples/charts/linechart/linechart.py (renamed from examples/charts/linechart.py)0
-rw-r--r--examples/charts/linechart/linechart.pyproject3
-rw-r--r--examples/charts/logvalueaxis/logvalueaxis.py (renamed from examples/charts/logvalueaxis.py)0
-rw-r--r--examples/charts/logvalueaxis/logvalueaxis.pyproject3
-rw-r--r--examples/charts/memoryusage/memoryusage.py (renamed from examples/charts/memoryusage.py)0
-rw-r--r--examples/charts/memoryusage/memoryusage.pyproject3
-rw-r--r--examples/charts/modeldata/modeldata.py (renamed from examples/charts/modeldata.py)0
-rw-r--r--examples/charts/modeldata/modeldata.pyproject3
-rw-r--r--examples/charts/nesteddonuts/nesteddonuts.py (renamed from examples/charts/nesteddonuts.py)0
-rw-r--r--examples/charts/nesteddonuts/nesteddonuts.pyproject3
-rw-r--r--examples/charts/percentbarchart/percentbarchart.py (renamed from examples/charts/percentbarchart.py)0
-rw-r--r--examples/charts/percentbarchart/percentbarchart.pyproject3
-rw-r--r--examples/charts/piechart/piechart.py (renamed from examples/charts/piechart.py)0
-rw-r--r--examples/charts/piechart/piechart.pyproject3
-rw-r--r--examples/charts/temperaturerecords/temperaturerecords.py (renamed from examples/charts/temperaturerecords.py)0
-rw-r--r--examples/charts/temperaturerecords/temperaturerecords.pyproject3
-rw-r--r--examples/corelib/regexp/regexp.py (renamed from examples/corelib/tools/regexp.py)0
-rw-r--r--examples/corelib/regexp/regexp.pyproject (renamed from examples/corelib/tools/tools.pyproject)0
-rw-r--r--examples/corelib/settingseditor/settingseditor.py (renamed from examples/corelib/tools/settingseditor/settingseditor.py)0
-rw-r--r--examples/corelib/settingseditor/settingseditor.pyproject (renamed from examples/corelib/tools/settingseditor/settingseditor.pyproject)0
-rw-r--r--examples/corelib/tools/codecs/codecs.pyproject3
-rw-r--r--examples/datavisualization/bars3d/bars3d.py (renamed from examples/datavisualization/bars3d.py)0
-rw-r--r--examples/datavisualization/bars3d/bars3d.pyproject (renamed from examples/datavisualization/datavisualization.pyproject)0
-rw-r--r--examples/declarative/declarative.pyproject3
-rw-r--r--examples/declarative/scrolling/scrolling.py (renamed from examples/declarative/scrolling.py)0
-rw-r--r--examples/declarative/scrolling/scrolling.pyproject3
-rw-r--r--examples/declarative/usingmodel/usingmodel.py (renamed from examples/declarative/usingmodel.py)0
-rw-r--r--examples/declarative/usingmodel/usingmodel.pyproject3
-rw-r--r--examples/declarative/usingmodel/view.qml (renamed from examples/declarative/view.qml)0
-rw-r--r--examples/macextras/macpasteboardmime/macpasteboardmime.py (renamed from examples/macextras/macpasteboardmime.py)0
-rw-r--r--examples/macextras/macpasteboardmime/macpasteboardmime.pyproject (renamed from examples/macextras/macextras.pyproject)0
-rw-r--r--examples/multimedia/audiooutput/audiooutput.py (renamed from examples/multimedia/audiooutput.py)0
-rw-r--r--examples/multimedia/audiooutput/audiooutput.pyproject3
-rw-r--r--examples/multimedia/camera/camera.py (renamed from examples/multimedia/camera.py)0
-rw-r--r--examples/multimedia/camera/camera.pyproject3
-rw-r--r--examples/multimedia/camera/shutter.svg (renamed from examples/multimedia/shutter.svg)0
-rw-r--r--examples/multimedia/multimedia.pyproject3
-rw-r--r--examples/multimedia/player/player.py (renamed from examples/multimedia/player.py)0
-rw-r--r--examples/multimedia/player/player.pyproject3
-rw-r--r--examples/network/blockingfortuneclient/blockingfortuneclient.py (renamed from examples/network/blockingfortuneclient.py)0
-rw-r--r--examples/network/blockingfortuneclient/blockingfortuneclient.pyproject3
-rw-r--r--examples/network/fortuneclient/fortuneclient.py (renamed from examples/network/fortuneclient.py)0
-rw-r--r--examples/network/fortuneclient/fortuneclient.pyproject3
-rw-r--r--examples/network/fortuneserver/fortuneserver.py (renamed from examples/network/fortuneserver.py)0
-rw-r--r--examples/network/fortuneserver/fortuneserver.pyproject3
-rw-r--r--examples/network/network.pyproject4
-rw-r--r--examples/network/threadedfortuneserver/threadedfortuneserver.py (renamed from examples/network/threadedfortuneserver.py)0
-rw-r--r--examples/network/threadedfortuneserver/threadedfortuneserver.pyproject3
-rw-r--r--examples/opengl/contextinfo/contextinfo.py (renamed from examples/opengl/contextinfo.py)0
-rw-r--r--examples/opengl/contextinfo/contextinfo.pyproject3
-rw-r--r--examples/opengl/hellogl2/hellogl2.py (renamed from examples/opengl/hellogl2.py)0
-rw-r--r--examples/opengl/hellogl2/hellogl2.pyproject3
-rw-r--r--examples/opengl/opengl.pyproject3
-rw-r--r--examples/quick/customitems/painteditem/painteditem.pyproject3
-rw-r--r--examples/quick/painteditem/main.qml (renamed from examples/quick/customitems/painteditem/main.qml)0
-rw-r--r--examples/quick/painteditem/painteditem.py (renamed from examples/quick/customitems/painteditem/painteditem.py)0
-rw-r--r--examples/quick/painteditem/painteditem.pyproject3
-rw-r--r--examples/texttospeech/hello_speak/hello_speak.py (renamed from examples/texttospeech/texttospeech.py)0
-rw-r--r--examples/texttospeech/hello_speak/hello_speak.pyproject3
-rw-r--r--examples/texttospeech/texttospeech.pyproject3
-rw-r--r--examples/uitools/uiloader/uiloader.py (renamed from examples/uiloader/uiloader.py)0
-rw-r--r--examples/uitools/uiloader/uiloader.pyproject3
-rw-r--r--examples/webenginequick/nanobrowser/browser.qml (renamed from examples/webenginequick/browser.qml)0
-rw-r--r--examples/webenginequick/nanobrowser/nanobrowser.pyproject (renamed from examples/webenginequick/webenginequick.pyproject)0
-rw-r--r--examples/webenginequick/nanobrowser/quicknanobrowser.py (renamed from examples/webenginequick/quicknanobrowser.py)0
-rw-r--r--examples/webenginewidgets/simplebrowser/simplebrowser.py (renamed from examples/webenginewidgets/simplebrowser.py)0
-rw-r--r--examples/webenginewidgets/simplebrowser/simplebrowser.pyproject (renamed from examples/webenginewidgets/webenginewidgets.pyproject)0
-rw-r--r--examples/widgets/codeeditor/codeeditor.pyproject3
-rw-r--r--examples/widgets/dialogs/dialogs.pyproject4
-rw-r--r--examples/widgets/dialogs/extension/extension.py (renamed from examples/widgets/dialogs/extension.py)0
-rw-r--r--examples/widgets/dialogs/extension/extension.pyproject3
-rw-r--r--examples/widgets/dialogs/findfiles/findfiles.py (renamed from examples/widgets/dialogs/findfiles.py)0
-rw-r--r--examples/widgets/dialogs/findfiles/findfiles.pyproject3
-rw-r--r--examples/widgets/dialogs/standarddialogs/standarddialogs.py (renamed from examples/widgets/dialogs/standarddialogs.py)0
-rw-r--r--examples/widgets/dialogs/standarddialogs/standarddialogs.pyproject3
-rw-r--r--examples/widgets/dialogs/trivialwizard/trivialwizard.py (renamed from examples/widgets/dialogs/trivialwizard.py)0
-rw-r--r--examples/widgets/dialogs/trivialwizard/trivialwizard.pyproject3
-rw-r--r--examples/widgets/graphicsview/anchorlayout/anchorlayout.py (renamed from examples/widgets/graphicsview/anchorlayout.py)0
-rw-r--r--examples/widgets/graphicsview/anchorlayout/anchorlayout.pyproject3
-rw-r--r--examples/widgets/graphicsview/elasticnodes/elasticnodes.py (renamed from examples/widgets/graphicsview/elasticnodes.py)0
-rw-r--r--examples/widgets/graphicsview/elasticnodes/elasticnodes.pyproject3
-rw-r--r--examples/widgets/graphicsview/graphicsview.pyproject3
-rw-r--r--examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.py (renamed from examples/widgets/itemviews/basicsortfiltermodel.py)0
-rw-r--r--examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.pyproject3
-rw-r--r--examples/widgets/itemviews/fetchmore/fetchmore.py (renamed from examples/widgets/itemviews/fetchmore.py)0
-rw-r--r--examples/widgets/itemviews/fetchmore/fetchmore.pyproject3
-rw-r--r--examples/widgets/itemviews/itemviews.pyproject3
-rw-r--r--examples/widgets/layouts/basiclayouts/basiclayouts.py (renamed from examples/widgets/layouts/basiclayouts.py)0
-rw-r--r--examples/widgets/layouts/basiclayouts/basiclayouts.pyproject3
-rw-r--r--examples/widgets/layouts/dynamiclayouts/dynamiclayouts.py (renamed from examples/widgets/layouts/dynamiclayouts.py)0
-rw-r--r--examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pyproject3
-rw-r--r--examples/widgets/layouts/flowlayout/flowlayout.py (renamed from examples/widgets/layouts/flowlayout.py)0
-rw-r--r--examples/widgets/layouts/flowlayout/flowlayout.pyproject3
-rw-r--r--examples/widgets/layouts/layouts.pyproject3
-rw-r--r--examples/widgets/painting/concentriccircles/concentriccircles.py (renamed from examples/widgets/painting/concentriccircles.py)0
-rw-r--r--examples/widgets/painting/concentriccircles/concentriccircles.pyproject (renamed from examples/widgets/painting/painting.pyproject)0
-rw-r--r--examples/widgets/richtext/orderform/orderform.py (renamed from examples/widgets/richtext/orderform.py)0
-rw-r--r--examples/widgets/richtext/orderform/orderform.pyproject3
-rw-r--r--examples/widgets/richtext/richtext.pyproject3
-rw-r--r--examples/widgets/richtext/syntaxhighlighter.py203
-rw-r--r--examples/widgets/state-machine/eventtrans/eventtrans.py (renamed from examples/widgets/state-machine/eventtrans.py)0
-rw-r--r--examples/widgets/state-machine/eventtrans/eventtrans.pyproject3
-rw-r--r--examples/widgets/state-machine/factstates/factstates.py (renamed from examples/widgets/state-machine/factstates.py)0
-rw-r--r--examples/widgets/state-machine/factstates/factstates.pyproject3
-rw-r--r--examples/widgets/state-machine/pingpong/pingpong.py (renamed from examples/widgets/state-machine/pingpong.py)0
-rw-r--r--examples/widgets/state-machine/pingpong/pingpong.pyproject3
-rw-r--r--examples/widgets/state-machine/rogue/rogue.py (renamed from examples/widgets/state-machine/rogue.py)0
-rw-r--r--examples/widgets/state-machine/rogue/rogue.pyproject3
-rw-r--r--examples/widgets/state-machine/state-machine.pyproject4
-rw-r--r--examples/widgets/state-machine/trafficlight/trafficlight.py (renamed from examples/widgets/state-machine/trafficlight.py)0
-rw-r--r--examples/widgets/state-machine/trafficlight/trafficlight.pyproject3
-rw-r--r--examples/widgets/state-machine/twowaybutton/twowaybutton.py (renamed from examples/widgets/state-machine/twowaybutton.py)0
-rw-r--r--examples/widgets/state-machine/twowaybutton/twowaybutton.pyproject3
-rw-r--r--examples/widgets/tetrix/tetrix.py (renamed from examples/widgets/widgets/tetrix.py)0
-rw-r--r--examples/widgets/tetrix/tetrix.pyproject3
-rw-r--r--examples/widgets/threads/thread_signals.pyproject3
-rw-r--r--examples/widgets/tutorials/cannon/cannon.pyproject (renamed from examples/tutorial/tutorial.pyproject)0
-rw-r--r--examples/widgets/tutorials/cannon/t1.py (renamed from examples/tutorial/t1.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t10.py (renamed from examples/tutorial/t10.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t11.py (renamed from examples/tutorial/t11.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t12.py (renamed from examples/tutorial/t12.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t13.py (renamed from examples/tutorial/t13.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t14.py (renamed from examples/tutorial/t14.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t2.py (renamed from examples/tutorial/t2.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t3.py (renamed from examples/tutorial/t3.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t4.py (renamed from examples/tutorial/t4.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t5.py (renamed from examples/tutorial/t5.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t6.py (renamed from examples/tutorial/t6.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t7.py (renamed from examples/tutorial/t7.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t8.py (renamed from examples/tutorial/t8.py)0
-rw-r--r--examples/widgets/tutorials/cannon/t9.py (renamed from examples/tutorial/t9.py)0
-rw-r--r--examples/widgets/widgets/widgets.pyproject3
147 files changed, 144 insertions, 253 deletions
diff --git a/examples/3d/simple3d.py b/examples/3d/simple3d/simple3d.py
index 3c6ff3bf6..3c6ff3bf6 100644
--- a/examples/3d/simple3d.py
+++ b/examples/3d/simple3d/simple3d.py
diff --git a/examples/3d/3d.pyproject b/examples/3d/simple3d/simple3d.pyproject
index 4c85ba5a4..4c85ba5a4 100644
--- a/examples/3d/3d.pyproject
+++ b/examples/3d/simple3d/simple3d.pyproject
diff --git a/examples/axcontainer/axviewer.py b/examples/axcontainer/axviewer/axviewer.py
index 04989c4f8..04989c4f8 100644
--- a/examples/axcontainer/axviewer.py
+++ b/examples/axcontainer/axviewer/axviewer.py
diff --git a/examples/axcontainer/axcontainer.pyproject b/examples/axcontainer/axviewer/axviewer.pyproject
index b054d6f18..b054d6f18 100644
--- a/examples/axcontainer/axcontainer.pyproject
+++ b/examples/axcontainer/axviewer/axviewer.pyproject
diff --git a/examples/charts/audio.py b/examples/charts/audio/audio.py
index 969f2b9ab..969f2b9ab 100644
--- a/examples/charts/audio.py
+++ b/examples/charts/audio/audio.py
diff --git a/examples/charts/audio/audio.pyproject b/examples/charts/audio/audio.pyproject
new file mode 100644
index 000000000..00d15e1ab
--- /dev/null
+++ b/examples/charts/audio/audio.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["audio.py"]
+}
diff --git a/examples/charts/callout.py b/examples/charts/callout/callout.py
index 666b2aae5..666b2aae5 100644
--- a/examples/charts/callout.py
+++ b/examples/charts/callout/callout.py
diff --git a/examples/charts/callout/callout.pyproject b/examples/charts/callout/callout.pyproject
new file mode 100644
index 000000000..1360c97b4
--- /dev/null
+++ b/examples/charts/callout/callout.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["callout.py"]
+}
diff --git a/examples/charts/charts.pyproject b/examples/charts/charts.pyproject
deleted file mode 100644
index 15a48a3a1..000000000
--- a/examples/charts/charts.pyproject
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "files": ["percentbarchart.py", "donutbreakdown.py", "legend.py", "nesteddonuts.py",
- "modeldata.py", "lineandbar.py", "memoryusage.py", "callout.py", "audio.py",
- "linechart.py", "logvalueaxis.py", "piechart.py", "temperaturerecords.py"]
-}
diff --git a/examples/charts/donutbreakdown.py b/examples/charts/donutbreakdown/donutbreakdown.py
index 4c319c84f..4c319c84f 100644
--- a/examples/charts/donutbreakdown.py
+++ b/examples/charts/donutbreakdown/donutbreakdown.py
diff --git a/examples/charts/donutbreakdown/donutbreakdown.pyproject b/examples/charts/donutbreakdown/donutbreakdown.pyproject
new file mode 100644
index 000000000..6225792da
--- /dev/null
+++ b/examples/charts/donutbreakdown/donutbreakdown.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["donutbreakdown.py"]
+}
diff --git a/examples/charts/legend.py b/examples/charts/legend/legend.py
index 71fd94885..71fd94885 100644
--- a/examples/charts/legend.py
+++ b/examples/charts/legend/legend.py
diff --git a/examples/charts/legend/legend.pyproject b/examples/charts/legend/legend.pyproject
new file mode 100644
index 000000000..f130dcf01
--- /dev/null
+++ b/examples/charts/legend/legend.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["legend.py"]
+}
diff --git a/examples/charts/lineandbar.py b/examples/charts/lineandbar/lineandbar.py
index 219da17b5..219da17b5 100644
--- a/examples/charts/lineandbar.py
+++ b/examples/charts/lineandbar/lineandbar.py
diff --git a/examples/charts/lineandbar/lineandbar.pyproject b/examples/charts/lineandbar/lineandbar.pyproject
new file mode 100644
index 000000000..8d9010cf7
--- /dev/null
+++ b/examples/charts/lineandbar/lineandbar.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["lineandbar.py"]
+}
diff --git a/examples/charts/linechart.py b/examples/charts/linechart/linechart.py
index 84cd0c8b3..84cd0c8b3 100644
--- a/examples/charts/linechart.py
+++ b/examples/charts/linechart/linechart.py
diff --git a/examples/charts/linechart/linechart.pyproject b/examples/charts/linechart/linechart.pyproject
new file mode 100644
index 000000000..a0b84c285
--- /dev/null
+++ b/examples/charts/linechart/linechart.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["linechart.py"]
+}
diff --git a/examples/charts/logvalueaxis.py b/examples/charts/logvalueaxis/logvalueaxis.py
index c5e90c584..c5e90c584 100644
--- a/examples/charts/logvalueaxis.py
+++ b/examples/charts/logvalueaxis/logvalueaxis.py
diff --git a/examples/charts/logvalueaxis/logvalueaxis.pyproject b/examples/charts/logvalueaxis/logvalueaxis.pyproject
new file mode 100644
index 000000000..b6b3a8e74
--- /dev/null
+++ b/examples/charts/logvalueaxis/logvalueaxis.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["logvalueaxis.py"]
+}
diff --git a/examples/charts/memoryusage.py b/examples/charts/memoryusage/memoryusage.py
index a6c536de5..a6c536de5 100644
--- a/examples/charts/memoryusage.py
+++ b/examples/charts/memoryusage/memoryusage.py
diff --git a/examples/charts/memoryusage/memoryusage.pyproject b/examples/charts/memoryusage/memoryusage.pyproject
new file mode 100644
index 000000000..4a3c69ef6
--- /dev/null
+++ b/examples/charts/memoryusage/memoryusage.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["memoryusage.py"]
+}
diff --git a/examples/charts/modeldata.py b/examples/charts/modeldata/modeldata.py
index 1d10190f4..1d10190f4 100644
--- a/examples/charts/modeldata.py
+++ b/examples/charts/modeldata/modeldata.py
diff --git a/examples/charts/modeldata/modeldata.pyproject b/examples/charts/modeldata/modeldata.pyproject
new file mode 100644
index 000000000..e10d49eb2
--- /dev/null
+++ b/examples/charts/modeldata/modeldata.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["modeldata.py"]
+}
diff --git a/examples/charts/nesteddonuts.py b/examples/charts/nesteddonuts/nesteddonuts.py
index 9005980a2..9005980a2 100644
--- a/examples/charts/nesteddonuts.py
+++ b/examples/charts/nesteddonuts/nesteddonuts.py
diff --git a/examples/charts/nesteddonuts/nesteddonuts.pyproject b/examples/charts/nesteddonuts/nesteddonuts.pyproject
new file mode 100644
index 000000000..69653ae73
--- /dev/null
+++ b/examples/charts/nesteddonuts/nesteddonuts.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["nesteddonuts.py"]
+}
diff --git a/examples/charts/percentbarchart.py b/examples/charts/percentbarchart/percentbarchart.py
index b9301f36e..b9301f36e 100644
--- a/examples/charts/percentbarchart.py
+++ b/examples/charts/percentbarchart/percentbarchart.py
diff --git a/examples/charts/percentbarchart/percentbarchart.pyproject b/examples/charts/percentbarchart/percentbarchart.pyproject
new file mode 100644
index 000000000..0cf3778af
--- /dev/null
+++ b/examples/charts/percentbarchart/percentbarchart.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["percentbarchart.py"]
+}
diff --git a/examples/charts/piechart.py b/examples/charts/piechart/piechart.py
index 29947263d..29947263d 100644
--- a/examples/charts/piechart.py
+++ b/examples/charts/piechart/piechart.py
diff --git a/examples/charts/piechart/piechart.pyproject b/examples/charts/piechart/piechart.pyproject
new file mode 100644
index 000000000..2578b435e
--- /dev/null
+++ b/examples/charts/piechart/piechart.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["piechart.py"]
+}
diff --git a/examples/charts/temperaturerecords.py b/examples/charts/temperaturerecords/temperaturerecords.py
index 3a8a86f42..3a8a86f42 100644
--- a/examples/charts/temperaturerecords.py
+++ b/examples/charts/temperaturerecords/temperaturerecords.py
diff --git a/examples/charts/temperaturerecords/temperaturerecords.pyproject b/examples/charts/temperaturerecords/temperaturerecords.pyproject
new file mode 100644
index 000000000..8db39e340
--- /dev/null
+++ b/examples/charts/temperaturerecords/temperaturerecords.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["temperaturerecords.py"]
+}
diff --git a/examples/corelib/tools/regexp.py b/examples/corelib/regexp/regexp.py
index 48c03309e..48c03309e 100644
--- a/examples/corelib/tools/regexp.py
+++ b/examples/corelib/regexp/regexp.py
diff --git a/examples/corelib/tools/tools.pyproject b/examples/corelib/regexp/regexp.pyproject
index 63f9c6198..63f9c6198 100644
--- a/examples/corelib/tools/tools.pyproject
+++ b/examples/corelib/regexp/regexp.pyproject
diff --git a/examples/corelib/tools/settingseditor/settingseditor.py b/examples/corelib/settingseditor/settingseditor.py
index 9e2a2a2d8..9e2a2a2d8 100644
--- a/examples/corelib/tools/settingseditor/settingseditor.py
+++ b/examples/corelib/settingseditor/settingseditor.py
diff --git a/examples/corelib/tools/settingseditor/settingseditor.pyproject b/examples/corelib/settingseditor/settingseditor.pyproject
index 9eb637af2..9eb637af2 100644
--- a/examples/corelib/tools/settingseditor/settingseditor.pyproject
+++ b/examples/corelib/settingseditor/settingseditor.pyproject
diff --git a/examples/corelib/tools/codecs/codecs.pyproject b/examples/corelib/tools/codecs/codecs.pyproject
deleted file mode 100644
index 72237d60b..000000000
--- a/examples/corelib/tools/codecs/codecs.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["codecs.py"]
-}
diff --git a/examples/datavisualization/bars3d.py b/examples/datavisualization/bars3d/bars3d.py
index e025fcd20..e025fcd20 100644
--- a/examples/datavisualization/bars3d.py
+++ b/examples/datavisualization/bars3d/bars3d.py
diff --git a/examples/datavisualization/datavisualization.pyproject b/examples/datavisualization/bars3d/bars3d.pyproject
index 415133f09..415133f09 100644
--- a/examples/datavisualization/datavisualization.pyproject
+++ b/examples/datavisualization/bars3d/bars3d.pyproject
diff --git a/examples/declarative/declarative.pyproject b/examples/declarative/declarative.pyproject
deleted file mode 100644
index e64c1d934..000000000
--- a/examples/declarative/declarative.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["view.qml", "scrolling.py", "usingmodel.py"]
-}
diff --git a/examples/declarative/scrolling.py b/examples/declarative/scrolling/scrolling.py
index 63f79a45b..63f79a45b 100644
--- a/examples/declarative/scrolling.py
+++ b/examples/declarative/scrolling/scrolling.py
diff --git a/examples/declarative/scrolling/scrolling.pyproject b/examples/declarative/scrolling/scrolling.pyproject
new file mode 100644
index 000000000..105c321ca
--- /dev/null
+++ b/examples/declarative/scrolling/scrolling.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["scrolling.py"]
+}
diff --git a/examples/declarative/usingmodel.py b/examples/declarative/usingmodel/usingmodel.py
index a32945a25..a32945a25 100644
--- a/examples/declarative/usingmodel.py
+++ b/examples/declarative/usingmodel/usingmodel.py
diff --git a/examples/declarative/usingmodel/usingmodel.pyproject b/examples/declarative/usingmodel/usingmodel.pyproject
new file mode 100644
index 000000000..600cdb409
--- /dev/null
+++ b/examples/declarative/usingmodel/usingmodel.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["view.qml", "usingmodel.py"]
+}
diff --git a/examples/declarative/view.qml b/examples/declarative/usingmodel/view.qml
index 8eb4f7f97..8eb4f7f97 100644
--- a/examples/declarative/view.qml
+++ b/examples/declarative/usingmodel/view.qml
diff --git a/examples/macextras/macpasteboardmime.py b/examples/macextras/macpasteboardmime/macpasteboardmime.py
index 3da05a313..3da05a313 100644
--- a/examples/macextras/macpasteboardmime.py
+++ b/examples/macextras/macpasteboardmime/macpasteboardmime.py
diff --git a/examples/macextras/macextras.pyproject b/examples/macextras/macpasteboardmime/macpasteboardmime.pyproject
index d559b7ca4..d559b7ca4 100644
--- a/examples/macextras/macextras.pyproject
+++ b/examples/macextras/macpasteboardmime/macpasteboardmime.pyproject
diff --git a/examples/multimedia/audiooutput.py b/examples/multimedia/audiooutput/audiooutput.py
index 44c0f6910..44c0f6910 100644
--- a/examples/multimedia/audiooutput.py
+++ b/examples/multimedia/audiooutput/audiooutput.py
diff --git a/examples/multimedia/audiooutput/audiooutput.pyproject b/examples/multimedia/audiooutput/audiooutput.pyproject
new file mode 100644
index 000000000..399a7c648
--- /dev/null
+++ b/examples/multimedia/audiooutput/audiooutput.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["audiooutput.py"]
+}
diff --git a/examples/multimedia/camera.py b/examples/multimedia/camera/camera.py
index e8e95b7ee..e8e95b7ee 100644
--- a/examples/multimedia/camera.py
+++ b/examples/multimedia/camera/camera.py
diff --git a/examples/multimedia/camera/camera.pyproject b/examples/multimedia/camera/camera.pyproject
new file mode 100644
index 000000000..ffc6a11ed
--- /dev/null
+++ b/examples/multimedia/camera/camera.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["camera.py"]
+}
diff --git a/examples/multimedia/shutter.svg b/examples/multimedia/camera/shutter.svg
index 18493361d..18493361d 100644
--- a/examples/multimedia/shutter.svg
+++ b/examples/multimedia/camera/shutter.svg
diff --git a/examples/multimedia/multimedia.pyproject b/examples/multimedia/multimedia.pyproject
deleted file mode 100644
index a0b8b441c..000000000
--- a/examples/multimedia/multimedia.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["player.py", "audiooutput.py", "camera.py"]
-}
diff --git a/examples/multimedia/player.py b/examples/multimedia/player/player.py
index bffcb3906..bffcb3906 100644
--- a/examples/multimedia/player.py
+++ b/examples/multimedia/player/player.py
diff --git a/examples/multimedia/player/player.pyproject b/examples/multimedia/player/player.pyproject
new file mode 100644
index 000000000..2e16f4505
--- /dev/null
+++ b/examples/multimedia/player/player.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["player.py"]
+}
diff --git a/examples/network/blockingfortuneclient.py b/examples/network/blockingfortuneclient/blockingfortuneclient.py
index 4ee0ce622..4ee0ce622 100644
--- a/examples/network/blockingfortuneclient.py
+++ b/examples/network/blockingfortuneclient/blockingfortuneclient.py
diff --git a/examples/network/blockingfortuneclient/blockingfortuneclient.pyproject b/examples/network/blockingfortuneclient/blockingfortuneclient.pyproject
new file mode 100644
index 000000000..85abd7e70
--- /dev/null
+++ b/examples/network/blockingfortuneclient/blockingfortuneclient.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["blockingfortuneclient.py"]
+}
diff --git a/examples/network/fortuneclient.py b/examples/network/fortuneclient/fortuneclient.py
index 99ca41b0e..99ca41b0e 100644
--- a/examples/network/fortuneclient.py
+++ b/examples/network/fortuneclient/fortuneclient.py
diff --git a/examples/network/fortuneclient/fortuneclient.pyproject b/examples/network/fortuneclient/fortuneclient.pyproject
new file mode 100644
index 000000000..fb684690a
--- /dev/null
+++ b/examples/network/fortuneclient/fortuneclient.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["fortuneclient.py"]
+}
diff --git a/examples/network/fortuneserver.py b/examples/network/fortuneserver/fortuneserver.py
index 7b8f05a32..7b8f05a32 100644
--- a/examples/network/fortuneserver.py
+++ b/examples/network/fortuneserver/fortuneserver.py
diff --git a/examples/network/fortuneserver/fortuneserver.pyproject b/examples/network/fortuneserver/fortuneserver.pyproject
new file mode 100644
index 000000000..b97b4156f
--- /dev/null
+++ b/examples/network/fortuneserver/fortuneserver.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["fortuneserver.py"]
+}
diff --git a/examples/network/network.pyproject b/examples/network/network.pyproject
deleted file mode 100644
index 44b9ec433..000000000
--- a/examples/network/network.pyproject
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["blockingfortuneclient.py", "fortuneserver.py",
- "threadedfortuneserver.py", "fortuneclient.py"]
-}
diff --git a/examples/network/threadedfortuneserver.py b/examples/network/threadedfortuneserver/threadedfortuneserver.py
index 839a2a57e..839a2a57e 100644
--- a/examples/network/threadedfortuneserver.py
+++ b/examples/network/threadedfortuneserver/threadedfortuneserver.py
diff --git a/examples/network/threadedfortuneserver/threadedfortuneserver.pyproject b/examples/network/threadedfortuneserver/threadedfortuneserver.pyproject
new file mode 100644
index 000000000..c0d401d48
--- /dev/null
+++ b/examples/network/threadedfortuneserver/threadedfortuneserver.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["threadedfortuneserver.py"]
+}
diff --git a/examples/opengl/contextinfo.py b/examples/opengl/contextinfo/contextinfo.py
index 0a686d388..0a686d388 100644
--- a/examples/opengl/contextinfo.py
+++ b/examples/opengl/contextinfo/contextinfo.py
diff --git a/examples/opengl/contextinfo/contextinfo.pyproject b/examples/opengl/contextinfo/contextinfo.pyproject
new file mode 100644
index 000000000..0758180ae
--- /dev/null
+++ b/examples/opengl/contextinfo/contextinfo.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["contextinfo.py"]
+}
diff --git a/examples/opengl/hellogl2.py b/examples/opengl/hellogl2/hellogl2.py
index bcffdf3c9..bcffdf3c9 100644
--- a/examples/opengl/hellogl2.py
+++ b/examples/opengl/hellogl2/hellogl2.py
diff --git a/examples/opengl/hellogl2/hellogl2.pyproject b/examples/opengl/hellogl2/hellogl2.pyproject
new file mode 100644
index 000000000..331d835af
--- /dev/null
+++ b/examples/opengl/hellogl2/hellogl2.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["hellogl2.py"]
+}
diff --git a/examples/opengl/opengl.pyproject b/examples/opengl/opengl.pyproject
deleted file mode 100644
index 20b289d7b..000000000
--- a/examples/opengl/opengl.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["hellogl2.py", "contextinfo.py"]
-}
diff --git a/examples/quick/customitems/painteditem/painteditem.pyproject b/examples/quick/customitems/painteditem/painteditem.pyproject
deleted file mode 100644
index 0c70ebe59..000000000
--- a/examples/quick/customitems/painteditem/painteditem.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["main.qml", "painteditem.pyproject"]
-}
diff --git a/examples/quick/customitems/painteditem/main.qml b/examples/quick/painteditem/main.qml
index d3404cad6..d3404cad6 100644
--- a/examples/quick/customitems/painteditem/main.qml
+++ b/examples/quick/painteditem/main.qml
diff --git a/examples/quick/customitems/painteditem/painteditem.py b/examples/quick/painteditem/painteditem.py
index 5476bdbaf..5476bdbaf 100644
--- a/examples/quick/customitems/painteditem/painteditem.py
+++ b/examples/quick/painteditem/painteditem.py
diff --git a/examples/quick/painteditem/painteditem.pyproject b/examples/quick/painteditem/painteditem.pyproject
new file mode 100644
index 000000000..0597c2a97
--- /dev/null
+++ b/examples/quick/painteditem/painteditem.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["main.qml", "painteditem.py"]
+}
diff --git a/examples/texttospeech/texttospeech.py b/examples/texttospeech/hello_speak/hello_speak.py
index b5f2cc84b..b5f2cc84b 100644
--- a/examples/texttospeech/texttospeech.py
+++ b/examples/texttospeech/hello_speak/hello_speak.py
diff --git a/examples/texttospeech/hello_speak/hello_speak.pyproject b/examples/texttospeech/hello_speak/hello_speak.pyproject
new file mode 100644
index 000000000..15b9b8529
--- /dev/null
+++ b/examples/texttospeech/hello_speak/hello_speak.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["hello_speak.py"]
+}
diff --git a/examples/texttospeech/texttospeech.pyproject b/examples/texttospeech/texttospeech.pyproject
deleted file mode 100644
index 69fc13f90..000000000
--- a/examples/texttospeech/texttospeech.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["texttospeech.py"]
-}
diff --git a/examples/uiloader/uiloader.py b/examples/uitools/uiloader/uiloader.py
index 21b126bb2..21b126bb2 100644
--- a/examples/uiloader/uiloader.py
+++ b/examples/uitools/uiloader/uiloader.py
diff --git a/examples/uitools/uiloader/uiloader.pyproject b/examples/uitools/uiloader/uiloader.pyproject
new file mode 100644
index 000000000..3f4ea8c07
--- /dev/null
+++ b/examples/uitools/uiloader/uiloader.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["uiloader.py"]
+}
diff --git a/examples/webenginequick/browser.qml b/examples/webenginequick/nanobrowser/browser.qml
index 781453863..781453863 100644
--- a/examples/webenginequick/browser.qml
+++ b/examples/webenginequick/nanobrowser/browser.qml
diff --git a/examples/webenginequick/webenginequick.pyproject b/examples/webenginequick/nanobrowser/nanobrowser.pyproject
index dd9039229..dd9039229 100644
--- a/examples/webenginequick/webenginequick.pyproject
+++ b/examples/webenginequick/nanobrowser/nanobrowser.pyproject
diff --git a/examples/webenginequick/quicknanobrowser.py b/examples/webenginequick/nanobrowser/quicknanobrowser.py
index 1bcb045c1..1bcb045c1 100644
--- a/examples/webenginequick/quicknanobrowser.py
+++ b/examples/webenginequick/nanobrowser/quicknanobrowser.py
diff --git a/examples/webenginewidgets/simplebrowser.py b/examples/webenginewidgets/simplebrowser/simplebrowser.py
index 8c5ec0704..8c5ec0704 100644
--- a/examples/webenginewidgets/simplebrowser.py
+++ b/examples/webenginewidgets/simplebrowser/simplebrowser.py
diff --git a/examples/webenginewidgets/webenginewidgets.pyproject b/examples/webenginewidgets/simplebrowser/simplebrowser.pyproject
index 6bc12af6b..6bc12af6b 100644
--- a/examples/webenginewidgets/webenginewidgets.pyproject
+++ b/examples/webenginewidgets/simplebrowser/simplebrowser.pyproject
diff --git a/examples/widgets/codeeditor/codeeditor.pyproject b/examples/widgets/codeeditor/codeeditor.pyproject
new file mode 100644
index 000000000..f51cfc6d2
--- /dev/null
+++ b/examples/widgets/codeeditor/codeeditor.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["codeeditor.py", "main.py"]
+}
diff --git a/examples/widgets/dialogs/dialogs.pyproject b/examples/widgets/dialogs/dialogs.pyproject
deleted file mode 100644
index 001fd141b..000000000
--- a/examples/widgets/dialogs/dialogs.pyproject
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["findfiles.py", "standarddialogs.py", "extension.py",
- "trivialwizard.py"]
-}
diff --git a/examples/widgets/dialogs/extension.py b/examples/widgets/dialogs/extension/extension.py
index 891e55533..891e55533 100644
--- a/examples/widgets/dialogs/extension.py
+++ b/examples/widgets/dialogs/extension/extension.py
diff --git a/examples/widgets/dialogs/extension/extension.pyproject b/examples/widgets/dialogs/extension/extension.pyproject
new file mode 100644
index 000000000..e0f2ba73b
--- /dev/null
+++ b/examples/widgets/dialogs/extension/extension.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["extension.py"]
+}
diff --git a/examples/widgets/dialogs/findfiles.py b/examples/widgets/dialogs/findfiles/findfiles.py
index 5e26f73ad..5e26f73ad 100644
--- a/examples/widgets/dialogs/findfiles.py
+++ b/examples/widgets/dialogs/findfiles/findfiles.py
diff --git a/examples/widgets/dialogs/findfiles/findfiles.pyproject b/examples/widgets/dialogs/findfiles/findfiles.pyproject
new file mode 100644
index 000000000..c2fae6dff
--- /dev/null
+++ b/examples/widgets/dialogs/findfiles/findfiles.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["findfiles.py"]
+}
diff --git a/examples/widgets/dialogs/standarddialogs.py b/examples/widgets/dialogs/standarddialogs/standarddialogs.py
index 5e0f80c4d..5e0f80c4d 100644
--- a/examples/widgets/dialogs/standarddialogs.py
+++ b/examples/widgets/dialogs/standarddialogs/standarddialogs.py
diff --git a/examples/widgets/dialogs/standarddialogs/standarddialogs.pyproject b/examples/widgets/dialogs/standarddialogs/standarddialogs.pyproject
new file mode 100644
index 000000000..766902e3e
--- /dev/null
+++ b/examples/widgets/dialogs/standarddialogs/standarddialogs.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["standarddialogs.py"]
+}
diff --git a/examples/widgets/dialogs/trivialwizard.py b/examples/widgets/dialogs/trivialwizard/trivialwizard.py
index 88b8e97b8..88b8e97b8 100644
--- a/examples/widgets/dialogs/trivialwizard.py
+++ b/examples/widgets/dialogs/trivialwizard/trivialwizard.py
diff --git a/examples/widgets/dialogs/trivialwizard/trivialwizard.pyproject b/examples/widgets/dialogs/trivialwizard/trivialwizard.pyproject
new file mode 100644
index 000000000..739a43a7a
--- /dev/null
+++ b/examples/widgets/dialogs/trivialwizard/trivialwizard.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["trivialwizard.py"]
+}
diff --git a/examples/widgets/graphicsview/anchorlayout.py b/examples/widgets/graphicsview/anchorlayout/anchorlayout.py
index 0b1ec0a03..0b1ec0a03 100644
--- a/examples/widgets/graphicsview/anchorlayout.py
+++ b/examples/widgets/graphicsview/anchorlayout/anchorlayout.py
diff --git a/examples/widgets/graphicsview/anchorlayout/anchorlayout.pyproject b/examples/widgets/graphicsview/anchorlayout/anchorlayout.pyproject
new file mode 100644
index 000000000..49ed7b734
--- /dev/null
+++ b/examples/widgets/graphicsview/anchorlayout/anchorlayout.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["anchorlayout.py"]
+}
diff --git a/examples/widgets/graphicsview/elasticnodes.py b/examples/widgets/graphicsview/elasticnodes/elasticnodes.py
index 1eefdc0bb..1eefdc0bb 100644
--- a/examples/widgets/graphicsview/elasticnodes.py
+++ b/examples/widgets/graphicsview/elasticnodes/elasticnodes.py
diff --git a/examples/widgets/graphicsview/elasticnodes/elasticnodes.pyproject b/examples/widgets/graphicsview/elasticnodes/elasticnodes.pyproject
new file mode 100644
index 000000000..f6083e795
--- /dev/null
+++ b/examples/widgets/graphicsview/elasticnodes/elasticnodes.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["elasticnodes.py"]
+}
diff --git a/examples/widgets/graphicsview/graphicsview.pyproject b/examples/widgets/graphicsview/graphicsview.pyproject
deleted file mode 100644
index 007d36bd2..000000000
--- a/examples/widgets/graphicsview/graphicsview.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["elasticnodes.py", "anchorlayout.py"]
-}
diff --git a/examples/widgets/itemviews/basicsortfiltermodel.py b/examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.py
index 845755cb9..845755cb9 100644
--- a/examples/widgets/itemviews/basicsortfiltermodel.py
+++ b/examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.py
diff --git a/examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.pyproject b/examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.pyproject
new file mode 100644
index 000000000..3351bba88
--- /dev/null
+++ b/examples/widgets/itemviews/basicfiltermodel/basicsortfiltermodel.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["basicsortfiltermodel.py"]
+}
diff --git a/examples/widgets/itemviews/fetchmore.py b/examples/widgets/itemviews/fetchmore/fetchmore.py
index c91874004..c91874004 100644
--- a/examples/widgets/itemviews/fetchmore.py
+++ b/examples/widgets/itemviews/fetchmore/fetchmore.py
diff --git a/examples/widgets/itemviews/fetchmore/fetchmore.pyproject b/examples/widgets/itemviews/fetchmore/fetchmore.pyproject
new file mode 100644
index 000000000..e5c369374
--- /dev/null
+++ b/examples/widgets/itemviews/fetchmore/fetchmore.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["fetchmore.py"]
+}
diff --git a/examples/widgets/itemviews/itemviews.pyproject b/examples/widgets/itemviews/itemviews.pyproject
deleted file mode 100644
index a582259cc..000000000
--- a/examples/widgets/itemviews/itemviews.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["basicsortfiltermodel.py", "fetchmore.py"]
-}
diff --git a/examples/widgets/layouts/basiclayouts.py b/examples/widgets/layouts/basiclayouts/basiclayouts.py
index 25a9b7760..25a9b7760 100644
--- a/examples/widgets/layouts/basiclayouts.py
+++ b/examples/widgets/layouts/basiclayouts/basiclayouts.py
diff --git a/examples/widgets/layouts/basiclayouts/basiclayouts.pyproject b/examples/widgets/layouts/basiclayouts/basiclayouts.pyproject
new file mode 100644
index 000000000..c573f5688
--- /dev/null
+++ b/examples/widgets/layouts/basiclayouts/basiclayouts.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["basiclayouts.py"]
+}
diff --git a/examples/widgets/layouts/dynamiclayouts.py b/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.py
index 5d2f2babe..5d2f2babe 100644
--- a/examples/widgets/layouts/dynamiclayouts.py
+++ b/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.py
diff --git a/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pyproject b/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pyproject
new file mode 100644
index 000000000..c4276741f
--- /dev/null
+++ b/examples/widgets/layouts/dynamiclayouts/dynamiclayouts.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["dynamiclayouts.py"]
+}
diff --git a/examples/widgets/layouts/flowlayout.py b/examples/widgets/layouts/flowlayout/flowlayout.py
index 8f4d41480..8f4d41480 100644
--- a/examples/widgets/layouts/flowlayout.py
+++ b/examples/widgets/layouts/flowlayout/flowlayout.py
diff --git a/examples/widgets/layouts/flowlayout/flowlayout.pyproject b/examples/widgets/layouts/flowlayout/flowlayout.pyproject
new file mode 100644
index 000000000..fd7f285de
--- /dev/null
+++ b/examples/widgets/layouts/flowlayout/flowlayout.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["flowlayout.py"]
+}
diff --git a/examples/widgets/layouts/layouts.pyproject b/examples/widgets/layouts/layouts.pyproject
deleted file mode 100644
index 85eb22785..000000000
--- a/examples/widgets/layouts/layouts.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["basiclayouts.py", "dynamiclayouts.py", "flowlayout.py"]
-}
diff --git a/examples/widgets/painting/concentriccircles.py b/examples/widgets/painting/concentriccircles/concentriccircles.py
index 08520b063..08520b063 100644
--- a/examples/widgets/painting/concentriccircles.py
+++ b/examples/widgets/painting/concentriccircles/concentriccircles.py
diff --git a/examples/widgets/painting/painting.pyproject b/examples/widgets/painting/concentriccircles/concentriccircles.pyproject
index ed24e12b0..ed24e12b0 100644
--- a/examples/widgets/painting/painting.pyproject
+++ b/examples/widgets/painting/concentriccircles/concentriccircles.pyproject
diff --git a/examples/widgets/richtext/orderform.py b/examples/widgets/richtext/orderform/orderform.py
index ed7b29d61..ed7b29d61 100644
--- a/examples/widgets/richtext/orderform.py
+++ b/examples/widgets/richtext/orderform/orderform.py
diff --git a/examples/widgets/richtext/orderform/orderform.pyproject b/examples/widgets/richtext/orderform/orderform.pyproject
new file mode 100644
index 000000000..47be69fd2
--- /dev/null
+++ b/examples/widgets/richtext/orderform/orderform.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["orderform.py"]
+}
diff --git a/examples/widgets/richtext/richtext.pyproject b/examples/widgets/richtext/richtext.pyproject
deleted file mode 100644
index e91a98961..000000000
--- a/examples/widgets/richtext/richtext.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["syntaxhighlighter.py", "orderform.py"]
-}
diff --git a/examples/widgets/richtext/syntaxhighlighter.py b/examples/widgets/richtext/syntaxhighlighter.py
deleted file mode 100644
index 52b3d53b8..000000000
--- a/examples/widgets/richtext/syntaxhighlighter.py
+++ /dev/null
@@ -1,203 +0,0 @@
-
-#############################################################################
-##
-## Copyright (C) 2013 Riverbank Computing Limited.
-## Copyright (C) 2016 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Qt for Python examples of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:BSD$
-## You may use this file under the terms of the BSD license as follows:
-##
-## "Redistribution and use in source and binary forms, with or without
-## modification, are permitted provided that the following conditions are
-## met:
-## * Redistributions of source code must retain the above copyright
-## notice, this list of conditions and the following disclaimer.
-## * Redistributions in binary form must reproduce the above copyright
-## notice, this list of conditions and the following disclaimer in
-## the documentation and/or other materials provided with the
-## distribution.
-## * Neither the name of The Qt Company Ltd nor the names of its
-## contributors may be used to endorse or promote products derived
-## from this software without specific prior written permission.
-##
-##
-## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-"""PySide6 port of the widgets/richtext/syntaxhighlighter example from Qt v5.x"""
-
-from PySide6 import QtCore, QtGui, QtWidgets
-
-
-class MainWindow(QtWidgets.QMainWindow):
- def __init__(self, parent=None):
- super(MainWindow, self).__init__(parent)
-
- self.setupFileMenu()
- self.setupHelpMenu()
- self.setupEditor()
-
- self.setCentralWidget(self.editor)
- self.setWindowTitle("Syntax Highlighter")
-
- def about(self):
- QtWidgets.QMessageBox.about(self, "About Syntax Highlighter",
- "<p>The <b>Syntax Highlighter</b> example shows how to " \
- "perform simple syntax highlighting by subclassing the " \
- "QSyntaxHighlighter class and describing highlighting " \
- "rules using regular expressions.</p>")
-
- def newFile(self):
- self.editor.clear()
-
- def openFile(self, path=None):
- if not path:
- path = QtWidgets.QFileDialog.getOpenFileName(self, "Open File",
- '', "C++ Files (*.cpp *.h)")
-
- if path:
- inFile = QtCore.QFile(path[0])
- if inFile.open(QtCore.QFile.ReadOnly | QtCore.QFile.Text):
- text = inFile.readAll()
- text = str(text, encoding='ascii')
- self.editor.setPlainText(text)
-
- def setupEditor(self):
- font = QtGui.QFont()
- font.setFamily('Courier')
- font.setFixedPitch(True)
- font.setPointSize(10)
-
- self.editor = QtWidgets.QTextEdit()
- self.editor.setFont(font)
-
- self.highlighter = Highlighter(self.editor.document())
-
- def setupFileMenu(self):
- fileMenu = QtWidgets.QMenu("&File", self)
- self.menuBar().addMenu(fileMenu)
-
- fileMenu.addAction("&New...", self.newFile, "Ctrl+N")
- fileMenu.addAction("&Open...", self.openFile, "Ctrl+O")
- fileMenu.addAction("E&xit", qApp.quit, "Ctrl+Q")
-
- def setupHelpMenu(self):
- helpMenu = QtWidgets.QMenu("&Help", self)
- self.menuBar().addMenu(helpMenu)
-
- helpMenu.addAction("&About", self.about)
- helpMenu.addAction("About &Qt", qApp.aboutQt)
-
-
-class Highlighter(QtGui.QSyntaxHighlighter):
- def __init__(self, parent=None):
- super(Highlighter, self).__init__(parent)
-
- keywordFormat = QtGui.QTextCharFormat()
- keywordFormat.setForeground(QtCore.Qt.darkBlue)
- keywordFormat.setFontWeight(QtGui.QFont.Bold)
-
- keywordPatterns = ["\\bchar\\b", "\\bclass\\b", "\\bconst\\b",
- "\\bdouble\\b", "\\benum\\b", "\\bexplicit\\b", "\\bfriend\\b",
- "\\binline\\b", "\\bint\\b", "\\blong\\b", "\\bnamespace\\b",
- "\\boperator\\b", "\\bprivate\\b", "\\bprotected\\b",
- "\\bpublic\\b", "\\bshort\\b", "\\bsignals\\b", "\\bsigned\\b",
- "\\bslots\\b", "\\bstatic\\b", "\\bstruct\\b",
- "\\btemplate\\b", "\\btypedef\\b", "\\btypename\\b",
- "\\bunion\\b", "\\bunsigned\\b", "\\bvirtual\\b", "\\bvoid\\b",
- "\\bvolatile\\b"]
-
- self.highlightingRules = [(QtCore.QRegularExpression(pattern), keywordFormat)
- for pattern in keywordPatterns]
-
- classFormat = QtGui.QTextCharFormat()
- classFormat.setFontWeight(QtGui.QFont.Bold)
- classFormat.setForeground(QtCore.Qt.darkMagenta)
- pattern = QtCore.QRegularExpression(r'\bQ[A-Za-z]+\b')
- assert pattern.isValid()
- self.highlightingRules.append((pattern, classFormat))
-
- singleLineCommentFormat = QtGui.QTextCharFormat()
- singleLineCommentFormat.setForeground(QtCore.Qt.red)
- pattern = QtCore.QRegularExpression('//[^\n]*')
- assert pattern.isValid()
- self.highlightingRules.append((pattern, singleLineCommentFormat))
-
- self.multiLineCommentFormat = QtGui.QTextCharFormat()
- self.multiLineCommentFormat.setForeground(QtCore.Qt.red)
-
- quotationFormat = QtGui.QTextCharFormat()
- quotationFormat.setForeground(QtCore.Qt.darkGreen)
- pattern = QtCore.QRegularExpression('".*"')
- assert pattern.isValid()
- self.highlightingRules.append((pattern, quotationFormat))
-
- functionFormat = QtGui.QTextCharFormat()
- functionFormat.setFontItalic(True)
- functionFormat.setForeground(QtCore.Qt.blue)
- pattern = QtCore.QRegularExpression(r'\b[A-Za-z0-9_]+(?=\()')
- assert pattern.isValid()
- self.highlightingRules.append((pattern, functionFormat))
-
- self.commentStartExpression = QtCore.QRegularExpression(r'/\*')
- assert self.commentStartExpression.isValid()
- self.commentEndExpression = QtCore.QRegularExpression(r'\*/')
- assert self.commentEndExpression.isValid()
-
- def highlightBlock(self, text):
- for pattern, format in self.highlightingRules:
- match = pattern.match(text)
- while match.hasMatch():
- index = match.capturedStart(0)
- length = match.capturedLength(0)
- self.setFormat(index, length, format)
- match = pattern.match(text, index + length)
-
- self.setCurrentBlockState(0)
-
- startIndex = 0
- if self.previousBlockState() != 1:
- match = self.commentStartExpression.match(text)
- startIndex = match.capturedStart(0) if match.hasMatch() else -1
-
- while startIndex >= 0:
- match = self.commentEndExpression.match(text, startIndex)
- if match.hasMatch():
- endIndex = match.capturedStart(0)
- length = match.capturedLength(0)
- commentLength = endIndex - startIndex + length
- else:
- self.setCurrentBlockState(1)
- commentLength = len(text) - startIndex
-
- self.setFormat(startIndex, commentLength,
- self.multiLineCommentFormat)
- match = self.commentStartExpression.match(text, startIndex + commentLength)
- startIndex = match.capturedStart(0) if match.hasMatch() else -1
-
-
-if __name__ == '__main__':
-
- import sys
-
- app = QtWidgets.QApplication(sys.argv)
- window = MainWindow()
- window.resize(640, 512)
- window.show()
- sys.exit(app.exec_())
diff --git a/examples/widgets/state-machine/eventtrans.py b/examples/widgets/state-machine/eventtrans/eventtrans.py
index 312b4e258..312b4e258 100644
--- a/examples/widgets/state-machine/eventtrans.py
+++ b/examples/widgets/state-machine/eventtrans/eventtrans.py
diff --git a/examples/widgets/state-machine/eventtrans/eventtrans.pyproject b/examples/widgets/state-machine/eventtrans/eventtrans.pyproject
new file mode 100644
index 000000000..b2f660a8f
--- /dev/null
+++ b/examples/widgets/state-machine/eventtrans/eventtrans.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["eventtrans.py"]
+}
diff --git a/examples/widgets/state-machine/factstates.py b/examples/widgets/state-machine/factstates/factstates.py
index 3608f2a49..3608f2a49 100644
--- a/examples/widgets/state-machine/factstates.py
+++ b/examples/widgets/state-machine/factstates/factstates.py
diff --git a/examples/widgets/state-machine/factstates/factstates.pyproject b/examples/widgets/state-machine/factstates/factstates.pyproject
new file mode 100644
index 000000000..751a5005b
--- /dev/null
+++ b/examples/widgets/state-machine/factstates/factstates.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["factstates.py"]
+}
diff --git a/examples/widgets/state-machine/pingpong.py b/examples/widgets/state-machine/pingpong/pingpong.py
index f2e1f59f7..f2e1f59f7 100644
--- a/examples/widgets/state-machine/pingpong.py
+++ b/examples/widgets/state-machine/pingpong/pingpong.py
diff --git a/examples/widgets/state-machine/pingpong/pingpong.pyproject b/examples/widgets/state-machine/pingpong/pingpong.pyproject
new file mode 100644
index 000000000..67b48e5ab
--- /dev/null
+++ b/examples/widgets/state-machine/pingpong/pingpong.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["pingpong.py"]
+}
diff --git a/examples/widgets/state-machine/rogue.py b/examples/widgets/state-machine/rogue/rogue.py
index b830d6023..b830d6023 100644
--- a/examples/widgets/state-machine/rogue.py
+++ b/examples/widgets/state-machine/rogue/rogue.py
diff --git a/examples/widgets/state-machine/rogue/rogue.pyproject b/examples/widgets/state-machine/rogue/rogue.pyproject
new file mode 100644
index 000000000..b8baf9802
--- /dev/null
+++ b/examples/widgets/state-machine/rogue/rogue.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["rogue.py"]
+}
diff --git a/examples/widgets/state-machine/state-machine.pyproject b/examples/widgets/state-machine/state-machine.pyproject
deleted file mode 100644
index dafb204c8..000000000
--- a/examples/widgets/state-machine/state-machine.pyproject
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["pingpong.py", "trafficlight.py", "twowaybutton.py",
- "eventtrans.py", "rogue.py", "factstates.py"]
-}
diff --git a/examples/widgets/state-machine/trafficlight.py b/examples/widgets/state-machine/trafficlight/trafficlight.py
index 3631fdbbb..3631fdbbb 100644
--- a/examples/widgets/state-machine/trafficlight.py
+++ b/examples/widgets/state-machine/trafficlight/trafficlight.py
diff --git a/examples/widgets/state-machine/trafficlight/trafficlight.pyproject b/examples/widgets/state-machine/trafficlight/trafficlight.pyproject
new file mode 100644
index 000000000..912472693
--- /dev/null
+++ b/examples/widgets/state-machine/trafficlight/trafficlight.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["trafficlight.py"]
+}
diff --git a/examples/widgets/state-machine/twowaybutton.py b/examples/widgets/state-machine/twowaybutton/twowaybutton.py
index 6b3c58359..6b3c58359 100644
--- a/examples/widgets/state-machine/twowaybutton.py
+++ b/examples/widgets/state-machine/twowaybutton/twowaybutton.py
diff --git a/examples/widgets/state-machine/twowaybutton/twowaybutton.pyproject b/examples/widgets/state-machine/twowaybutton/twowaybutton.pyproject
new file mode 100644
index 000000000..223a51e32
--- /dev/null
+++ b/examples/widgets/state-machine/twowaybutton/twowaybutton.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["twowaybutton.py"]
+}
diff --git a/examples/widgets/widgets/tetrix.py b/examples/widgets/tetrix/tetrix.py
index 69c6d4bff..69c6d4bff 100644
--- a/examples/widgets/widgets/tetrix.py
+++ b/examples/widgets/tetrix/tetrix.py
diff --git a/examples/widgets/tetrix/tetrix.pyproject b/examples/widgets/tetrix/tetrix.pyproject
new file mode 100644
index 000000000..75121ea64
--- /dev/null
+++ b/examples/widgets/tetrix/tetrix.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["tetrix.py"]
+}
diff --git a/examples/widgets/threads/thread_signals.pyproject b/examples/widgets/threads/thread_signals.pyproject
new file mode 100644
index 000000000..e36f7633c
--- /dev/null
+++ b/examples/widgets/threads/thread_signals.pyproject
@@ -0,0 +1,3 @@
+{
+ "files": ["thread_signals.py"]
+}
diff --git a/examples/tutorial/tutorial.pyproject b/examples/widgets/tutorials/cannon/cannon.pyproject
index 09478e108..09478e108 100644
--- a/examples/tutorial/tutorial.pyproject
+++ b/examples/widgets/tutorials/cannon/cannon.pyproject
diff --git a/examples/tutorial/t1.py b/examples/widgets/tutorials/cannon/t1.py
index 43fea90c4..43fea90c4 100644
--- a/examples/tutorial/t1.py
+++ b/examples/widgets/tutorials/cannon/t1.py
diff --git a/examples/tutorial/t10.py b/examples/widgets/tutorials/cannon/t10.py
index ca7e9d9b7..ca7e9d9b7 100644
--- a/examples/tutorial/t10.py
+++ b/examples/widgets/tutorials/cannon/t10.py
diff --git a/examples/tutorial/t11.py b/examples/widgets/tutorials/cannon/t11.py
index c3d2e1271..c3d2e1271 100644
--- a/examples/tutorial/t11.py
+++ b/examples/widgets/tutorials/cannon/t11.py
diff --git a/examples/tutorial/t12.py b/examples/widgets/tutorials/cannon/t12.py
index 290ecc82e..290ecc82e 100644
--- a/examples/tutorial/t12.py
+++ b/examples/widgets/tutorials/cannon/t12.py
diff --git a/examples/tutorial/t13.py b/examples/widgets/tutorials/cannon/t13.py
index b54945e25..b54945e25 100644
--- a/examples/tutorial/t13.py
+++ b/examples/widgets/tutorials/cannon/t13.py
diff --git a/examples/tutorial/t14.py b/examples/widgets/tutorials/cannon/t14.py
index d558d2e61..d558d2e61 100644
--- a/examples/tutorial/t14.py
+++ b/examples/widgets/tutorials/cannon/t14.py
diff --git a/examples/tutorial/t2.py b/examples/widgets/tutorials/cannon/t2.py
index d51986f47..d51986f47 100644
--- a/examples/tutorial/t2.py
+++ b/examples/widgets/tutorials/cannon/t2.py
diff --git a/examples/tutorial/t3.py b/examples/widgets/tutorials/cannon/t3.py
index fa96d6ff1..fa96d6ff1 100644
--- a/examples/tutorial/t3.py
+++ b/examples/widgets/tutorials/cannon/t3.py
diff --git a/examples/tutorial/t4.py b/examples/widgets/tutorials/cannon/t4.py
index 4c30dfcbb..4c30dfcbb 100644
--- a/examples/tutorial/t4.py
+++ b/examples/widgets/tutorials/cannon/t4.py
diff --git a/examples/tutorial/t5.py b/examples/widgets/tutorials/cannon/t5.py
index af36578cd..af36578cd 100644
--- a/examples/tutorial/t5.py
+++ b/examples/widgets/tutorials/cannon/t5.py
diff --git a/examples/tutorial/t6.py b/examples/widgets/tutorials/cannon/t6.py
index 9094c0ce9..9094c0ce9 100644
--- a/examples/tutorial/t6.py
+++ b/examples/widgets/tutorials/cannon/t6.py
diff --git a/examples/tutorial/t7.py b/examples/widgets/tutorials/cannon/t7.py
index 590bd516c..590bd516c 100644
--- a/examples/tutorial/t7.py
+++ b/examples/widgets/tutorials/cannon/t7.py
diff --git a/examples/tutorial/t8.py b/examples/widgets/tutorials/cannon/t8.py
index 3761b4353..3761b4353 100644
--- a/examples/tutorial/t8.py
+++ b/examples/widgets/tutorials/cannon/t8.py
diff --git a/examples/tutorial/t9.py b/examples/widgets/tutorials/cannon/t9.py
index ca949c1ac..ca949c1ac 100644
--- a/examples/tutorial/t9.py
+++ b/examples/widgets/tutorials/cannon/t9.py
diff --git a/examples/widgets/widgets/widgets.pyproject b/examples/widgets/widgets/widgets.pyproject
deleted file mode 100644
index b4e3ef67e..000000000
--- a/examples/widgets/widgets/widgets.pyproject
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "files": ["tetrix.py", "hellogl_openglwidget_legacy.py"]
-}