|
|
#16 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,939
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
ps: I don't use it often enough to have warranted making a request for a context menu. BR Last edited by BetterRed; 11-20-2026 at 04:51 PM. |
|
|
|
|
|
|
#17 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,271
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Since no text input is needed in that dialog, I mapped pushbuttons to the keyboard as shown below (think Down, Up, First, Last).
Code:
bool EditRO::eventFilter(QObject *obj, QEvent *event)
{
if (obj == ui.ROList) {
if (event->type() == QEvent::KeyPress) {
QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);
int key = keyEvent->key();
if (key == Qt::Key_D) {
MoveDown();
return true;
} else if (key == Qt::Key_U) {
MoveUp();
return true;
} else if (key == Qt::Key_F) {
ToTop();
return true;
} else if (key == Qt::Key_L) {
ToBottom();
return true;
}
}
}
// pass the event on to the parent class
return QDialog::eventFilter(obj, event);
}
|
|
|
|
|
|
#18 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 462
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
The context menu referred to by Kevin is the Book Browser context menu. When you select 'Change Reading Order', the resulting dialog just has a couple of buttons and up/down arrows - no context menu. |
|
|
|
|
|
|
#19 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,271
Karma: 7640672
Join Date: Nov 2009
Device: many
|
And the Change Reading Order dialog uses a simple key to button mapping (as described above) to allow quick keyboard only use - so no need to Tab around to a button and back.
|
|
|
|
|
|
#20 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,939
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
For my very occasional use, tabs and spaces are easier, I also use them to move around and select the controls in other Sigil tools, e.g. Find and replace, Reports. Because I use Metadata editor several times a week I use its context menu.
Curious: why is the Change Reading Order modal dialogue window a detached child of the Main window, on Windows 10 it creates a separate taskbar item. The very similar Metadata Edit modal dialogue window is an attached child of the Main window hence it's not shown on the taskbar. See attached screen shots. BR Last edited by BetterRed; Yesterday at 04:43 PM. |
|
|
|
|
|
#21 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,271
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Not adding an unneeded context menu for such a simple dialog, feel free to use Tab but using the specified keys is much faster.
It is modal as you need to specify the order before anything else can happed. It is not a QDockWidget. Will look into how it is parented. Last edited by KevinH; Yesterday at 05:26 PM. |
|
|
|
|
|
#22 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,779
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If the NAV does not have a page map, is there any reason it cannot be used in place of an HTML ToC in the ePub?
It must still follow rules on how it is formatted that users may not like. But either way a Page List can still be present and just not shown. Last edited by KevinH; Today at 12:41 PM. |
|
|
|
|
|
#23 | |||
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,939
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
It was you who wrote the Change Reading Order dialogue had a context menu, maybe that's not what you meant, but imo it's what you wrote. Given it wasn't present in 2.8.1, I installed 2.8.6 (I'd been waiting for the dust to settle) when it wasn't there either, all I did was to point that out. At no stage have I requested context menu for the Change Reading Order dialogue, on the contrary I wrote: Quote:
Quote:
BR Last edited by BetterRed; Today at 10:15 AM. |
|||
|
|
|
|
|
#24 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,271
Karma: 7640672
Join Date: Nov 2009
Device: many
|
I can reparent this to MainWindow.
It never had a context menu only BookBrowser to launch it. Tooltips on the buttons should show which keys to use. (And they do, I just checked that.) And my measure of "easier" is the total key presses to accomplish the goal of full keyboard access. It luckily does not depend on your subjective opinion. And since you do not need nor want a context menu we are good to go with no change along those lines. So I will commit just the parent change. Last edited by KevinH; Yesterday at 11:39 PM. |
|
|
|
|
|
#25 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,271
Karma: 7640672
Join Date: Nov 2009
Device: many
|
I just puhed to master a change that parents the Change Reading Order dialog to the MainWindow.
|
|
|
|
|
|
#26 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,939
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
My measure of 'easiest' is what is best considering my injury induced permanent disabilities… if that meets your definition of subjective, so be it!
|
|
|
|
|
|
#27 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,271
Karma: 7640672
Join Date: Nov 2009
Device: many
|
It does as you have indicated many times in the past you wanted full keyboard access instead of mouse access in many dialogs. That I understand.
But you have been given full keyboard access in that dialog and one that requires fewer keys be used (less tabbing around) and those shortcut keys are discoverable and you are still complaining. So yes your opinion is subjective in that it keeps changing. My objective is to provide non-mouse based access to dialogs in Sigil easier/faster for people with disabilities that impact their ability to use a mouse. I have done that. If your specific disability somehow makes it hard to use the keyboard or keyboard shortcuts, you have never made that clear. I am trying to achieve the objective of requiring less mouse use for those who find it hard to use one, not specifically what pleases you more especially as that seems like a moving target in this case. Last edited by KevinH; Today at 05:36 PM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Preference settings always ignored | rmtew | Conversion | 2 | 11-11-2013 03:45 PM |
| preference scope | BetterRed | Calibre | 2 | 10-01-2013 05:25 AM |
| No Preference or Help Button on Calibre (v. 0.8.41) | Toffee | Devices | 2 | 03-05-2012 09:39 AM |
| Publishers Preference Poll | CJJ | General Discussions | 24 | 02-12-2012 02:29 PM |
| view preference | cybmole | Calibre | 2 | 01-25-2011 04:26 PM |