![]() |
@DiapDealer...That's strange. I haven't received your email yet. I've also checked my spam etc.
I'll send you another private email giving you my email address again, just in case I typed it wrong. |
@DiapDealer...I received your second email without a problem and have just emailed you some info + plugin + test file. Much thanks for your help.
|
Here's another interesting BeautifulSoup snippet that I've just successfully used:
Code:
# convert all html text to block text format |
Fairly self-contained Python code to make your PyQt5-based GUI plugin match Sigil's light/dark theme. It should be compatible with any version of Sigil that supports PyQt5 plugins. The dark theme just won't appear unless you're using Sigil 1.1.0 or higher.
Code:
def dark_palette(bk, app):Code:
app = QApplication(sys.argv)Code:
dark_palette(bk, app)I may add some platform-specific tweaks and bug workarounds from time to time. I know for a fact there's some Mac color issues. |
| All times are GMT -4. The time now is 08:32 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.