Add OpenCV again and test command
This commit is contained in:
@@ -52,7 +52,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem* part = new Gui::ToolBarItem(root);
|
||||
part->setCommand("Image");
|
||||
*part << "Image_Open" << "Image_CreateImagePlane";
|
||||
*part << "Image_Open" << "Image_CreateImagePlane"<< "Image_CapturerTest";
|
||||
return root;
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
|
||||
Gui::ToolBarItem* root = new Gui::ToolBarItem;
|
||||
Gui::ToolBarItem* img = new Gui::ToolBarItem(root);
|
||||
img->setCommand("Image");
|
||||
*img << "Image_Open"/* << "Image_CapturerTest"*/;
|
||||
*img << "Image_Open" << "Image_CapturerTest";
|
||||
return root;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user