update tooltips, menu order
This commit is contained in:
parent
299ac94c9f
commit
42bb64736d
|
@ -76,8 +76,8 @@ CmdTechDrawNewHatch::CmdTechDrawNewHatch()
|
|||
{
|
||||
sAppModule = "TechDraw";
|
||||
sGroup = QT_TR_NOOP("TechDraw");
|
||||
sMenuText = QT_TR_NOOP("Insert a hatched area into a view");
|
||||
sToolTipText = QT_TR_NOOP("Insert a hatched area into a view");
|
||||
sMenuText = QT_TR_NOOP("Hatch a Face using image file");
|
||||
sToolTipText = QT_TR_NOOP("Hatch a Face using image file");
|
||||
sWhatsThis = "TechDraw_NewHatch";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "actions/techdraw-hatch";
|
||||
|
@ -138,8 +138,8 @@ CmdTechDrawNewCrosshatch::CmdTechDrawNewCrosshatch()
|
|||
{
|
||||
sAppModule = "TechDraw";
|
||||
sGroup = QT_TR_NOOP("TechDraw");
|
||||
sMenuText = QT_TR_NOOP("Insert a crosshatched area into a view");
|
||||
sToolTipText = QT_TR_NOOP("Insert a crosshatched area into a view");
|
||||
sMenuText = QT_TR_NOOP("Apply geometric hatch to a Face");
|
||||
sToolTipText = QT_TR_NOOP("Apply geometric hatch to a Face");
|
||||
sWhatsThis = "TechDraw_NewCrosshatch";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "actions/techdraw-crosshatch";
|
||||
|
@ -173,7 +173,6 @@ void CmdTechDrawNewCrosshatch::activated(int iMsg)
|
|||
crosshatch->Source.setValue(objFeat, subNames);
|
||||
|
||||
commitCommand();
|
||||
Base::Console().Message("TRACE - cmd::newCrossHatch - complete\n");
|
||||
|
||||
//Horrible hack to force Tree update ??still required??
|
||||
double x = objFeat->X.getValue();
|
||||
|
|
|
@ -78,12 +78,6 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
|||
*draw << "TechDraw_ArchView";
|
||||
*draw << "TechDraw_ExportPage";
|
||||
*draw << "TechDraw_Image";
|
||||
//*draw << "TechDraw_Open";
|
||||
//*part << "TechDraw_NewA3Landscape";
|
||||
//*part << "TechDraw_OpenBrowserView";
|
||||
//*part << "TechDraw_DraftView";
|
||||
//*draw << "Separator";
|
||||
//*draw << "TechDraw_ProjectShape";
|
||||
|
||||
return root;
|
||||
}
|
||||
|
@ -128,12 +122,12 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
|||
Gui::ToolBarItem *file = new Gui::ToolBarItem(root);
|
||||
file->setCommand("TechDraw File Access");
|
||||
*file << "TechDraw_ExportPage";
|
||||
*file << "TechDraw_Symbol";
|
||||
|
||||
Gui::ToolBarItem *decor = new Gui::ToolBarItem(root);
|
||||
decor->setCommand("TechDraw Decoration");
|
||||
*decor << "TechDraw_NewHatch";
|
||||
*decor << "TechDraw_NewCrosshatch";
|
||||
*decor << "TechDraw_Symbol";
|
||||
*decor << "TechDraw_Image";
|
||||
*decor << "TechDraw_ToggleFrame";
|
||||
return root;
|
||||
|
@ -178,12 +172,12 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
|
|||
Gui::ToolBarItem *file = new Gui::ToolBarItem(root);
|
||||
file->setCommand("TechDraw File Access");
|
||||
*file << "TechDraw_ExportPage";
|
||||
*file << "TechDraw_Symbol";
|
||||
|
||||
|
||||
Gui::ToolBarItem *decor = new Gui::ToolBarItem(root);
|
||||
decor->setCommand("TechDraw Decoration");
|
||||
*decor << "TechDraw_NewHatch";
|
||||
*decor << "TechDraw_NewCrosshatch";
|
||||
*decor << "TechDraw_Symbol";
|
||||
*decor << "TechDraw_Image";
|
||||
*decor << "TechDraw_ToggleFrame";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user