adding missing changes :)
This commit is contained in:
@@ -164,6 +164,28 @@ bool CmdCreateImagePlane::isActive()
|
||||
return App::GetApplication().getActiveDocument();
|
||||
}
|
||||
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
DEF_STD_CMD(CmdImageScaling);
|
||||
|
||||
CmdImageScaling::CmdImageScaling()
|
||||
: Command("Image_Scaling")
|
||||
{
|
||||
sAppModule = "Image";
|
||||
sGroup = QT_TR_NOOP("Image");
|
||||
sMenuText = QT_TR_NOOP("Scale...");
|
||||
sToolTipText = QT_TR_NOOP("Image Scaling");
|
||||
sWhatsThis = "Image_Scaling";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "image-scale";
|
||||
}
|
||||
|
||||
void CmdImageScaling::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
// To Be Defined
|
||||
|
||||
}
|
||||
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#if HAVE_OPENCV2
|
||||
DEF_STD_CMD(CmdImageCapturerTest);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<qresource>
|
||||
<file>icons/image-import.svg</file>
|
||||
<file>icons/image-import-to-plane.svg</file>
|
||||
<file>icons/image-scale.svg</file>
|
||||
<file>icons/ImageWorkbench.svg</file>
|
||||
<file>translations/Image_af.qm</file>
|
||||
<file>translations/Image_de.qm</file>
|
||||
|
||||
@@ -56,6 +56,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
#if HAVE_OPENCV2
|
||||
*part << "Image_CapturerTest";
|
||||
#endif
|
||||
*part << "Image_Scaling";
|
||||
return root;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user