QComicBook icon indicating copy to clipboard operation
QComicBook copied to clipboard

Feature Request: Configurable Keyboard Shortcuts

Open tsumo opened this issue 8 years ago • 3 comments

Self-explanatory.

tsumo avatar Nov 23 '16 20:11 tsumo

+1, hope j/k for scroll up/down,

ethanyu336 avatar Sep 30 '17 11:09 ethanyu336

:+1: would like to have ESC to close application

jjvbsag avatar Oct 25 '18 07:10 jjvbsag

+1, hope j/k for scroll up/down,

Correct me if I'm wrong, but wouldn't this be easily achievable by changing src/ComicMainWindow.ui

Lines

<action name="actionScrollUp">
    <property name="text">
    <string>Scroll up</string>
   </property>
   <property name="shortcut">
    <string>Up</string>
   </property>
  </action>
  <action name="actionScrollDown">
   <property name="text">
    <string>Scroll down</string>
   </property>
   <property name="shortcut">
    <string>Down</string>
   </property>
  </action>

Changing <string>Up</string> and <string>Down</string> fixes for this use-case.

would like to have ESC to close application Same here, only on line 253:

<action name="actionQuit">
   <property name="text">
    <string>Quit</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Q</string>
   </property>
   <property name="menuRole">
    <enum>QAction::QuitRole</enum>
   </property>
  </action>

Changing <string>Ctrl+Q</string> Should also solve this use-case.

I think focusing on specifics is quite bad in this case, what is needed is really a way to allow users to configure their shortcuts on the fly, without any programming needed. Anything less than that is at most postponing the problem (Unless you do this for your personal use, then by all means, do change stuff and compile it by yourself, I'm a vocal supporter of changing and compiling stuff for your personal use. :D)

frnco avatar May 11 '20 15:05 frnco