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
Utilities
Kate
Commits
e7a767bd
Commit
e7a767bd
authored
Feb 25, 2022
by
Waqar Ahmed
Browse files
Simplify toolview titles
parent
621a34a8
Pipeline
#142073
passed with stage
in 3 minutes and 37 seconds
Changes
12
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
addons/backtracebrowser/katebacktracebrowser.cpp
View file @
e7a767bd
...
...
@@ -114,7 +114,7 @@ KateBtBrowserPluginView::KateBtBrowserPluginView(KateBtBrowserPlugin *plugin, KT
QStringLiteral
(
"kate_private_plugin_katebacktracebrowserplugin"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"tools-report-bug"
)),
i18n
(
"Backtrace
Browser
"
));
i18n
(
"Backtrace"
));
m_widget
=
new
KateBtBrowserWidget
(
mainWindow
,
toolview
);
connect
(
plugin
,
&
KateBtBrowserPlugin
::
newStatus
,
m_widget
,
&
KateBtBrowserWidget
::
setStatus
);
...
...
addons/filebrowser/katefilebrowserplugin.cpp
View file @
e7a767bd
...
...
@@ -66,7 +66,7 @@ KateFileBrowserPluginView::KateFileBrowserPluginView(KTextEditor::Plugin *plugin
QStringLiteral
(
"kate_private_plugin_katefileselectorplugin"
),
KTextEditor
::
MainWindow
::
Left
,
QIcon
::
fromTheme
(
QStringLiteral
(
"document-open"
)),
i18n
(
"Filesystem
Browser
"
)))
i18n
(
"Filesystem"
)))
,
m_mainWindow
(
mainWindow
)
{
m_toolView
->
installEventFilter
(
this
);
...
...
addons/gdbplugin/plugin_kategdb.cpp
View file @
e7a767bd
...
...
@@ -69,11 +69,8 @@ KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M
KXMLGUIClient
::
setComponentName
(
QStringLiteral
(
"kategdb"
),
i18n
(
"Kate GDB"
));
setXMLFile
(
QStringLiteral
(
"ui.rc"
));
m_toolView
.
reset
(
m_mainWin
->
createToolView
(
plugin
,
i18n
(
"Debug View"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"debug-run"
)),
i18n
(
"Debug View"
)));
m_toolView
.
reset
(
m_mainWin
->
createToolView
(
plugin
,
i18n
(
"Debug View"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"debug-run"
)),
i18n
(
"Debug"
)));
m_localsStackToolView
.
reset
(
m_mainWin
->
createToolView
(
plugin
,
i18n
(
"Locals and Stack"
),
...
...
addons/katebuild-plugin/plugin_katebuild.cpp
View file @
e7a767bd
...
...
@@ -132,7 +132,7 @@ KateBuildView::KateBuildView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
QStringLiteral
(
"kate_plugin_katebuildplugin"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"application-x-ms-dos-executable"
)),
i18n
(
"Build
Output
"
));
i18n
(
"Build"
));
QAction
*
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"select_target"
));
a
->
setText
(
i18n
(
"Select Target..."
));
...
...
addons/katesql/katesqlview.cpp
View file @
e7a767bd
...
...
@@ -50,13 +50,13 @@ KateSQLView::KateSQLView(KTextEditor::Plugin *plugin, KTextEditor::MainWindow *m
QStringLiteral
(
"kate_private_plugin_katesql_output"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"view-form-table"
)),
i18nc
(
"@title:window"
,
"SQL
Results
"
));
i18nc
(
"@title:window"
,
"SQL"
));
m_schemaBrowserToolView
=
mw
->
createToolView
(
plugin
,
QStringLiteral
(
"kate_private_plugin_katesql_schemabrowser"
),
KTextEditor
::
MainWindow
::
Left
,
QIcon
::
fromTheme
(
QStringLiteral
(
"view-list-tree"
)),
i18nc
(
"@title:window"
,
"SQL Schema
Browser
"
));
i18nc
(
"@title:window"
,
"SQL Schema"
));
m_outputWidget
=
new
KateSQLOutputWidget
(
m_outputToolView
);
...
...
addons/konsole/kateconsole.cpp
View file @
e7a767bd
...
...
@@ -101,7 +101,7 @@ KateKonsolePluginView::KateKonsolePluginView(KateKonsolePlugin *plugin, KTextEdi
QStringLiteral
(
"kate_private_plugin_katekonsoleplugin"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"dialog-scripts"
)),
i18n
(
"Terminal
Panel
"
));
i18n
(
"Terminal"
));
m_console
=
new
KateConsole
(
m_plugin
,
mainWindow
,
toolview
);
// register this view
...
...
addons/lspclient/lspclientpluginview.cpp
View file @
e7a767bd
...
...
@@ -738,7 +738,7 @@ public:
QStringLiteral
(
"kate_lspclient"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"application-x-ms-dos-executable"
)),
i18n
(
"LSP
Client
"
)));
i18n
(
"LSP"
)));
m_tabWidget
=
new
QTabWidget
(
m_toolView
.
data
());
m_toolView
->
layout
()
->
addWidget
(
m_tabWidget
);
m_tabWidget
->
setFocusPolicy
(
Qt
::
NoFocus
);
...
...
addons/lspclient/lspclientsymbolview.cpp
View file @
e7a767bd
...
...
@@ -237,7 +237,7 @@ public:
QStringLiteral
(
"lspclient_symbol_outline"
),
KTextEditor
::
MainWindow
::
Right
,
QIcon
::
fromTheme
(
QStringLiteral
(
"code-context"
)),
i18n
(
"
LSP Client
Symbol Outline"
)));
i18n
(
"Symbol Outline"
)));
m_symbols
=
new
QTreeView
(
m_toolview
.
data
());
m_symbols
->
setFocusPolicy
(
Qt
::
NoFocus
);
...
...
addons/project/kateprojectpluginview.cpp
View file @
e7a767bd
...
...
@@ -72,7 +72,7 @@ KateProjectPluginView::KateProjectPluginView(KateProjectPlugin *plugin, KTextEdi
QStringLiteral
(
"kateprojectinfo"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"view-choose"
)),
i18n
(
"
Current
Project"
));
i18n
(
"Project"
));
/**
* create the combo + buttons for the toolViews + stacked widgets
...
...
addons/replicode/replicodeview.cpp
View file @
e7a767bd
...
...
@@ -52,7 +52,7 @@ ReplicodeView::ReplicodeView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
QStringLiteral
(
"kate_private_plugin_katereplicodeplugin_run"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"code-block"
)),
i18n
(
"Replicode
Output
"
)));
i18n
(
"Replicode"
)));
m_replicodeOutput
=
new
QListWidget
(
m_toolview
.
get
());
m_replicodeOutput
->
setSelectionMode
(
QAbstractItemView
::
ContiguousSelection
);
connect
(
m_replicodeOutput
,
&
QListWidget
::
itemActivated
,
this
,
&
ReplicodeView
::
outputClicked
);
...
...
addons/search/SearchPlugin.cpp
View file @
e7a767bd
...
...
@@ -300,7 +300,7 @@ KatePluginSearchView::KatePluginSearchView(KTextEditor::Plugin *plugin, KTextEdi
QStringLiteral
(
"kate_plugin_katesearch"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"edit-find"
)),
i18n
(
"Search
and Replace
"
));
i18n
(
"Search"
));
ContainerWidget
*
container
=
new
ContainerWidget
(
m_toolView
);
QWidget
*
searchUi
=
new
QWidget
(
container
);
...
...
addons/xmlcheck/plugin_katexmlcheck.cpp
View file @
e7a767bd
...
...
@@ -110,7 +110,7 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(KTextEditor::Plugin *plugin, KTex
QStringLiteral
(
"kate_plugin_xmlcheck_ouputview"
),
KTextEditor
::
MainWindow
::
Bottom
,
QIcon
::
fromTheme
(
QStringLiteral
(
"misc"
)),
i18n
(
"XML Checker
Output
"
));
i18n
(
"XML Checker"
));
listview
=
new
QTreeWidget
(
dock
);
m_tmp_file
=
nullptr
;
QAction
*
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"xml_check"
));
...
...
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