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
Education
Cantor
Commits
2da16e03
Commit
2da16e03
authored
Jul 16, 2020
by
Shubham .
Browse files
Hide the find text in page widget when on Contents page
parent
5469e51e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/panelplugins/documentationpanel/documentationpanelwidget.cpp
View file @
2da16e03
...
@@ -240,6 +240,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const
...
@@ -240,6 +240,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const
connect
(
this
,
&
DocumentationPanelWidget
::
activateBrowser
,
[
=
]{
connect
(
this
,
&
DocumentationPanelWidget
::
activateBrowser
,
[
=
]{
m_textBrowser
->
hide
();
m_textBrowser
->
hide
();
m_displayArea
->
setCurrentIndex
(
1
);
m_displayArea
->
setCurrentIndex
(
1
);
m_textBrowser
->
show
();
});
});
connect
(
m_displayArea
,
&
QStackedWidget
::
currentChanged
,
[
=
]{
connect
(
m_displayArea
,
&
QStackedWidget
::
currentChanged
,
[
=
]{
...
@@ -258,6 +259,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const
...
@@ -258,6 +259,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const
connect
(
home
,
&
QPushButton
::
clicked
,
[
=
]{
connect
(
home
,
&
QPushButton
::
clicked
,
[
=
]{
m_displayArea
->
setCurrentIndex
(
0
);
m_displayArea
->
setCurrentIndex
(
0
);
findPageWidgetContainer
->
hide
();
});
});
connect
(
resetZoom
,
&
QPushButton
::
clicked
,
[
=
]{
connect
(
resetZoom
,
&
QPushButton
::
clicked
,
[
=
]{
...
...
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