Loading isis/src/qisis/apps/ipce/IpceMainWindow.cpp +21 −14 Original line number Diff line number Diff line Loading @@ -343,6 +343,10 @@ namespace Isis { m_fileMenuActions.append(exitAction); m_permToolBarActions.append(exitAction); QAction *tabViewsAction = new QAction("Tab Views", this); connect( tabViewsAction, SIGNAL(triggered()), this, SLOT(tabAllViews()) ); m_viewMenuActions.append(tabViewsAction); QAction *saveNet = new QAction("&Save Active Control Network", this); saveNet->setIcon( QIcon::fromTheme("document-save") ); saveNet->setShortcut(Qt::CTRL + Qt::Key_S); Loading Loading @@ -809,13 +813,16 @@ namespace Isis { /** * PlaceHolder for the option to tab all views. (This was setTabbedViewMode in the old code) * Tabs all views inside of the main window. */ void IpceMainWindow::tabAllViews() { // QMdiArea *mdiArea = qobject_cast<QMdiArea *>( centralWidget() ); // mdiArea->setViewMode(QMdiArea::TabbedView); // m_cascadeViewsAction->setEnabled(false); // m_tileViewsAction->setEnabled(false); QDockWidget *firstView = m_viewDocks.first(); foreach (QDockWidget *currentView, m_viewDocks) { if (currentView == firstView) { continue; } tabifyDockWidget(firstView, currentView); } } Loading isis/src/qisis/apps/ipce/IpceMainWindow.h +2 −2 File changed.Contains only whitespace changes. Show changes Loading
isis/src/qisis/apps/ipce/IpceMainWindow.cpp +21 −14 Original line number Diff line number Diff line Loading @@ -343,6 +343,10 @@ namespace Isis { m_fileMenuActions.append(exitAction); m_permToolBarActions.append(exitAction); QAction *tabViewsAction = new QAction("Tab Views", this); connect( tabViewsAction, SIGNAL(triggered()), this, SLOT(tabAllViews()) ); m_viewMenuActions.append(tabViewsAction); QAction *saveNet = new QAction("&Save Active Control Network", this); saveNet->setIcon( QIcon::fromTheme("document-save") ); saveNet->setShortcut(Qt::CTRL + Qt::Key_S); Loading Loading @@ -809,13 +813,16 @@ namespace Isis { /** * PlaceHolder for the option to tab all views. (This was setTabbedViewMode in the old code) * Tabs all views inside of the main window. */ void IpceMainWindow::tabAllViews() { // QMdiArea *mdiArea = qobject_cast<QMdiArea *>( centralWidget() ); // mdiArea->setViewMode(QMdiArea::TabbedView); // m_cascadeViewsAction->setEnabled(false); // m_tileViewsAction->setEnabled(false); QDockWidget *firstView = m_viewDocks.first(); foreach (QDockWidget *currentView, m_viewDocks) { if (currentView == firstView) { continue; } tabifyDockWidget(firstView, currentView); } } Loading
isis/src/qisis/apps/ipce/IpceMainWindow.h +2 −2 File changed.Contains only whitespace changes. Show changes