Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
2c3dd303
Commit
2c3dd303
authored
Jul 02, 2010
by
con
Browse files
Establish Ctrl+D as prefix for debugger shortcuts
(that have no other standard) Reviewed-by: dt
parent
6d80f359
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
2c3dd303
...
...
@@ -148,12 +148,12 @@ const char * const NEXT_KEY = "F6";
const
char
*
const
REVERSE_KEY
=
""
;
const
char
*
const
RUN_TO_LINE_KEY
=
"Shift+F8"
;
const
char
*
const
RUN_TO_FUNCTION_KEY
=
"Ctrl+F6"
;
const
char
*
const
JUMP_TO_LINE_KEY
=
"
Alt+D,Alt
+L"
;
const
char
*
const
JUMP_TO_LINE_KEY
=
"
Ctrl+D,Ctrl
+L"
;
const
char
*
const
TOGGLE_BREAK_KEY
=
"F8"
;
const
char
*
const
BREAK_BY_FUNCTION_KEY
=
"
Alt+D,Alt
+F"
;
const
char
*
const
BREAK_AT_MAIN_KEY
=
"
Alt+D,Alt
+M"
;
const
char
*
const
ADD_TO_WATCH_KEY
=
"
Alt+D,Alt
+W"
;
const
char
*
const
SNAPSHOT_KEY
=
"
Alt+D,Alt
+S"
;
const
char
*
const
BREAK_BY_FUNCTION_KEY
=
"
Ctrl+D,Ctrl
+F"
;
const
char
*
const
BREAK_AT_MAIN_KEY
=
"
Ctrl+D,Ctrl
+M"
;
const
char
*
const
ADD_TO_WATCH_KEY
=
"
Ctrl+D,Ctrl
+W"
;
const
char
*
const
SNAPSHOT_KEY
=
"
Ctrl+D,Ctrl
+S"
;
#else
const
char
*
const
INTERRUPT_KEY
=
"Shift+F5"
;
const
char
*
const
RESET_KEY
=
"Ctrl+Shift+F5"
;
...
...
@@ -168,7 +168,7 @@ const char * const TOGGLE_BREAK_KEY = "F9";
const
char
*
const
BREAK_BY_FUNCTION_KEY
=
""
;
const
char
*
const
BREAK_AT_MAIN_KEY
=
""
;
const
char
*
const
ADD_TO_WATCH_KEY
=
"Ctrl+Alt+Q"
;
const
char
*
const
SNAPSHOT_KEY
=
"
Alt+D,Alt
+S"
;
const
char
*
const
SNAPSHOT_KEY
=
"
Ctrl+D,Ctrl
+S"
;
#endif
}
// namespace Constants
...
...
@@ -902,7 +902,7 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
cmd
=
am
->
registerAction
(
actions
.
watchAction1
,
Constants
::
ADD_TO_WATCH1
,
cppeditorcontext
);
cmd
->
action
()
->
setEnabled
(
true
);
//cmd->setDefaultKeySequence(QKeySequence(tr("
ALT+D,ALT
+W")));
//cmd->setDefaultKeySequence(QKeySequence(tr("
Ctrl+D,Ctrl
+W")));
m_uiSwitcher
->
addMenuAction
(
cmd
,
Constants
::
LANG_CPP
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment