mirror of
https://github.com/UN-GCPDS/qt-material.git
synced 2025-01-13 16:42:56 +08:00
Add imaged to readme
This commit is contained in:
parent
ee2fe18485
commit
00188012ea
@ -163,7 +163,7 @@ class RuntimeStylesheets(QMainWindow, QtStyleTools):
|
||||
# self.apply_stylesheet(self.main, 'light_blue.xml')
|
||||
```
|
||||
|
||||
![](_images/runtime.gif)
|
||||
![](https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/runtime.gif)
|
||||
|
||||
### Integrate stylesheets in a menu
|
||||
|
||||
@ -180,7 +180,7 @@ class RuntimeStylesheets(QMainWindow, QtStyleTools):
|
||||
self.add_menu_theme(self.main, self.main.menuStyles)
|
||||
```
|
||||
|
||||
![](_images/runtime_menu.gif)
|
||||
![](https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/runtime_menu.gif)
|
||||
|
||||
## Create new themes
|
||||
|
||||
@ -197,6 +197,6 @@ class RuntimeStylesheets(QMainWindow, QtStyleTools):
|
||||
self.show_dock_theme(self.main)
|
||||
```
|
||||
|
||||
![](_images/runtime_dock.gif)
|
||||
![](https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/runtime_dock.gif)
|
||||
|
||||
A full set of examples are available in the [exmaples directory](https://github.com/UN-GCPDS/qt-material/blob/master/examples/runtime/)
|
||||
|
@ -3,8 +3,6 @@ import os
|
||||
|
||||
with open('../README.md', 'r') as file:
|
||||
content = file.read()
|
||||
content = content.replace('_images/dark.gif', 'https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/dark.gif')
|
||||
content = content.replace('_images/light.gif', 'https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/light.gif')
|
||||
content = content.replace('_images/theme.gif', 'https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/theme.gif')
|
||||
content = content.replace('_images/', 'https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/')
|
||||
with open('../README.md', 'w') as file:
|
||||
file.write(content)
|
||||
|
Loading…
x
Reference in New Issue
Block a user