Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Delete QQmlApplicationEngine on application exitJaime Resano2024-11-251-1/+3
| | | | | | | | | | | | | | Due to the API limitations, we have to ensure that the engine is deleted before other parts of the application is deleted. Otherwise exposing objects using setInitialProperties() or setContextProperty() for example will cause warnings to be printed. It is a good practice to always delete the engine manually so all the code should be consistent. Task-number: PYSIDE-1612 Pick-to: 6.8 Change-Id: I01f16359e9d90cefd5957708fe12ce489bd7edc0 Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Documentation: Remove example anchorsFriedemann Kleint2024-08-161-2/+0
| | | | | | | The example_gallery tools also adds anchors, use these instead. Change-Id: I488250fae608cf50804c3edfe0ec12d4aa08194a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-202-0/+2
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* File System Explorer: Fix app icon when launched from another directoryFriedemann Kleint2024-04-301-1/+1
| | | | | | | | | Prepend path, fixing: qt.svg: Cannot open file '../FileSystemModule/icons/app_icon.svg', because: No such file or directory Pick-to: 6.7 Change-Id: I82876af19a63110f46f85222fb2bfb92ec8f1965 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* filesystemexplorer example: Remove import PySide6Friedemann Kleint2024-03-041-3/+2
| | | | | | | | | | This is bad practice which slows down the application startup. Task-number: PYSIDE-2576 Task-number: QTBUG-119785 Pick-to: 6.6 Change-Id: I761bceab9c2a3071a9a63c347df08c75fffec84f Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* examples: fix flake8 issues and add exceptionsCristián Maureira-Fredes2024-01-251-1/+1
| | | | | | | | | | Exception for: - qApp and tr not being directly imported: F821 - *rc and qml modules being imported but not used: F401 Pick-to: 6.6 6.5 6.2 Change-Id: I5e40f3f54c1721ef3dc5d7f1e87d5fd8ec771b8e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Filesystemexplorer-example: port v2Dennis Oberst2024-01-2320-451/+834
| | | | | | | | | | Since we're touching the example: improve the visualization of files inside the tree-view and provide a minimum width and height. Task-number: PYSIDE-2576 Task-number: QTBUG-119785 Change-Id: I47c6d3eb02436a9ab4213e9b8195b32eaaf37573 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Examples: Fix a number of flake8 errors (part 1)Adrian Herrmann2023-12-061-1/+2
| | | | | | | | | First batch, including low-hanging fruit like Alignments, whitespaces, line length, indents, etc. Pick-to: 6.6 Change-Id: I55966876077f7fddfdc82cbe376677af9995f329 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* File system explorer example: Improve shortcutsFriedemann Kleint2023-10-251-2/+3
| | | | | | | | Use the standard keys for zoom and the common Ctrl+Q for quit. Pick-to: 6.6 Change-Id: I3659a5a84bc1e46938729710af31c834b8a50ed8 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* doc: fix issues with pyside rst filesCristián Maureira-Fredes2023-04-051-0/+1
| | | | | | | | | | Fixing extra indentation, syntax issues, and formatting. Adapting too some snippet line highlights, and many other details. Pick-to: 6.5 Change-Id: Ife4eb5cec03577b2902d409b4007ae6d12141747 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* example: add qtquickcontrols filesystemexplorerDennis Oberst2023-03-2926-0/+1221
This example was ported from the qt/quickcontrols repository Pick-to: 6.5 Task-number: PYSIDE-2224 Change-Id: Id323d21a4ae40f2105fe1e3858a16254aebc04e6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>