Skip to content
GitLab
Menu
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
5ab19740
Commit
5ab19740
authored
Jun 02, 2009
by
kh
Browse files
Use default key sequence for next and previous page.
Reviewed-by: Daniel Molkentin
parent
917521c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/help/helpplugin.cpp
View file @
5ab19740
...
@@ -196,10 +196,11 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
...
@@ -196,10 +196,11 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
QAction
*
previousAction
=
new
QAction
(
QIcon
(
QLatin1String
(
":/help/images/previous.png"
)),
QAction
*
previousAction
=
new
QAction
(
QIcon
(
QLatin1String
(
":/help/images/previous.png"
)),
tr
(
"Previous"
),
this
);
tr
(
"Previous"
),
this
);
cmd
=
am
->
registerAction
(
previousAction
,
QLatin1String
(
"Help.Previous"
),
modecontext
);
cmd
=
am
->
registerAction
(
previousAction
,
QLatin1String
(
"Help.Previous"
),
modecontext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
(
Qt
::
Key_Backspace
)
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
Back
);
QAction
*
nextAction
=
new
QAction
(
QIcon
(
QLatin1String
(
":/help/images/next.png"
)),
tr
(
"Next"
),
this
);
QAction
*
nextAction
=
new
QAction
(
QIcon
(
QLatin1String
(
":/help/images/next.png"
)),
tr
(
"Next"
),
this
);
cmd
=
am
->
registerAction
(
nextAction
,
QLatin1String
(
"Help.Next"
),
modecontext
);
cmd
=
am
->
registerAction
(
nextAction
,
QLatin1String
(
"Help.Next"
),
modecontext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
Forward
);
QAction
*
addBookmarkAction
=
new
QAction
(
QIcon
(
QLatin1String
(
":/help/images/bookmark.png"
)),
QAction
*
addBookmarkAction
=
new
QAction
(
QIcon
(
QLatin1String
(
":/help/images/bookmark.png"
)),
tr
(
"Add Bookmark"
),
this
);
tr
(
"Add Bookmark"
),
this
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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