From 15c91c16bad3ebc4d0de7e3f4cf9c31bbcff0fda Mon Sep 17 00:00:00 2001 From: Michael Herrmann Date: Fri, 28 Jun 2019 07:51:17 +0200 Subject: [PATCH] Move example 5 screenshots into src/screenshots --- README.md | 2 +- src/05 Qt Designer Python/README.md | 4 ++-- .../qt-designer-python.png | Bin .../qt-designer-windows.png | Bin 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{05 Qt Designer Python => screenshots}/qt-designer-python.png (100%) rename src/{05 Qt Designer Python => screenshots}/qt-designer-windows.png (100%) diff --git a/README.md b/README.md index c72918d..e0e9417 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ These PyQt examples teach you to create a desktop app with Python. Start with "[Hello World](src/01%20PyQt%20QLabel)" and work your way up to the [official PyQt demos](#official-pyqt-demos). You can use Windows, Mac or Linux. -| PyQt QLabel | PyQt widgets screenshot | QVBoxLayout PyQt5 | PyQt Signals and Slots | Qt Designer Python | +| PyQt QLabel | PyQt widgets screenshot | QVBoxLayout PyQt5 | PyQt Signals and Slots | Qt Designer Python | | :--: | :--: | :--: | :--: | :--: | | Hello World! | Common PyQt Widgets | Layouts | Signals and Slots | Qt Designer & Python | diff --git a/src/05 Qt Designer Python/README.md b/src/05 Qt Designer Python/README.md index da9cb26..cb04362 100644 --- a/src/05 Qt Designer Python/README.md +++ b/src/05 Qt Designer Python/README.md @@ -2,13 +2,13 @@ [Qt Designer](https://build-system.fman.io/qt-designer-download) is a graphical tool for building Qt GUIs: -

Qt Designer screenshot on Windows

+

Qt Designer screenshot on Windows

It produces `.ui` files. You can load these files from C++ or Python to display the GUI. The dialog in the following screenshot comes from the file [`dialog.ui`](dialog.ui) in this directory: -

Qt Designer Python

+

Qt Designer Python

The [`main.py`](main.py) script (also in this directory) loads and invokes `dialog.ui` from Python. The steps with which it does this are quite easy. diff --git a/src/05 Qt Designer Python/qt-designer-python.png b/src/screenshots/qt-designer-python.png similarity index 100% rename from src/05 Qt Designer Python/qt-designer-python.png rename to src/screenshots/qt-designer-python.png diff --git a/src/05 Qt Designer Python/qt-designer-windows.png b/src/screenshots/qt-designer-windows.png similarity index 100% rename from src/05 Qt Designer Python/qt-designer-windows.png rename to src/screenshots/qt-designer-windows.png