2
0
mirror of https://github.com/pyqt/examples.git synced 2025-08-31 05:45:09 +00:00

Move example 7 screenshots into src/screenshots

This commit is contained in:
Michael Herrmann
2019-06-28 07:58:04 +02:00
parent 9d739585f2
commit 0d6f973417
9 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ These PyQt examples teach you to create a desktop app with Python. Start with "[
| :--: | :--: | :--: | :--: | :--: |
| <a href="src/01 PyQt QLabel">Hello World!</a> | <a href="src/02 PyQt Widgets">Common PyQt Widgets</a> | <a href="src/03 QVBoxLayout PyQt5">Layouts</a> | <a href="src/04 PyQt Signals and Slots">Signals and Slots</a> | <a href="src/04 Qt Designer Python">Qt Designer & Python</a> |
| <a href="src/06 QML Python example"><img src="src/screenshots/qml-python-example.png" alt="QML Python example" width=200px></a> | <a href="src/07 Qt Text Editor"><img src="src/07 Qt Text Editor/screenshots/qt-text-editor.png" alt="Qt Text Editor" width=180px></a> | <a href="src/08 PyQt5 exe"><img src="src/08 PyQt5 exe/pyqt5-exe.png" alt="PyQt5 exe" width=213px></a> | <a href="src/09 Qt dark theme"><img src="src/09 Qt dark theme/qt-dark-theme.png" alt="Qt dark theme" width=180px></a> |
| <a href="src/06 QML Python example"><img src="src/screenshots/qml-python-example.png" alt="QML Python example" width=200px></a> | <a href="src/07 Qt Text Editor"><img src="src/screenshots/qt-text-editor.png" alt="Qt Text Editor" width=180px></a> | <a href="src/08 PyQt5 exe"><img src="src/08 PyQt5 exe/pyqt5-exe.png" alt="PyQt5 exe" width=213px></a> | <a href="src/09 Qt dark theme"><img src="src/09 Qt dark theme/qt-dark-theme.png" alt="Qt dark theme" width=180px></a> |
| :--: | :--: | :--: | :--: |
| <a href="src/06 QML Python example">QML Python example</a> | <a href="src/07 Qt Text Editor">Qt Text Editor</a> | <a href="src/08 PyQt5 exe">Packaging & deployment</a> | <a href="src/09 Qt dark theme">Qt Dark Theme</a> |

View File

@@ -2,11 +2,11 @@
This example implements a simple text editor with (Py)Qt.
![Qt Text Editor](screenshots/qt-text-editor-windows.png) ![QMenu example](screenshots/qmenu-example.png)
![Qt Text Editor](../screenshots/qt-text-editor-windows.png) ![QMenu example](../screenshots/qmenu-example.png)
![Qt QMenu](screenshots/qt-qmenu.png) ![QDialog example](screenshots/qdialog-example.png)
![Qt QMenu](../screenshots/qt-qmenu.png) ![QDialog example](../screenshots/qdialog-example.png)
![QMessageBox example](screenshots/qmessagebox-example.png)
![QMessageBox example](../screenshots/qmessagebox-example.png)
It has a surprising number of features:

View File

@@ -20,7 +20,7 @@ We no longer need to create a `QApplication`. This is done automatically by fbs.
The editor's _About_ dialog shows an icon:
![QDialog example](../07%20Qt%20Text%20Editor/screenshots/qdialog-example.png)
![QDialog example](../screenshots/qdialog-example.png)
This is done in the original code as follows:

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB