From 1076a410eabb58b9cbc96a96a26b3571c4fab35d Mon Sep 17 00:00:00 2001 From: Michael Herrmann Date: Fri, 28 Jun 2019 08:02:50 +0200 Subject: [PATCH] Move example 9 screenshot into src/screenshots --- README.md | 2 +- src/09 Qt dark theme/README.md | 2 +- .../qt-dark-theme.png | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{09 Qt dark theme => screenshots}/qt-dark-theme.png (100%) diff --git a/README.md b/README.md index c81b186..c18de3e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ These PyQt examples teach you to create a desktop app with Python. Start with "[ | :--: | :--: | :--: | :--: | :--: | | Hello World! | Common PyQt Widgets | Layouts | Signals and Slots | Qt Designer & Python | -| QML Python example | Qt Text Editor | PyQt5 exe | Qt dark theme | +| QML Python example | Qt Text Editor | PyQt5 exe | Qt dark theme | | :--: | :--: | :--: | :--: | | QML Python example | Qt Text Editor | Packaging & deployment | Qt Dark Theme | diff --git a/src/09 Qt dark theme/README.md b/src/09 Qt dark theme/README.md index 61f806b..ea4e647 100644 --- a/src/09 Qt dark theme/README.md +++ b/src/09 Qt dark theme/README.md @@ -2,7 +2,7 @@ This example shows how Qt's style mechanisms can be used to set a dark theme. It adapts the text editor from [example 7](../07%20Qt%20Text%20Editor). -![Qt Dark Theme](qt-dark-theme.png) +![Qt Dark Theme](../screenshots/qt-dark-theme.png) As you can see in [`main.py`](main.py), this example uses `QApplication.setStyle(...)` and a `QPalette` to change the application's colors: diff --git a/src/09 Qt dark theme/qt-dark-theme.png b/src/screenshots/qt-dark-theme.png similarity index 100% rename from src/09 Qt dark theme/qt-dark-theme.png rename to src/screenshots/qt-dark-theme.png