From fe02de354303cb0893ba018e236cc59f8c2d1c09 Mon Sep 17 00:00:00 2001 From: Michael Herrmann Date: Fri, 28 Jun 2019 07:47:01 +0200 Subject: [PATCH] Move example 3 screenshot into src/screenshots --- README.md | 2 +- src/03 QVBoxLayout PyQt5/README.md | 2 +- .../qvboxlayout-pyqt5.png | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{03 QVBoxLayout PyQt5 => screenshots}/qvboxlayout-pyqt5.png (100%) diff --git a/README.md b/README.md index 32f133d..35134d8 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/03 QVBoxLayout PyQt5/README.md b/src/03 QVBoxLayout PyQt5/README.md index c35cbf1..52f6204 100644 --- a/src/03 QVBoxLayout PyQt5/README.md +++ b/src/03 QVBoxLayout PyQt5/README.md @@ -2,7 +2,7 @@ Layouts let you position GUI elements next to each other. [`QVBoxLayout`](https://doc.qt.io/qt-5/qvboxlayout.html) for instance arranges items vertically: -

QVBoxLayout PyQt5

+

QVBoxLayout PyQt5

The [source code for this example](main.py) is not much more complex than for our [Hello World app](../01%20PyQt%20QLabel). First, we import PyQt5: diff --git a/src/03 QVBoxLayout PyQt5/qvboxlayout-pyqt5.png b/src/screenshots/qvboxlayout-pyqt5.png similarity index 100% rename from src/03 QVBoxLayout PyQt5/qvboxlayout-pyqt5.png rename to src/screenshots/qvboxlayout-pyqt5.png