Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 07:17 AM   #1
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,903
Karma: 7945227
Join Date: Sep 2020
Device: none
[GUI Plugin] Palette Config

Palette Config
Quick access to calibre palettes customisation dialog!


Features
- Provides quick access to Calibre palette customisation dialog.
- Keeps calibre UI available to see style changes in real-time.

Installation
- Load from file
1. Download the latest release zip.
2. Preferences -> Plug-ins -> Load Plugin from File.
3. Select the zip, install, and restart Calibre.

License
This plugin is licensed under the GNU GPL v3.

Compatibility
- Calibre 7.5.0 or later
- Windows, macOS, Linux

Release notes
Spoiler:
- v1.0.2: thread url fix
- v1.0.1: minor UI adjustment
- v1.0.0: initial release
Attached Thumbnails
Click image for larger version

Name:	2026-02-12 09_03_48-Palette_Config.png
Views:	295
Size:	184.8 KB
ID:	220906  
Attached Files
File Type: zip Palette_Config-1.0.2.zip (151.5 KB, 3 views)

Last edited by Comfy.n; Yesterday at 05:29 PM.
Comfy.n is offline   Reply With Quote
Old Yesterday, 07:17 AM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,903
Karma: 7945227
Join Date: Sep 2020
Device: none
reserved
Comfy.n is offline   Reply With Quote
Advert
Old Yesterday, 05:37 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,334
Karma: 30621608
Join Date: Mar 2012
Location: Sydney Australia
Device: none


Which setting determines the highlight colour of the border around the 'widget' with kb focus. I'd to make it bright whyte for Dork mode like MS Windows settings, or yellow like I have for Sigil (can't remember how, maybe a BeckyEbook .qss).

BR
Attached Thumbnails
Click image for larger version

Name:	Sigil - widget focus yellow.jpg
Views:	8
Size:	255.4 KB
ID:	220921  
BetterRed is offline   Reply With Quote
Old Yesterday, 06:12 PM   #4
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,903
Karma: 7945227
Join Date: Sep 2020
Device: none
I haven't figured a way to test but maybe...

Code:
/* apply with app.setStyleSheet(...) */
*:focus {
    outline: 2px solid #FFFFFF;
    outline-offset: 0px;
}

/* target common editor widgets */
QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus, QTreeView:focus {
    outline: 2px solid #FFFF00;}
Comfy.n is offline   Reply With Quote
Old Yesterday, 07:22 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,334
Karma: 30621608
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Comfy.n View Post
I haven't figured a way to test but maybe...

Code:
/* apply with app.setStyleSheet(...) */
*:focus {
    outline: 2px solid #FFFFFF;
    outline-offset: 0px;
}

/* target common editor widgets */
QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus, QTreeView:focus {
    outline: 2px solid #FFFF00;}
Where would I put code like that, AFAIK calibre doesn't look for .qss files

Quote:
Originally Posted by BetterRed View Post
yellow like I have for Sigil (can't remember how, maybe a BeckyEbook .qss).
Actually, to get what I have in Sigil is a combination of a BeckyEbook .qss and a setting in Sigil's preferences.

In the .qss I can set border colour and width. Sigil preferences has a "Highlight Widgets with Focus (Needs Sigil Restart)" checkbox - yellow 1 pixel is in the code :sigh:

Who said it was okay to weave inconsistency and fragmentation into the Zeitgeist… when was that on any ballot. MS just sent me some toast, but they forgot the coffee.

BR
BetterRed is offline   Reply With Quote
Advert
Old Yesterday, 07:50 PM   #6
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,903
Karma: 7945227
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
Where would I put code like that, AFAIK calibre doesn't look for .qss files
"Notes on what I had to to, running Calibre from source:
- location of qss file: one level above the /src directory
- code placement in gui2/__init__.py:"


see this thread:

https://www.mobileread.com/forums/sh...4&postcount=14

IIRC, calibre must be in 'user interface style' - calibre style, and 'user interface colors' (palette) either light or dark (.. not system default), for changes to pick.

edit: actually, reading my own post, I noticed I said quite the opposite (must be system default..). This is indeed very confusing, and can be fathomed only by testing.

Last edited by Comfy.n; Yesterday at 07:58 PM.
Comfy.n is offline   Reply With Quote
Old Yesterday, 08:51 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,334
Karma: 30621608
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Comfy.n View Post
"Notes on what I had to to, running Calibre from source:
- location of qss file: one level above the /src directory
- code placement in gui2/__init__.py:"


see this thread:

https://www.mobileread.com/forums/sh...4&postcount=14

IIRC, calibre must be in 'user interface style' - calibre style, and 'user interface colors' (palette) either light or dark (.. not system default), for changes to pick.

edit: actually, reading my own post, I noticed I said quite the opposite (must be system default..). This is indeed very confusing, and can be fathomed only by testing.
Which demonstrates the veracity of the penultimate sentence in my previous post

- could CCR report History of Bulk Metadata Edits, see Thinklings thread in Lib Mgt and you'll get my drift.
BetterRed is offline   Reply With Quote
Old Yesterday, 10:57 PM   #8
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,903
Karma: 7945227
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
Which demonstrates the veracity of the penultimate sentence in my previous post

- could CCR report History of Bulk Metadata Edits, see Thinklings thread in Lib Mgt and you'll get my drift.
I think that's Audit Log plugin merit to achieve that level of logging. Which is amazing but adds a level of complexity I don't want to be anywhere near!
Comfy.n is offline   Reply With Quote
Old Yesterday, 11:57 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,334
Karma: 30621608
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I suspect Audit Log is in the same boat as Entities Manager… unloved, unlikely to be missed if it ceased to exist.

But all I had on mind for CCR History was -

Code:
2025-10-23 06:36:08 Bulk Metadata Edit was invoked.
Not what was done within it, i.e events not consequences.

BR
BetterRed is offline   Reply With Quote
Old Today, 07:30 AM   #10
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,903
Karma: 7945227
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
I suspect Audit Log is in the same boat as Entities Manager… unloved, unlikely to be missed if it ceased to exist.

But all I had on mind for CCR History was -

Code:
2025-10-23 06:36:08 Bulk Metadata Edit was invoked.
Not what was done within it, i.e events not consequences.

BR
Done. Please check CCR 3.1 update
Comfy.n is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Calibre Config Reports Comfy.n Plugins 150 Today 07:29 AM
[GUI plugin] Palette Switcher dunhill Plugins 34 Yesterday 07:25 AM
[GUI Plugin] Config Folder Button Comfy.n Plugins 1 02-10-2026 07:13 PM
[GUI Plugin] AI Config Comfy.n Plugins 2 12-23-2025 01:02 PM
[GUI Plugin] KoboTouch Config Button Comfy.n Plugins 1 12-08-2025 04:38 PM


All times are GMT -4. The time now is 09:19 AM.


MobileRead.com is a privately owned, operated and funded community.