Closed egolus closed 8 years ago
I added custom Actions for the tabs. I haven't found a way to add custom shortcuts directly to the tabs (what is strange in my opinion).
can I combine the methods setActiveTab...
to one method? I would have to use a custom slot @Slot(QtGui.QWidget)
and somehow use the widget in the connect-call, right?
EDIT: OK, I found a way by using the sender of the signal
Nice work. What about ctrl+F
for new folder in the library tab? And ctrl+T
for exterior editor?
Ctrl+F
is normally search but ok, I think it's still better than Ctrl+R
. Ctrl+T
is normally open new tab, but as we don't have a feature like this I like it, too
Edit: aaah, I remember why I didn't use Ctrl+F
: As I want to have the underlined character as a shortcut indicator, I tried to have the same shortcut both with Ctrl
and Alt
. And Alt+F
is allready used for the &File
-menu
Repository health decreased by 0.41% when pulling 3bd035d on 74-Shortcuts into bafe9e5 on devel.
Works nicely, and the tests run fine. Can I merge it?
It still bugs me that we can't test the shortcuts, but yes, I think, I'm finished
(#74)
Ctrl
Available shortcuts:
Ctrl+U
(no collision)Ctrl+N
(No collision)Ctrl+F
(Collision: Search Alt+F -> Menu File)Ctrl+S
(No collision)Ctrl+R
(No collision)Ctrl+N
(No collision)Ctrl+T
(Collision: _new tab_)Ctrl+P
(Collision: Print?)Ctrl+R
(No collision)Ctrl+F
(No collision)Ctrl+L
(No collision)Ctrl+E
(No collision)Ctrl+W
(Collision: Close Tab/View)Ctrl++
(No collision)Ctrl+-
(No collision)Ctrl+0
(No collision)Ctrl+Q
(No collision)Ctrl+T
(No collision) ) REMOVED