+ Allow access to tab panel of combo view, fix some typos
This commit is contained in:
@@ -136,6 +136,16 @@ void ControlSingleton::showDialog(Gui::TaskView::TaskDialog *dlg)
|
||||
}
|
||||
}
|
||||
|
||||
QTabWidget* ControlSingleton::tabPanel() const
|
||||
{
|
||||
Gui::DockWnd::CombiView* pcCombiView = qobject_cast<Gui::DockWnd::CombiView*>
|
||||
(Gui::DockWindowManager::instance()->getDockWindow("Combo View"));
|
||||
// should return the pointer to combo view
|
||||
if (pcCombiView)
|
||||
pcCombiView->getTabPanel();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Gui::TaskView::TaskDialog* ControlSingleton::activeDialog() const
|
||||
{
|
||||
return ActiveDialog;
|
||||
|
||||
Reference in New Issue
Block a user