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
Tobias Hunger
qt-creator
Commits
ffdd1765
Commit
ffdd1765
authored
Aug 25, 2010
by
kh1
Browse files
Better naming.
parent
1b7a9292
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/help/helpplugin.cpp
View file @
ffdd1765
...
...
@@ -632,7 +632,7 @@ void HelpPlugin::showHideSidebar()
void
HelpPlugin
::
showExternalWindow
()
{
bool
firstTime
=
m_firstModeChange
;
s
etup
();
doS
etup
IfNeeded
();
m_externalHelpBar
->
setVisible
(
true
);
m_internalHelpBar
->
setVisible
(
false
);
m_externalWindow
->
show
();
...
...
@@ -647,7 +647,7 @@ void HelpPlugin::modeChanged(Core::IMode *mode, Core::IMode *old)
if
(
mode
==
m_mode
)
{
m_oldMode
=
old
;
qApp
->
setOverrideCursor
(
Qt
::
WaitCursor
);
s
etup
();
doS
etup
IfNeeded
();
qApp
->
restoreOverrideCursor
();
}
}
...
...
@@ -702,7 +702,7 @@ QStackedLayout * layoutForWidget(QWidget *parent, QWidget *widget)
void
HelpPlugin
::
contextHelpOptionChanged
()
{
s
etup
();
doS
etup
IfNeeded
();
QWidget
*
modeWidget
=
m_mode
->
widget
();
if
(
modeWidget
==
m_splitter
&&
contextHelpOption
()
==
Help
::
Constants
::
ExternalHelpAlways
)
{
...
...
@@ -1103,7 +1103,7 @@ void HelpPlugin::slotOpenActionUrl(QAction *action)
}
}
void
HelpPlugin
::
s
etup
()
void
HelpPlugin
::
doS
etup
IfNeeded
()
{
m_helpManager
->
setupGuiHelpEngine
();
if
(
m_firstModeChange
)
{
...
...
src/plugins/help/helpplugin.h
View file @
ffdd1765
...
...
@@ -119,7 +119,7 @@ private:
HelpViewer
*
viewerForContextMode
();
void
createRightPaneContextViewer
();
void
s
etup
();
void
doS
etup
IfNeeded
();
int
contextHelpOption
()
const
;
void
connectExternalHelpWindow
();
void
setupNavigationMenus
(
QAction
*
back
,
QAction
*
next
,
QWidget
*
parent
);
...
...
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