Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
John Tourtellott
ACE3P Extensions
Commits
2aea6bec
Commit
2aea6bec
authored
Jan 22, 2020
by
John Tourtellott
Browse files
Add icon for the cubit-launch action
parent
0b00eb8d
Changes
4
Hide whitespace changes
Inline
Side-by-side
plugin/CMakeLists.txt
View file @
2aea6bec
...
...
@@ -35,6 +35,8 @@ paraview_add_plugin(smtkACE3PPlugin
${
client_sources
}
${
dock_sources
}
${
toolbar_sources
}
UI_RESOURCES
icons.qrc
SERVER_MANAGER_XML
ACE3PSettings.xml
XML_DOCUMENTATION OFF
...
...
plugin/CUBIT_SVG-02.svg
0 → 100644
View file @
2aea6bec
<svg
id=
"Layer_1"
data-name=
"Layer 1"
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 64 64"
><title>
CUBIT_SVG
</title><path
d=
"M26.71,59.14a.5.5,0,0,1-.31-.1L5.22,43.65A.53.53,0,0,1,5,43.22V10.13a.53.53,0,0,1,.41-.52L33.58,3a.54.54,0,0,1,.28,0l24.77,8.18a.53.53,0,0,1,.37.5V44.8a.53.53,0,0,1-.32.49L26.92,59.1A.49.49,0,0,1,26.71,59.14Z"
style=
"fill:#c9c9c9"
/><polygon
points=
"58.44 22.22 37.25 29.91 37.4 41.47 58.53 33.04 58.44 22.22"
style=
"fill:#fff"
/><polygon
points=
"58.44 11.83 58.44 22.22 37.4 29.88 37.27 42.05 58.38 33.57 58.38 45.09 26.81 58.52 26.81 21.22 58.44 11.83"
style=
"fill:#009a00"
/><polygon
points=
"48.85 8.7 19.41 16.76 18.4 17.69 18.49 53.35 26.48 58.52 26.74 21.09 58.18 11.63 48.85 8.7"
style=
"fill:#004d00"
/><path
d=
"M11.26,48.61a.54.54,0,0,1-.54-.54V13.77a.54.54,0,0,1,1.08,0v34.3A.54.54,0,0,1,11.26,48.61Z"
style=
"fill:#787878"
/><path
d=
"M18.38,53.67a.54.54,0,0,1-.54-.54V17.34a.54.54,0,0,1,1.08,0V53.13A.54.54,0,0,1,18.38,53.67Z"
style=
"fill:#787878"
/><path
d=
"M37.23,55.06a.54.54,0,0,1-.54-.54V18.17a.54.54,0,0,1,.54-.54.54.54,0,0,1,.54.54V54.52A.54.54,0,0,1,37.23,55.06Z"
style=
"fill:#787878"
/><path
d=
"M47.93,50.41a.55.55,0,0,1-.54-.54V15a.54.54,0,0,1,.54-.54.54.54,0,0,1,.54.54v34.9A.54.54,0,0,1,47.93,50.41Z"
style=
"fill:#787878"
/><path
d=
"M26.53,34.74a.54.54,0,0,1-.18-1.05l32.1-11.83a.55.55,0,0,1,.69.33.54.54,0,0,1-.32.69L26.72,34.71A.63.63,0,0,1,26.53,34.74Z"
style=
"fill:#787878"
/><path
d=
"M26.41,46.88a.54.54,0,0,1-.2-1L58.43,33a.55.55,0,0,1,.71.3.54.54,0,0,1-.31.7L26.61,46.84A.48.48,0,0,1,26.41,46.88Z"
style=
"fill:#787878"
/><path
d=
"M26.53,21.92a.59.59,0,0,1-.25-.07L4.87,10.64a.55.55,0,0,1-.28-.55A.56.56,0,0,1,5,9.63L33.47,3a.48.48,0,0,1,.29,0l25,8.27a.52.52,0,0,1,.37.52.53.53,0,0,1-.38.51l-32.1,9.61A.45.45,0,0,1,26.53,21.92ZM6.66,10.35,26.59,20.79l30.25-9L33.57,4.05Z"
style=
"fill:#787878"
/><path
d=
"M26.53,59.71a.55.55,0,0,1-.32-.1L4.81,44.05a.55.55,0,0,1-.23-.44V10.16A.56.56,0,0,1,5,9.63L33.47,3a.48.48,0,0,1,.29,0l25,8.27a.52.52,0,0,1,.37.51V45.21a.54.54,0,0,1-.32.5l-32.1,14A.54.54,0,0,1,26.53,59.71ZM5.66,43.34,26.6,58.55,58.09,44.86V12.15L33.57,4.05,5.66,10.59Z"
style=
"fill:#787878"
/><path
d=
"M26.53,59.71a.54.54,0,0,1-.54-.54V21.38a.54.54,0,1,1,1.08,0V59.17A.54.54,0,0,1,26.53,59.71Z"
style=
"fill:#787878"
/><path
d=
"M11.7,13.83a.53.53,0,0,1-.52-.41.55.55,0,0,1,.39-.66L40.74,5.37a.54.54,0,1,1,.26,1L11.84,13.81Z"
style=
"fill:#787878"
/><path
d=
"M18.67,17.54a.56.56,0,0,1-.53-.4.54.54,0,0,1,.38-.66l30.4-8.4a.53.53,0,0,1,.66.38.54.54,0,0,1-.37.66l-30.4,8.4Z"
style=
"fill:#787878"
/><path
d=
"M37.23,18.71a.68.68,0,0,1-.23-.05L15.19,8.23a.54.54,0,0,1,.47-1L37.47,17.68a.54.54,0,0,1-.24,1Z"
style=
"fill:#787878"
/><path
d=
"M47.93,15.51a.54.54,0,0,1-.21,0L25.19,5.91a.54.54,0,1,1,.42-1l22.53,9.55a.53.53,0,0,1,.29.71A.56.56,0,0,1,47.93,15.51Z"
style=
"fill:#787878"
/><path
d=
"M26.33,34.63a.55.55,0,0,1-.28-.07l-21.21-13a.55.55,0,0,1-.18-.74.54.54,0,0,1,.75-.18l21.2,12.94a.54.54,0,0,1-.28,1Z"
style=
"fill:#787878"
/><path
d=
"M26.41,46.88a.52.52,0,0,1-.29-.09L4.83,33.1a.54.54,0,1,1,.59-.9L26.7,45.88a.55.55,0,0,1,.16.75A.53.53,0,0,1,26.41,46.88Z"
style=
"fill:#787878"
/></svg>
\ No newline at end of file
plugin/icons.qrc
0 → 100644
View file @
2aea6bec
<RCC>
<qresource prefix="/icons/toolbar">
<file alias = "cubit02.svg">CUBIT_SVG-02.svg</file>
</qresource>
</RCC>
plugin/pqCubitToolBar.cxx
View file @
2aea6bec
...
...
@@ -24,6 +24,7 @@
#include
<QDir>
#include
<QFileDialog>
#include
<QFileInfo>
#include
<QIcon>
#include
<QMessageBox>
#include
<QProcess>
#include
<QStringList>
...
...
@@ -35,8 +36,8 @@ pqCubitToolBar::pqCubitToolBar(QWidget* parent)
{
this
->
setObjectName
(
"CUBIT Executable"
);
QAction
*
launchAction
=
this
->
addAction
(
"Launch
\n
CUBIT"
);
QObject
::
connect
(
launchAction
,
&
QAction
::
triggered
,
this
,
&
pqCubitToolBar
::
onLaunch
);
QAction
*
launchAction
=
this
->
addAction
(
QIcon
(
":/icons/toolbar/cubit02.svg"
),
"Launch
CUBIT"
,
this
,
&
pqCubitToolBar
::
onLaunch
);
}
pqCubitToolBar
::~
pqCubitToolBar
()
=
default
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment