Commit 7fb1dc17 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

new icon

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11281 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2f0120c2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
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"
id="svg2"
version="1.1"
inkscape:version="0.47 r22583"
width="48"
height="48"
sodipodi:docname="Neues Dokument 1"
inkscape:export-filename="/home/wilden/projects/OF-Free-Clean/build-release/Build/share/OpenFlipper/Icons/selection_base.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
id="perspective10" />
<inkscape:perspective
id="perspective2828"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1092"
inkscape:window-height="777"
id="namedview4"
showgrid="false"
inkscape:zoom="5.2291667"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-x="277"
inkscape:window-y="235"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" />
<image
xlink:href="file:///home/wilden/projects/OF-Free-Clean/Plugin-SelectionBase/Icons/selection_base.png"
width="48"
height="48"
id="image12"
x="0"
y="0" />
<path
style="fill:#ffffff;stroke:#151515;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:0.87539935;stroke-miterlimit:4;stroke-dasharray:none"
d="M 18.836653,13.96016 21.896414,39.968127 28.207171,34.42231 39.107569,47.235059 46.948207,41.498008 35.856573,28.111553 43.123506,23.904382 18.836653,13.96016 z"
id="path2818" />
</svg>
......@@ -130,7 +130,8 @@ void SelectionBasePlugin::initializePlugin() {
connect(tool_->saveSelection, SIGNAL(clicked()), this, SLOT(slotSaveSelection()));
// Add toolbox to OpenFlipper main window
emit addToolbox("Selections", tool_);
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"selection_base.png");
emit addToolbox("Selections", tool_, toolIcon_ );
// Create toolbar that holds the selection environment buttons
toolBar_ = new QToolBar(tr("Selection Base"));
......
......@@ -135,7 +135,7 @@ Q_INTERFACES(SelectionInterface)
void registerKey(int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse = false);
// ToolboxInterface
void addToolbox(QString _name, QWidget* _widget);
void addToolbox(QString _name, QWidget* _widget, QIcon* _icon);
private slots:
......@@ -339,6 +339,8 @@ Q_INTERFACES(SelectionInterface)
// List of points for line node
std::vector<ACG::Vec3d> linePoints_;
QIcon* toolIcon_;
};
#endif // SELECTIONBASEPLUGIN_HH
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment