mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 02:36:15 +03:00
Updated Create custom themes for qBittorrent (markdown)
parent
0c2202f5b5
commit
9511a10fce
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ Here
|
|||
`<color>` value supports normal rgb values(#rrggbb) or svg color names, basically it follows [Qt's named color convention](https://doc.qt.io/qt-5/qcolor.html#setNamedColor) convention
|
||||
|
||||
# Using custom resources with bundles
|
||||
qBittorrent uses [QResources::registerResource](https://doc.qt.io/qt-5/qresource.html#registerResource) to use the bundle file, you can imagine it like QBittorrent extracts bundle file in a special path which is `:/uitheme`, so every file should be referenced accordingly f.e let's see we have to change the image QRadiaButtons indicator, so to reference a `light/radio_button.svg` inside our bundle file, we should do something like this
|
||||
qBittorrent uses [QResources::registerResource](https://doc.qt.io/qt-5/qresource.html#registerResource) to use the bundle file, you can imagine it like QBittorrent extracts bundle file in a special path which is `:/uitheme`, so every file should be referenced accordingly f.e let's see we have to change the image QRadiaButtons indicator, so to reference a `light/radio_button.svg` inside your bundle file, you should do something like this
|
||||
```
|
||||
QRadioButton::indicator:unchecked,
|
||||
QRadioButton::indicator:unchecked:focus
|
||||
|
|
Loading…
Reference in a new issue