Loading isis/src/qisis/objs/CubeDnView/CubeDnView.cpp +3 −15 Original line number Diff line number Diff line Loading @@ -236,14 +236,12 @@ namespace Isis { zoomTool->activate(true); } /** * This is a slot function which is called when directory emits a siganl to * CubeDnView when an active control network is set. It enables the control * network editor tool in the toolpad. * A slot function that is called when directory emits a siganl that an active * control network is set. It enables the control network editor tool in the * toolpad and loads the network. */ void CubeDnView::enableControlNetTool(bool value) { foreach (QAction * action, m_toolPad->actions()) { if (action->objectName() == "ControlNetTool") { action->setEnabled(value); Loading Loading @@ -304,16 +302,6 @@ namespace Isis { return item->isShape(); } /** * Returns a list of actions for the tool pad. * * @return @b QList<QAction*> The actions */ QList<QAction *> CubeDnView::toolPadActions() { return m_toolPad->actions(); } /** * Slot to connect to the currentChanged() signal from a selection * model. If the new current item is an image the corresponding Loading isis/src/qisis/objs/CubeDnView/CubeDnView.h +0 −3 Original line number Diff line number Diff line Loading @@ -89,7 +89,6 @@ namespace Isis { * view has its own toolbar, so having getters that return toolbar * actions to fill the toolbar of the IpceMainWindow are unnecessary. * Removed methods that returned menu and toolbar actions. * toolPadActions() is still needed because it is used in Directory. * Removed connections that connected the project and CubeDnView and called * enableControlNetTool() because Directory now does this. */ Loading @@ -101,8 +100,6 @@ namespace Isis { CubeDnView(Directory *directory, QWidget *parent=0); ~CubeDnView(); virtual QList<QAction *> toolPadActions(); QSize sizeHint() const; bool viewportContainsShape(MdiCubeViewport *viewport); Loading Loading
isis/src/qisis/objs/CubeDnView/CubeDnView.cpp +3 −15 Original line number Diff line number Diff line Loading @@ -236,14 +236,12 @@ namespace Isis { zoomTool->activate(true); } /** * This is a slot function which is called when directory emits a siganl to * CubeDnView when an active control network is set. It enables the control * network editor tool in the toolpad. * A slot function that is called when directory emits a siganl that an active * control network is set. It enables the control network editor tool in the * toolpad and loads the network. */ void CubeDnView::enableControlNetTool(bool value) { foreach (QAction * action, m_toolPad->actions()) { if (action->objectName() == "ControlNetTool") { action->setEnabled(value); Loading Loading @@ -304,16 +302,6 @@ namespace Isis { return item->isShape(); } /** * Returns a list of actions for the tool pad. * * @return @b QList<QAction*> The actions */ QList<QAction *> CubeDnView::toolPadActions() { return m_toolPad->actions(); } /** * Slot to connect to the currentChanged() signal from a selection * model. If the new current item is an image the corresponding Loading
isis/src/qisis/objs/CubeDnView/CubeDnView.h +0 −3 Original line number Diff line number Diff line Loading @@ -89,7 +89,6 @@ namespace Isis { * view has its own toolbar, so having getters that return toolbar * actions to fill the toolbar of the IpceMainWindow are unnecessary. * Removed methods that returned menu and toolbar actions. * toolPadActions() is still needed because it is used in Directory. * Removed connections that connected the project and CubeDnView and called * enableControlNetTool() because Directory now does this. */ Loading @@ -101,8 +100,6 @@ namespace Isis { CubeDnView(Directory *directory, QWidget *parent=0); ~CubeDnView(); virtual QList<QAction *> toolPadActions(); QSize sizeHint() const; bool viewportContainsShape(MdiCubeViewport *viewport); Loading