Add changes and command line example

This commit is contained in:
Daniel Pizetta 2018-10-25 17:23:52 -03:00
parent 6b68706f58
commit 4ed29be962
2 changed files with 25 additions and 13 deletions

View File

@ -1,12 +1,14 @@
# Changelog # Changelog
- 2.6: - 2.6:
- Add changes made by other people in the new style - merge does not work there - Fix the wrong upload of style.qss - sorry
- Update README with Qt.py and PySide 2 information - Fix almost all widgets backgrounds, and other not previously covered widgets with new style
- New palette color, almost whole new qss file, simplify configuration, partially #112, #101, #109,
- Add changes made by other people in the new style - merge does not work there #93, #92, #102
- Update README with Qt.py and PySide 2 information #110, #107, #83
- Update __init__ info - Update __init__ info
- Improve scripts for processing ui and qrc - Improve scripts for processing ui and qrc
- Add __main__ and setup entry, to access function directly - Add __main__ and setup entry, to access function directly
- New palette color, almost whole new qss file, simplify configuration
- Add function to get information about bindings and abstraction layers for - Add function to get information about bindings and abstraction layers for
debbuging and/or issue tracker debbuging and/or issue tracker
- PySide 2 support - PySide 2 support

View File

@ -14,7 +14,7 @@ PyQtGraph).
### Python ### Python
From PyPI: Get the lastest stable version of ``qdarkstyle`` package From PyPI: Get the latest stable version of ``qdarkstyle`` package
using *pip* (preferable): using *pip* (preferable):
```bash ```bash
@ -86,8 +86,8 @@ window.show()
app.exec_() app.exec_()
``` ```
To use another wrapper for Qt, you just need to replace some lines. To use another wrapper for Qt, you need to replace some lines.
See examples bellow. See examples below.
To use PyQt4, change two lines To use PyQt4, change two lines
@ -172,18 +172,28 @@ window.show()
app.exec_() app.exec_()
``` ```
It you are using Qt.py, which is different from qtpy, you should install If you are using Qt.py, which is different from qtpy, you should install
qtpy also, then set both to the same binding. qtpy then set both to the same binding.
_There is an example included in the *example* folder. _There is an example included in the *example* folder.
You can run the script without installing qdarkstyle. You only need to have You can run the script without installing qdarkstyle. You only need to have
PySide or PySide2 or PyQt4 or PyQt5 installed on your system._ PySide or PySide2 or PyQt4 or PyQt5 installed on your system._
## What is new?
In the version 2.6, a reestructure stylesheet is provided. The palette has only 9 colors. Most widgets are revised and their styles were improved. We also provide a command line (script) to get info that could be used when opening issues. See the image below.
```
qdarkstyle --all
```
<img src="./screenshots/cmd.png"/>
## Snapshots ## Snapshots
Here are a few snapshots comparing the use of QDarkStyle and the default style. Here are a few snapshots comparing the use of QDarkStyle v2.5.3 and the default style.
Click in the image to zoom. Click in the image to zoom.
<table style="width:100%"> <table style="width:100%">
@ -224,7 +234,7 @@ Please, see [CHANGES](CHANGES.md) file.
## License ## License
This project is licensed under the MIT license. This project is licensed under the MIT license.
Imagens contained in this project are licensed under CC-BY license. Images contained in this project are licensed under CC-BY license.
For more information see [LICENSE](LICENSE.md) file. For more information see [LICENSE](LICENSE.md) file.