Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 04:37 PM   #16
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,933
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
. . .

From a keystrokes perspective, you would be better off just using the "Change Reading Order" context menu . . .
I'm using 2.8.6, I don't see any context menu on that dialogue's list of files, I tab to the buttons and press space.

ps: I don't use it often enough to have warranted making a request for a context menu.

BR

Last edited by BetterRed; Yesterday at 04:51 PM.
BetterRed is online now   Reply With Quote
Old Yesterday, 05:48 PM   #17
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,257
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);
}
KevinH is online now   Reply With Quote
Old Today, 03:53 AM   #18
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: 462
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by BetterRed View Post
I'm using 2.8.6, I don't see any context menu on that dialogue's list of files, I tab to the buttons and press space.

ps: I don't use it often enough to have warranted making a request for a context menu.

BR
I think there's a little misunderstanding here.

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.
philja is offline   Reply With Quote
Old Today, 09:00 AM   #19
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,257
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.
KevinH is online now   Reply With Quote
Old Today, 04:40 PM   #20
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,933
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
Attached Thumbnails
Click image for larger version

Name:	Sigil - Edit reading order.jpg
Views:	3
Size:	154.6 KB
ID:	227530   Click image for larger version

Name:	Sigil - Metadata edit.jpg
Views:	1
Size:	163.8 KB
ID:	227531  

Last edited by BetterRed; Today at 04:43 PM.
BetterRed is online now   Reply With Quote
Old Today, 05:22 PM   #21
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,257
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; Today at 05:26 PM.
KevinH is online now   Reply With Quote
Reply


Forum Jump

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


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


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