Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
22d41fb3
Commit
22d41fb3
authored
Jul 21, 2009
by
con
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing find tool bar placeholders.
parent
091f3727
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
src/plugins/coreplugin/mainwindow.cpp
src/plugins/coreplugin/mainwindow.cpp
+0
-1
src/plugins/coreplugin/outputpane.cpp
src/plugins/coreplugin/outputpane.cpp
+2
-0
src/plugins/debugger/debuggeroutputwindow.cpp
src/plugins/debugger/debuggeroutputwindow.cpp
+6
-1
No files found.
src/plugins/coreplugin/mainwindow.cpp
View file @
22d41fb3
...
...
@@ -303,7 +303,6 @@ bool MainWindow::init(QString *errorMessage)
oph
->
setCloseable
(
false
);
outputModeWidget
->
layout
()
->
addWidget
(
oph
);
oph
->
setVisible
(
true
);
// since the output pane placeholder is invisible at startup by default (which makes sense in most cases)
outputModeWidget
->
layout
()
->
addWidget
(
new
Core
::
FindToolBarPlaceHolder
(
outputModeWidget
));
outputModeWidget
->
setFocusProxy
(
oph
);
connect
(
m_modeManager
,
SIGNAL
(
currentModeChanged
(
Core
::
IMode
*
)),
...
...
src/plugins/coreplugin/outputpane.cpp
View file @
22d41fb3
...
...
@@ -37,6 +37,7 @@
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/findplaceholder.h>
#include <extensionsystem/pluginmanager.h>
...
...
@@ -204,6 +205,7 @@ OutputPaneManager::OutputPaneManager(QWidget *parent) :
toolLayout
->
addWidget
(
m_opToolBarWidgets
);
toolLayout
->
addWidget
(
m_closeButton
);
mainlayout
->
addWidget
(
m_toolBar
);
mainlayout
->
addWidget
(
new
Core
::
FindToolBarPlaceHolder
(
this
));
mainlayout
->
addWidget
(
m_outputWidgetPane
,
10
);
setLayout
(
mainlayout
);
...
...
src/plugins/debugger/debuggeroutputwindow.cpp
View file @
22d41fb3
...
...
@@ -48,6 +48,7 @@
#ifndef GDBDEBUGGERLEAN
#include <aggregation/aggregate.h>
#include <coreplugin/findplaceholder.h>
#include <find/basetextfind.h>
using
namespace
Find
;
...
...
@@ -309,8 +310,12 @@ DebuggerOutputWindow::DebuggerOutputWindow(QWidget *parent)
m_splitter
->
addWidget
(
m_inputText
);
m_splitter
->
addWidget
(
m_combinedText
);
Q
Grid
Layout
*
layout
=
new
Q
Grid
Layout
(
this
);
Q
VBox
Layout
*
layout
=
new
Q
VBox
Layout
(
this
);
layout
->
setMargin
(
0
);
layout
->
setSpacing
(
0
);
#ifndef GDBDEBUGGERLEAN
layout
->
addWidget
(
new
Core
::
FindToolBarPlaceHolder
(
this
));
#endif
layout
->
addWidget
(
m_splitter
);
setLayout
(
layout
);
...
...
Write
Preview
Markdown
is supported
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