![]() |
#46 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@BR: you need to set extra spacing to add between rows to something negative in Preferences->Look & Feel to reduce row height in Qt 5.
@davidfor: Likely a result of some performance optimizations for column color/icon rules. I've pinged chaley about it, though this is not specific to Qt 5. Last edited by kovidgoyal; 07-09-2014 at 11:52 AM. |
![]() |
![]() |
![]() |
#47 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
rule_icons = self.formatter.safe_format(fmt, self.mi, '', self.mi) Let me know if this fixes it, because if it does I must remove the changes before Friday's release. |
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
FYI, I've been using calibre 1.43-64bit and 1.200-32bit on my Win8. That way I have both without a portable install. Just another way to do it.
|
![]() |
![]() |
![]() |
#49 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@davidfor: I found the problem (I hope). Because of the change I made, when using composed icons the first template was used for all subsequent templates. I have submitted a fix to Kovid.
|
![]() |
![]() |
![]() |
#50 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Aside : I don't the like 'flat' look much, in particular in a long list, large file, I find button on the vertical scroll bars harder to discern than the current 'rounded' look. I've noticed this on other 'flat' gui's (eg chrome browser) but I don't use the scroll bar button as much in those programs as I do in calibre book list and editor. @chaley - I have some icons hooked to 'dummy' int fields where the rule is based on other columns
I'm not seeing any of those icons in V1.200 portable Aside : Post 1.43 install I noticed the 'edges' of my icon columns had traces of the column values showing - I didn't report it because I wasn't certain it hadn't always been thus. But on Monday I had cause to look at the L&F->Set icons tab, and I noticed all my icons were set to show icon with text. I'm 'sure' they were all icon with no text. I can believe I might have inadvertently changed one of them, but less so that I would have changed all five. Anyway it was easily fixed - but seeing your response to davidfor I thought I'd mention it. BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@BR: Sure. Increased the max to -15. The flat look comes from Qt 5's new Fusion theme, not much I can do about it, short of writing my own Qt 5 theme, which is rather too much work.
|
![]() |
![]() |
![]() |
#52 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
FYI, Generate Cover included:
Code:
from calibre.gui2 import NONE # ... which trunk calibre/gui2/__init__.py defines as: NONE = QVariant() # : Null value to return from the data function of item models Changing NONE to u'' works with qt5, but not with qt4, so I kept the gui2 import when using qt4. Without it, the font family drop list in GC isn't populated. |
![]() |
![]() |
![]() |
#53 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You should be able to return None instead of NONE in both PyQt4 and PyQt5
|
![]() |
![]() |
![]() |
#54 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() ![]() BR "See, I told you we lived on a flat earth. And Mr Google and his friends all agree me," called Saint Bellarmino from his cloud to Galileo Galilei and Nicolaus Copernicus warming their toes by Lucifer's fires. |
|
![]() |
![]() |
![]() |
#55 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
![]() |
![]() |
![]() |
#56 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#57 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
#58 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Unrelated issue: Anybody know the correct replacement for self.setTextColor(Qt.darkGray) on a QTableWidgetItem descendent? I've tryed setting the color on the current QBrush with self.foreground().setColor(Qt.darkGray), but it's not working. |
|
![]() |
![]() |
![]() |
#59 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
setForeground()
|
![]() |
![]() |
![]() |
#60 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre-plugins.com: A resource for plugin developers | GRiker | Development | 2 | 11-19-2014 03:52 PM |
Thank you to Calibre Developers | Happy_Reader | Calibre | 1 | 12-17-2013 10:18 PM |
Thanks Calibre Developers! | TechniSol | Kobo Reader | 3 | 11-19-2012 08:34 PM |
Calibre in a Python 3.2 world, attn: Kovid | Kevin McAleavey | Calibre | 8 | 01-09-2012 05:49 PM |
What device do most calibre developers use? | barium | Calibre | 5 | 01-05-2011 07:23 AM |