Mercurial > hg > octave-terminal
changeset 13425:4cc9ec20c2be
Added service tab.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Wed, 13 Apr 2011 18:08:55 +0200 |
parents | 13244262df8c |
children | c14c80c8c29d |
files | gui//src/MainWindow.cpp gui//src/MainWindow.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui//src/MainWindow.cpp +++ b/gui//src/MainWindow.cpp @@ -82,10 +82,12 @@ m_openedFiles = new QMdiArea(this); m_statusBar = new QStatusBar(this); m_browserWidget = new BrowserWidget(this); + m_serviceWidget = new BrowserWidget(this); m_centralTabWidget = new QTabWidget(this); m_centralTabWidget->addTab(m_octaveTerminal, "Command Window"); m_centralTabWidget->addTab(m_openedFiles, "File Editor"); m_centralTabWidget->addTab(m_browserWidget, "Documentation"); + m_centralTabWidget->addTab(m_serviceWidget, "Service"); // TODO: Add meaningfull toolbar items. QAction *commandAction = new QAction(style->standardIcon(QStyle::SP_CommandLink), @@ -109,6 +111,7 @@ connect(m_historyDockWidget, SIGNAL(information(QString)), this, SLOT(reportStatusMessage(QString))); openWebPage("http://www.gnu.org/software/octave/doc/interpreter/"); + m_serviceWidget->load(QUrl("https://github.com/jacobdawid/Quint/issues")); } void MainWindow::establishOctaveLink() {