Add SVG icons for five Std Tool commands
This commit adds SVG files with icons for these commands. Also, it makes the necessary changes on CommandStd.cpp, CommandDoc.cpp, CommandView.cpp and resource.qrc files. Forum Discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=51502&start=10
This commit is contained in:
@@ -384,6 +384,7 @@ StdCmdDependencyGraph::StdCmdDependencyGraph()
|
||||
sStatusTip = QT_TR_NOOP("Show the dependency graph of the objects in the active document");
|
||||
sWhatsThis = "Std_DependencyGraph";
|
||||
eType = 0;
|
||||
sPixmap = "Std_DependencyGraph";
|
||||
}
|
||||
|
||||
void StdCmdDependencyGraph::activated(int iMsg)
|
||||
@@ -658,6 +659,7 @@ StdCmdProjectUtil::StdCmdProjectUtil()
|
||||
sMenuText = QT_TR_NOOP("Project utility...");
|
||||
sToolTipText = QT_TR_NOOP("Utility to extract or create project files");
|
||||
sStatusTip = QT_TR_NOOP("Utility to extract or create project files");
|
||||
sPixmap = "Std_ProjectUtil";
|
||||
}
|
||||
|
||||
void StdCmdProjectUtil::activated(int iMsg)
|
||||
|
||||
Reference in New Issue
Block a user