mirror of
https://github.com/pyqt/examples.git
synced 2025-08-30 21:35:08 +00:00
Update README.md
This commit is contained in:
@@ -22,7 +22,7 @@ The above examples are from the book [Python and Qt: The Best Parts](https://bui
|
|||||||
|
|
||||||
## Official PyQt demos
|
## Official PyQt demos
|
||||||
|
|
||||||
The [PyQt source archive](https://www.riverbankcomputing.com/software/pyqt/download5) also contains a large number of sample files. You can find them reproduced here in the [`src/pyqt-official`](src/pyqt-official) directory. The easiest way to browse them is to follow the [instructions about running examples](#running-the-examples) below, then execute the following commands:
|
The [PyQt source archive](https://www.riverbankcomputing.com/software/pyqt/download5) also contains a large number of sample files. You can find them reproduced here in the [`src/pyqt-official`](src/pyqt-official) directory. The easiest way to start them is to follow the [instructions about running examples](#running-the-examples) below, then execute the following commands:
|
||||||
|
|
||||||
cd src/pyqt-official/qtdemo
|
cd src/pyqt-official/qtdemo
|
||||||
python qtdemo.py
|
python qtdemo.py
|
||||||
@@ -31,6 +31,8 @@ This starts the PyQt example launcher:
|
|||||||
|
|
||||||
<p align="center"><img src="src/screenshots/pyqt-examples-launcher.png" alt="PyQt Examples launcher"></p>
|
<p align="center"><img src="src/screenshots/pyqt-examples-launcher.png" alt="PyQt Examples launcher"></p>
|
||||||
|
|
||||||
|
You can use it to easily browse and run the official demo applications. For instance, the _Quick_/_Animation_/_ColorAnimation_, _Graphics Effects_/_Lighting and Shadows_, _Desktop_/ and _Widgets_/_Tetrix_ examples are quite nice.
|
||||||
|
|
||||||
## Running the examples
|
## Running the examples
|
||||||
|
|
||||||
Running the examples is really easy. The only thing you need is [Python 3](https://www.python.org/downloads/).
|
Running the examples is really easy. The only thing you need is [Python 3](https://www.python.org/downloads/).
|
||||||
|
Reference in New Issue
Block a user