![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 666
Join Date: May 2020
Location: Germany
Device: android smartphone + tablet
|
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: 44,237
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, it can.
QApplication.instance().is_dark_theme |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 666
Join Date: May 2020
Location: Germany
Device: android smartphone + tablet
|
Thank you, Kovid!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Randomly changing from Dark Mode to Light Mode | C8H10N4O2 | Calibre | 2 | 07-28-2022 09:36 PM |
Dark mode checking for Metadata Source plugin | BeckyEbook | Development | 2 | 01-09-2022 03:32 AM |
Bug: Dark Mode (Windows) Book Details Pop-Up Cover Background Not Changing to Dark | cgrapski | Calibre | 7 | 05-03-2021 11:45 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |