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
Education
Cantor
Commits
e29544d1
Commit
e29544d1
authored
Jul 04, 2020
by
Shubham .
Browse files
Add help files for Octave, now Octave shows its documentation
parent
50fd1d4d
Changes
6
Hide whitespace changes
Inline
Side-by-side
documentation/CMakeLists.txt
View file @
e29544d1
add_subdirectory
(
Maxima
)
add_subdirectory
(
Octave
)
documentation/Octave/CMakeLists.txt
0 → 100644
View file @
e29544d1
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
DESTINATION
${
DATA_INSTALL_DIR
}
/
${
PROJECT_NAME
}
/documentation PATTERN
"CMakeLists.txt"
EXCLUDE
)
documentation/Octave/help.qch
0 → 100644
View file @
e29544d1
File added
documentation/Octave/help.qhc
0 → 100644
View file @
e29544d1
File added
src/cantor_part.cpp
View file @
e29544d1
...
...
@@ -360,7 +360,7 @@ CantorPart::CantorPart( QWidget *parentWidget, QObject *parent, const QVariantLi
connect
(
m_showBackendHelp
,
&
QAction
::
triggered
,
this
,
&
CantorPart
::
showBackendHelp
);
// Do not display "Show Backend Help" action for Maxima, since we are showing it's integrated documentation
if
(
backend
->
name
()
==
QLatin1String
(
"Maxima"
))
if
(
backend
->
name
()
==
QLatin1String
(
"Maxima"
)
||
backend
->
name
()
==
QLatin1String
(
"Octave"
)
)
m_showBackendHelp
->
setVisible
(
false
);
// Disabled, because uploading to kde store from program don't work
...
...
src/panelplugins/documentationpanel/documentationpanelwidget.cpp
View file @
e29544d1
...
...
@@ -51,6 +51,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(Cantor::Session* session, QWi
if
(
!
m_engine
->
setupData
())
{
qWarning
()
<<
"Couldn't setup QtHelp Engine"
;
qWarning
()
<<
m_engine
->
error
();
delete
m_engine
;
delete
m_textBrowser
;
delete
m_tabWidget
;
...
...
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