![]() |
#76 | |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Quote:
To Kovid, that was possible to implemente a unique button as a cell (button of we modified properties dynamically according to the note it represents), or that is still to much bad regardless the perfomance? |
|
![]() |
![]() |
#77 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Kovid's "checkbox" solution is performant, purely in python, and easy to understand. With a context menu offering create/edit, delete, import, and export (which exists) it works well enough. |
|
![]() |
![]() |
#78 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,396
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah i dont think using a cell widget is workable with large libraries. The "right" way to fix this if not use QTableItems and instead use a proper model with caching. And then use a styled delegate that draws its buttons based on the data in the model for the current cell. And then it will have to handle mouse events and so on, its a lot of work. I think the checkmark is a reasonable compromise. One can add a tooltip to it saying press f2 to edit or whatever.
@charles: I think a styled delegate would be doable in python but given that it has to handle events and state and so on it will be a lot of work |
![]() |
![]() |
#79 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Another way to "fix" this is to use an "is editable" icon, perhaps edit_input.png. It could go on non-edited cells, just as the "Edited" (quill) icon goes on edited cells. Something like this: I don't feel strongly one way or the other. |
|
![]() |
![]() |
#80 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,396
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
isnt turning on mouse tracking just a one line change? I'm not very fond of the icon it really clutters up the table since its there on every cell.
|
![]() |
![]() |
#81 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
TBH I don't know. I thought I would also need to detect that the mouse is hovering in the table cell, which isn't quite so easy.
![]() Quote:
|
|
![]() |
![]() |
#82 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,396
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It should just require calling self.setMouseTracking() but the bad part is that since we arent using a model we would have to call settooltip on every cell which is a huge amount of largely useless CPU work.
|
![]() |
![]() |
#83 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
This is what I submitted to Kovid, leaving Manage categories showing the items if it can. |
|
![]() |
![]() |
#84 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() Suggestions :
Last edited by BetterRed; 11-05-2023 at 05:08 PM. |
|
![]() |
![]() |
#85 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I use the Manage [category] items dialogue (via Shift+F2 in the book list) to add new category items and apply category items to books. For me it is significantly less error prone that adding and selecting in line. I would normally know I wanted to attach a note to a category item when I added it, which is why I started this conversation there. BR |
|
![]() |
![]() |
#86 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
|
||
![]() |
![]() |
#87 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I had this in mind: ✏️ — code point: U+270F U+FE0F. But now I know the Note cells are editable, for me it's moot.
And if I could, I'd move the Count and Was columns after Link and Note - then I wouldn't have to navigate through them to get at the editable cells. BR |
![]() |
![]() |
#88 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,035
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Possible Qt weirdness: I noticed in various plugin dialogs that contain a table ("Edit List" in Reading List, "Show Reading Position Changes" in Kobo Utilities), the widths of the columns repeatedly get reset. I don't recall this happening before, can anyone else confirm?
|
![]() |
![]() |
#89 | |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Quote:
*testing* [attached image] weellll... not really conclusive. I still think there's a good idea there, but to get a satisfactory result, we'd have to draw our own pencil and add it to calibreSymbols.otf font. And after all, the pencil is already the symbol for note elsewhere. But like your say, detail when we know. Also, after a little further testing, I identified that it was the Variation Selector U+FE0F that wasn't identified (probably on Qt side), so the character U+270F was read raw ✏ (bonus ✎ U+270E, ✐ U+2710) |
|
![]() |
![]() |
#90 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,396
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes it would require the special font as otherwise we hav eno idea what kind of pencil it will look like. And that font would need to be set on every notes cell. Not really worth it for pencil over checkmark.
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Odyssey Firmware beta test | EowynCarter | Bookeen | 16 | 02-28-2016 07:23 AM |
[Android] Calibre Companion alpha and beta test programs | chaley | Calibre Companion | 0 | 02-21-2014 12:09 AM |
Beta test phase for Calibre updates? | rollercoaster | Calibre | 19 | 01-11-2011 02:08 AM |
Copia beta test - Get Your Invite Now! | Nate the great | Announcements | 34 | 11-18-2010 07:48 PM |
Beta Beta Test of Major New Features | Starson17 | Calibre | 45 | 05-17-2010 10:55 AM |