Commit d4bae54a authored by Shubham  .'s avatar Shubham .
Browse files

Add Julia documentation

parent 59cf8728
add_subdirectory(Maxima)
add_subdirectory(Octave)
add_subdirectory(Python)
add_subdirectory(Julia)
......@@ -282,9 +282,9 @@ void QtHelpConfig::loadSettings()
const KConfigGroup group = KSharedConfig::openConfig()->group(m_backend);
QStringList nameList = group.readEntry(QLatin1String("Names"), QStringList());
QStringList pathList = group.readEntry(QLatin1String("Icons"), QStringList());;
QStringList iconList = group.readEntry(QLatin1String("Paths"), QStringList());;
QStringList ghnsList = group.readEntry(QLatin1String("Ghns"), QStringList());;
QStringList pathList = group.readEntry(QLatin1String("Icons"), QStringList());
QStringList iconList = group.readEntry(QLatin1String("Paths"), QStringList());
QStringList ghnsList = group.readEntry(QLatin1String("Ghns"), QStringList());
// iterate through Name Location pairs and update the QTreeWidget
for(int i = 0; i < nameList.size(); i++)
......@@ -296,7 +296,7 @@ void QtHelpConfig::loadSettings()
void QtHelpConfig::saveSettings()
{
// create seperate group for sepearte backends
// create seperate group for seperate backends
KConfigGroup group = KSharedConfig::openConfig()->group(m_backend);
QStringList nameList;
......
......@@ -49,12 +49,11 @@ class QtHelpConfig : public QWidget
void remove(QTreeWidgetItem* item);
void modify(QTreeWidgetItem* item);
void knsUpdate(const KNS3::Entry::List& list);
public Q_SLOTS:
void loadSettings();
void saveSettings();
private:
void loadSettings();
QTreeWidgetItem * addTableItem(const QString &icon, const QString &name,
const QString &path, const QString &ghnsStatus);
......
......@@ -57,6 +57,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(QWidget* parent) : QWidget(pa
m_helpFiles.insert(QLatin1String("Maxima"), {QLatin1String("Maxima_v5.42"), QLatin1String("Maxima_v5.44")});
m_helpFiles.insert(QLatin1String("Python"), {QLatin1String("Python_v3.8.4"), QLatin1String("NumPy_v1.19")});
m_helpFiles.insert(QLatin1String("Octave"), {QLatin1String("Octave_v5.2.0")});
m_helpFiles.insert(QLatin1String("Julia"), {QLatin1String("Julia_v1.5")});
m_textBrowser = new QWebEngineView(this);
m_textBrowser->page()->action(QWebEnginePage::ViewSource)->setVisible(false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment