Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2026, 09:23 AM   #16
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,085
Karma: 4000129
Join Date: Jan 2017
Location: Poland
Device: Various
As for the clipboard itself, adding a Pyperclip would probably solve the problem.
BeckyEbook is offline   Reply With Quote
Old 10-29-2026, 09:23 AM   #17
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I should be able to fix it for all platforms. I'll probably need to subclass QColorDialog so I can override the accept/reject routines (as well as force Qt's cross-platform color chooser rather than Linux and macOS built-in ones). Stay tuned.
DiapDealer is offline   Reply With Quote
Old 10-29-2026, 01:53 PM   #18
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 55,496
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
If only there was a box where a colour name i.e. rebeccapurple could be typed...

For a different program, that was a request for it's colour picker which the creator responded to by suggesting just typing the name in the CSS if you wanted a named colour.
DNSB is offline   Reply With Quote
Old Yesterday, 09:03 AM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I think I'm close to having something that will work for both Linux and Windows (and hopefully macOS). Writing stuff to the system clipboard on Linux with Qt is a huge pain in the butt. It's mostly intended to work from within a gui MainWindow where buttons will be used to copy/paste the clipboard content while the gui continues to run. Linux requires a running QApplication event loop to manipulate the system clipboard, while Windows does not.
DiapDealer is offline   Reply With Quote
Old Yesterday, 01:53 PM   #20
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I think I have it working on Windows and Linux. New icon, custom colors are preserved to and from preferences.
Attached Files
File Type: zip QtColorPicker_v0.1.2.zip (13.6 KB, 9 views)
DiapDealer is offline   Reply With Quote
Old Yesterday, 02:46 PM   #21
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,085
Karma: 4000129
Join Date: Jan 2017
Location: Poland
Device: Various
New: It now works with color names as well – you can have "red" or "rebeccapurple" in your clipboard, and the palette will display the correct color. The idea was adapted from a C# macro for ClipboardFusion: https://www.clipboardfusion.com/Macr...6-739ff1fab8ba
Attached Files
File Type: zip QtColorPicker_v0.1.3.zip (14.5 KB, 15 views)
BeckyEbook is offline   Reply With Quote
Old Yesterday, 10:31 PM   #22
icearch
Addict
icearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it is
 
Posts: 232
Karma: 2000
Join Date: Nov 2025
Device: none
A small improvement idea: Make the window resizeable, so one can select color more precisely.
icearch is offline   Reply With Quote
Old Today, 03:55 AM   #23
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 443
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Both v0.1.2 and v0.1.3 seem to work as advertised on my MacBook. I'll check linux and windows later when I'm back home.

The 'pick screen color' tool works nicely.

If the color code or name is already on the system clipboard, using the QtColorPicker plugin would seem to be redundant.

But all things considered, it's nice to have this facility 'in house' even if it's only needed occasionally.

Last edited by philja; Today at 03:58 AM.
philja is offline   Reply With Quote
Old Today, 07:04 AM   #24
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by icearch View Post
A small improvement idea: Make the window resizeable, so one can select color more precisely.
If it's not already resizeable, I'm not sure I can do anything about it. The cross-platform dialog is what it is. I see no options to turn sizeability on/off.
DiapDealer is offline   Reply With Quote
Old Today, 07:16 AM   #25
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by philja View Post
Both v0.1.2 and v0.1.3 seem to work as advertised on my MacBook.
Thanks. I'll try to get this moved to an official plugin thread, then.

Quote:
Originally Posted by philja View Post
If the color code or name is already on the system clipboard, using the QtColorPicker plugin would seem to be redundant.
With the ability to see the results of color changes/edits/pastes in Preview when editing css, I find the whole thing a bit redundant myself. But if it satisfies a niche need, I'm happy to help provide a plugin that meets that need.
DiapDealer is offline   Reply With Quote
Old Today, 07:49 AM   #26
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,186
Karma: 84699244
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Tested 0.1.3 on my AppImage installed Sigil on a ChromeBook; worked perfectly
PeterT is offline   Reply With Quote
Old Today, 08:00 AM   #27
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by icearch View Post
A small improvement idea: Make the window resizeable, so one can select color more precisely.
Quote:
Originally Posted by DiapDealer View Post
If it's not already resizeable, I'm not sure I can do anything about it. The cross-platform dialog is what it is. I see no options to turn sizeability on/off.
Turns out making the widget resizable is fairly simple. However... none of the widgets on the dialog will grow with the dialog, so it's fairly pointless.

Last edited by DiapDealer; Today at 08:04 AM.
DiapDealer is offline   Reply With Quote
Old Today, 09:19 AM   #28
icearch
Addict
icearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it isicearch knows what time it is
 
Posts: 232
Karma: 2000
Join Date: Nov 2025
Device: none
Quote:
Originally Posted by DiapDealer View Post
Turns out making the widget resizable is fairly simple. However... none of the widgets on the dialog will grow with the dialog, so it's fairly pointless.
How sad, most other software with this kind of color picking window can resize though.
icearch is offline   Reply With Quote
Old Today, 10:01 AM   #29
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,885
Karma: 212736631
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Most other software is OS specific and not using a cross-platform convenience utility.

Last edited by DiapDealer; Today at 10:04 AM.
DiapDealer is offline   Reply With Quote
Old Today, 10:28 AM   #30
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 443
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Back home and I tried the QtColorPicker 0.1.3 on my linux and W11 boxes.

On Linux (using Sigil-2.8.1-x86_64.AppImage) there is no automatic communication between the system clipboard andd the plugin (in either direction). But of course defining the color in the plugin and copy/paste from the plugin to the CSS works just fine and is completely adequate.

In W11, using one of the latest test builds from DNSB for Sigil 2.8.5, the plugin communicates well with the system clipboard in both directions. But in reality, it's just as quick to copy/paste from the plugin's html color description as it is to hit the 'ok' button.

Still, it's nice to have this little utility in house.
philja is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
header color cannot be change with CSS issam.seghir99 Viewer 0 11-24-2022 03:38 AM
css background-color: jwilson5153 Conversion 1 07-18-2019 11:16 PM
Button to add CSS class maicol07 Sigil 3 03-15-2019 02:25 PM
add css to specific page Etshy Calibre 1 08-09-2017 08:33 AM
when does calibre add/not add page_styles css cybmole Calibre 5 07-14-2014 03:58 AM


All times are GMT -4. The time now is 05:47 PM.


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