Skip to content

Commit

Permalink
Modify installation method
Browse files Browse the repository at this point in the history
  • Loading branch information
5yutan5 committed Aug 29, 2021
1 parent 12fe3d2 commit 4e494e0
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ There's a Light Theme too. Color and style balanced from the Dark theme for easy
- [Python 3.7+](https://www.python.org/downloads/release/python-396/)
- PySide6, PyQt6, PyQt5 or PySide2

## Installation

```plaintext
pip install pyqtdarktheme
```
## Installation Method

- From PyPi
- Last released version
```plaintext
pip install pyqtdarktheme
```
- Latest development version
```plaintext
pip install git+https://github.com/5yutan5/PyQtDarkTheme
```

## Usage

Expand All @@ -49,8 +55,7 @@ app.exec()

```

> ⚠ The quality of image may be low on Qt5(PyQt5, PySide2) due to the use of svg.
You can add the following [attribute](https://doc.qt.io/qt-5/qt.html#ApplicationAttribute-enum) to improve the quality of images.
> ⚠ The quality of image may be low on Qt5(PyQt5, PySide2) due to the use of svg. You can add the following [attribute](https://doc.qt.io/qt-5/qt.html#ApplicationAttribute-enum) to improve the quality of images.
> ```Python
> app.setAttribute(Qt.ApplicationAttribute.AA_UseHighDpiPixmaps)
> ```
Expand Down

0 comments on commit 4e494e0

Please sign in to comment.