mirror of
https://github.com/pyqt/examples.git
synced 2025-08-29 04:47:41 +00:00
Move example 5 screenshots into src/screenshots
This commit is contained in:
parent
28d94d27c6
commit
15c91c16ba
@ -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.
|
||||
|
||||
| <a href="src/01 PyQt QLabel"><img src="src/screenshots/pyqt-qlabel.png" alt="PyQt QLabel" width=100px></a> | <a href="src/02 PyQt Widgets"><img src="src/screenshots/pyqt-widgets.png" alt="PyQt widgets screenshot" width=200px></a> | <a href="src/03 QVBoxLayout PyQt5"><img src="src/screenshots/qvboxlayout-pyqt5.png" alt="QVBoxLayout PyQt5" width=100px></a> | <a href="src/04 PyQt Signals and Slots"><img src="src/screenshots/pyqt-signals-and-slots.jpg" alt="PyQt Signals and Slots" width=170px></a> | <a href="src/05 Qt Designer Python"><img src="src/05 Qt Designer Python/qt-designer-windows.png" alt="Qt Designer Python" width=190px></a> |
|
||||
| <a href="src/01 PyQt QLabel"><img src="src/screenshots/pyqt-qlabel.png" alt="PyQt QLabel" width=100px></a> | <a href="src/02 PyQt Widgets"><img src="src/screenshots/pyqt-widgets.png" alt="PyQt widgets screenshot" width=200px></a> | <a href="src/03 QVBoxLayout PyQt5"><img src="src/screenshots/qvboxlayout-pyqt5.png" alt="QVBoxLayout PyQt5" width=100px></a> | <a href="src/04 PyQt Signals and Slots"><img src="src/screenshots/pyqt-signals-and-slots.jpg" alt="PyQt Signals and Slots" width=170px></a> | <a href="src/05 Qt Designer Python"><img src="src/screenshots/qt-designer-windows.png" alt="Qt Designer Python" width=190px></a> |
|
||||
| :--: | :--: | :--: | :--: | :--: |
|
||||
| <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> |
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
[Qt Designer](https://build-system.fman.io/qt-designer-download) is a graphical tool for building Qt GUIs:
|
||||
|
||||
<p align="center"><img src="qt-designer-windows.png" alt="Qt Designer screenshot on Windows"></p>
|
||||
<p align="center"><img src="../screenshots/qt-designer-windows.png" alt="Qt Designer screenshot on Windows"></p>
|
||||
|
||||
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:
|
||||
|
||||
<p align="center"><img src="qt-designer-python.png" alt="Qt Designer Python"></p>
|
||||
<p align="center"><img src="../screenshots/qt-designer-python.png" alt="Qt Designer Python"></p>
|
||||
|
||||
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.
|
||||
|
||||
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Loading…
x
Reference in New Issue
Block a user