|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
Karma: 666
Join Date: May 2020
Location: Germany
Device: android smartphone + tablet with Moon Reader and ReadEra Apps.
|
Detect dark mode in GUI plugin
In https://www.mobileread.com/forums/sh...d.php?t=344290 is stated, than a metadata plugin cannot detect if the Calibre GUI is in dark mode. Can it be done by a GUI plugin?
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,608
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, it can.
QApplication.instance().is_dark_theme |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 64
Karma: 666
Join Date: May 2020
Location: Germany
Device: android smartphone + tablet with Moon Reader and ReadEra Apps.
|
Thank you, Kovid!
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Randomly changing from Dark Mode to Light Mode | C8H10N4O2 | Calibre | 2 | 07-28-2022 10:36 PM |
| Dark mode checking for Metadata Source plugin | BeckyEbook | Development | 2 | 01-09-2022 04:32 AM |
| Bug: Dark Mode (Windows) Book Details Pop-Up Cover Background Not Changing to Dark | cgrapski | Calibre | 7 | 05-04-2021 12:45 AM |
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |