[TD] icon uniformity for ActiveView and FaceCenterLine commands
Renamed SVGs, saved as plain svg, updated appropriate areas in the source code
This commit is contained in:
@@ -436,7 +436,7 @@ CmdTechDrawActiveView::CmdTechDrawActiveView()
|
||||
sToolTipText = sMenuText;
|
||||
sWhatsThis = "TechDraw_ActiveView";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "actions/techdraw-ActiveView";
|
||||
sPixmap = "actions/TechDraw_ActiveView";
|
||||
}
|
||||
|
||||
void CmdTechDrawActiveView::activated(int iMsg)
|
||||
|
||||
@@ -612,7 +612,7 @@ Gui::Action * CmdTechDrawCenterLineGroup::createAction(void)
|
||||
applyCommandData(this->className(), pcAction);
|
||||
|
||||
QAction* p1 = pcAction->addAction(QString());
|
||||
p1->setIcon(Gui::BitmapFactory().iconFromTheme("actions/techdraw-facecenterline"));
|
||||
p1->setIcon(Gui::BitmapFactory().iconFromTheme("actions/TechDraw_FaceCenterLine"));
|
||||
p1->setObjectName(QString::fromLatin1("TechDraw_FaceCenterLine"));
|
||||
p1->setWhatsThis(QString::fromLatin1("TechDraw_FaceCenterLine"));
|
||||
QAction* p2 = pcAction->addAction(QString());
|
||||
@@ -678,7 +678,7 @@ CmdTechDrawFaceCenterLine::CmdTechDrawFaceCenterLine()
|
||||
sToolTipText = sMenuText;
|
||||
sWhatsThis = "TechDraw_FaceCenterLine";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "actions/techdraw-facecenterline";
|
||||
sPixmap = "actions/TechDraw_FaceCenterLine";
|
||||
}
|
||||
|
||||
void CmdTechDrawFaceCenterLine::activated(int iMsg)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<file>icons/actions/techdraw-PageDefault.svg</file>
|
||||
<file>icons/actions/techdraw-PageTemplate.svg</file>
|
||||
<file>icons/actions/techdraw-View.svg</file>
|
||||
<file>icons/actions/techdraw-ActiveView.svg</file>
|
||||
<file>icons/actions/TechDraw_ActiveView.svg</file>
|
||||
<file>icons/actions/techdraw-multiview.svg</file>
|
||||
<file>icons/actions/techdraw-annotation.svg</file>
|
||||
<file>icons/actions/techdraw-ClipGroup.svg</file>
|
||||
@@ -72,7 +72,7 @@
|
||||
<file>icons/actions/techdraw-CosmeticVertex.svg</file>
|
||||
<file>icons/actions/techdraw-Midpoints.svg</file>
|
||||
<file>icons/actions/techdraw-Quadrants.svg</file>
|
||||
<file>icons/actions/techdraw-facecenterline.svg</file>
|
||||
<file>icons/actions/TechDraw_FaceCenterLine.svg</file>
|
||||
<file>icons/actions/techdraw-2linecenterline.svg</file>
|
||||
<file>icons/actions/techdraw-2pointcenterline.svg</file>
|
||||
<file>icons/actions/techdraw-line2points.svg</file>
|
||||
|
||||
@@ -6,16 +6,12 @@
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg142"
|
||||
sodipodi:docname="techdraw-activeview.svg"
|
||||
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
|
||||
inkscape:version="0.92.4 (unknown)">
|
||||
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round">
|
||||
<metadata
|
||||
id="metadata148">
|
||||
<rdf:RDF>
|
||||
@@ -31,8 +27,7 @@
|
||||
<defs
|
||||
id="defs146">
|
||||
<linearGradient
|
||||
id="linearGradient1328"
|
||||
inkscape:collect="always">
|
||||
id="linearGradient1328">
|
||||
<stop
|
||||
id="stop1324"
|
||||
offset="0"
|
||||
@@ -43,7 +38,6 @@
|
||||
style="stop-color:#16d0d2;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient1310">
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
@@ -55,7 +49,6 @@
|
||||
id="stop1308" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1310"
|
||||
id="linearGradient1312"
|
||||
x1="57.636765"
|
||||
@@ -64,7 +57,6 @@
|
||||
y2="19.189537"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1328"
|
||||
id="radialGradient1322"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
@@ -75,26 +67,6 @@
|
||||
fy="35.575535"
|
||||
r="16" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1358"
|
||||
inkscape:window-height="703"
|
||||
id="namedview144"
|
||||
showgrid="false"
|
||||
inkscape:zoom="8.03125"
|
||||
inkscape:cx="23.961976"
|
||||
inkscape:cy="24.054581"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="26"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg142" />
|
||||
<circle
|
||||
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#06989a;stroke-width:2.61091852;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path907"
|
||||
@@ -105,7 +77,6 @@
|
||||
<g
|
||||
id="g1166">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path138"
|
||||
d="m 60.689917,49.407377 a 5.2163485,4.9735365 0 0 1 -5.216349,4.973537 H 8.5264316 A 5.2163485,4.9735365 0 0 1 3.310083,49.407377 V 22.052926 A 5.2163485,4.9735365 0 0 1 8.5264316,17.079389 H 18.959129 l 5.216348,-7.4603035 h 15.649046 l 5.216348,7.4603035 h 10.432697 a 5.2163485,4.9735365 0 0 1 5.216349,4.973537 z"
|
||||
style="fill:url(#linearGradient1312);stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1" />
|
||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.4 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 9.3 KiB |
@@ -219,7 +219,7 @@ TaskDlgActiveView::TaskDlgActiveView(TechDraw::DrawPage* page)
|
||||
: TaskDialog()
|
||||
{
|
||||
widget = new TaskActiveView(page);
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/techdraw-ActiveView"),
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/TechDraw_ActiveView"),
|
||||
widget->windowTitle(), true, 0);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="Resources/TechDraw.qrc">
|
||||
<normaloff>:/icons/actions/techdraw-ActiveView.svg</normaloff>:/icons/actions/techdraw-ActiveView.svg</iconset>
|
||||
<normaloff>:/icons/actions/TechDraw_ActiveView.svg</normaloff>:/icons/actions/TechDraw_ActiveView.svg</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
||||
@@ -515,7 +515,7 @@ TaskDlgCenterLine::TaskDlgCenterLine(TechDraw::DrawViewPart* partFeat,
|
||||
: TaskDialog()
|
||||
{
|
||||
widget = new TaskCenterLine(partFeat,page,subNames, editMode);
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/techdraw-facecenterline"),
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/TechDraw_FaceCenterLine"),
|
||||
widget->windowTitle(), true, 0);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
@@ -528,7 +528,7 @@ TaskDlgCenterLine::TaskDlgCenterLine(TechDraw::DrawViewPart* partFeat,
|
||||
: TaskDialog()
|
||||
{
|
||||
widget = new TaskCenterLine(partFeat,page, edgeName, editMode);
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/techdraw-facecenterline"),
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/TechDraw_FaceCenterLine"),
|
||||
widget->windowTitle(), true, 0);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="Resources/TechDraw.qrc">
|
||||
<normaloff>:/icons/actions/techdraw-facecenterline.svg</normaloff>:/icons/actions/techdraw-facecenterline.svg</iconset>
|
||||
<normaloff>:/icons/actions/TechDraw_FaceCenterLine.svg</normaloff>:/icons/actions/TechDraw_FaceCenterLine.svg</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
||||
Reference in New Issue
Block a user