Remoto - VFS: VFS_icons.cpp Source File
Remoto - VFS
VFS_icons.cpp
Go to the documentation of this file.
1 
2 #include <QString>
3 
4 #include "VFS.h"
5 #include "VFS_icons.h"
6 
22 bool VFS_icons::_initialized = false;
24 QMap<QString,char *> VFS_icons::_icons;
25 
34 char *VFS_icons::get(QString which)
35 {
36  if (!_initialized)
37  initialize();
38 
39  if (_icons.contains(which))
40  return _icons[which];
41  else
42  {
43  VFS::WARN( QString("Requested icon '%1' was not found... returning a default.").arg(which), 8 );
44  return _icons["default"];
45  }
46 }
47 
61 {
62  QMutexLocker l(&_initializeMutex);
63 
64  if (!_initialized)
65  {
66  _icons["warning"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 486.463 486.463\" width=\"48\" height=\"48\"><path d=\"M243.225 333.382c-13.6 0-25 11.4-25 25s11.4 25 25 25c13.1 0 25-11.4 24.4-24.4.6-14.3-10.7-25.6-24.4-25.6z\"/><path d=\"M474.625 421.982c15.7-27.1 15.8-59.4.2-86.4l-156.6-271.2c-15.5-27.3-43.5-43.5-74.9-43.5s-59.4 16.3-74.9 43.4l-156.8 271.5c-15.6 27.3-15.5 59.8.3 86.9 15.6 26.8 43.5 42.9 74.7 42.9h312.8c31.3 0 59.4-16.3 75.2-43.6zm-34-19.6c-8.7 15-24.1 23.9-41.3 23.9h-312.8c-17 0-32.3-8.7-40.8-23.4-8.6-14.9-8.7-32.7-.1-47.7l156.8-271.4c8.5-14.9 23.7-23.7 40.9-23.7 17.1 0 32.4 8.9 40.9 23.8l156.7 271.4c8.4 14.6 8.3 32.2-.3 47.1z\"/><path d=\"M237.025 157.882c-11.9 3.4-19.3 14.2-19.3 27.3.6 7.9 1.1 15.9 1.7 23.8 1.7 30.1 3.4 59.6 5.1 89.7.6 10.2 8.5 17.6 18.7 17.6s18.2-7.9 18.7-18.2c0-6.2 0-11.9.6-18.2 1.1-19.3 2.3-38.6 3.4-57.9.6-12.5 1.7-25 2.3-37.5 0-4.5-.6-8.5-2.3-12.5-5.1-11.2-17-16.9-28.9-14.1z\"/>";
67 
68  _icons["default"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 -1.8 46.259 49.859\" height=\"48\" width=\"48\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M35.043 13.514a6.154 6.154 0 0 1-6.164-6.153V.797A.797.797 0 0 0 28.082 0H8.278a4.607 4.607 0 0 0-4.607 4.6v37.059c0 2.54 2.067 4.6 4.607 4.6h29.7a4.608 4.608 0 0 0 4.609-4.6V14.311a.796.796 0 0 0-.797-.797h-6.747z\"/><path d=\"M35.043 10.395h5.519a.795.795 0 0 0 .56-1.361 4304.06 4304.06 0 0 0-7.77-7.707.796.796 0 0 0-1.355.566v5.468c.001 1.665 1.38 3.034 3.046 3.034z\" /></svg>";
69 
70  _icons["document"] = _icons["default"];
71  _icons["documents"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" height=\"48\" width=\"48\" viewBox=\"-28 0 446 446.312\"><path d=\"M268.969 150.602L199.19 84.64v45.96c.012 11.04 8.961 19.989 20 20zm0 0\"/><path d=\"M287.238 50.988V0H132.52c-16.563.02-29.985 13.438-30 30v23.93h89.32c2.555 0 5.012.976 6.87 2.73l99.716 94.266a10 10 0 013.129 7.265v214.196h58.047c16.562-.02 29.98-13.442 30-30V90.984h-62.36c-22.082-.023-39.976-17.918-40.004-39.996zm0 0\"/><path d=\"M327.238 70.988h43.352l-63.352-58.777v38.777c.016 11.04 8.961 19.985 20 20zm0 0M179.191 130.602V73.926H30.156c-16.562.02-29.98 13.441-30 30v312.387c.02 16.558 13.438 29.98 30 30h221.399c16.562-.02 29.984-13.442 30-30V170.601H219.19c-22.082-.024-39.972-17.918-40-40zm0 0\"/></svg>";
72  _icons["newdocument"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 -1.8 45.773 49.343\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M31.199 5.754V0H7.34C5.212 0 3.513 1.759 3.513 3.888v38.05a3.816 3.816 0 0 0 3.827 3.836h31.087a3.82 3.82 0 0 0 3.833-3.836V11.131h-5.698c-2.949 0-5.363-2.429-5.363-5.377zm-1.364 20.144h-3.992v3.979c0 1.648-1.309 2.984-2.956 2.984-1.648 0-2.957-1.336-2.957-2.984v-3.979h-3.994c-1.648 0-2.992-1.336-2.992-2.984s1.349-2.984 2.996-2.984h3.99v-3.979c0-1.648 1.309-2.984 2.957-2.984 1.647 0 2.956 1.336 2.956 2.984v3.979h3.992a2.984 2.984 0 0 1 0 5.968z\"/><path d=\"M34.19.034v5.72c0 1.303 1.068 2.386 2.371 2.386h5.698v-.054L34.19.034z\"/></svg>";
73  _icons["file"] = _icons["document"];
74  _icons["files"] = _icons["documents"];
75  _icons["newfile"] = _icons["newdocument"];
76 
77  _icons["folder"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-20 -20 550 550\" stroke=\"black\" fill=\"white\"><path d=\"M204 51H51C22.95 51 0 73.95 0 102v306c0 28.05 22.95 51 51 51h408c28.05 0 51-22.95 51-51V153c0-28.05-22.95-51-51-51H255l-51-51z\" /></svg>";
78  _icons["folderopen"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 198.084 198.084\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M197.951 77.097l-16.024 78.532a12.859 12.859 0 0 1-12.599 10.288H20.196c-8.135 0-14.225-7.459-12.599-15.429L21.94 80.197a13.573 13.573 0 0 1 13.299-10.859H191.616c3.068 0 5.558 2.11 6.266 4.856.235.915.273 1.9.069 2.903zM12.142 78.198c2.23-10.928 11.943-18.86 23.097-18.86h150.076c-.6-5.713-5.444-10.181-11.314-10.181H94.819c-1.605-9.628-9.995-16.989-20.07-16.989H13.35C5.989 32.167 0 38.156 0 45.517v92.186l12.142-59.505z\" /></svg>";
79 
80  _icons["mediadocument"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 512 512\" height=\"48\" width=\"48\" stroke=\"black\" fill=\"white\"><path fill=\"var(--IconColor)\" d=\"M136.794 74.723V0h-.015L62.072 74.707v.016zM166.9 227.925v148.873l160.106-74.437z\"/><path d=\"M166.794 0v104.723H62.072V512h387.857V0zM375.1 313.085l-218.727 101.69H136.9V189.947h19.473L375.1 291.637z\"/></svg>";
81 
82  _icons["user"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 466.146 466.146\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M289.285 191.86c28.844-18.539 47.995-50.83 47.995-87.654C337.28 46.659 290.621 0 233.088 0c-57.559 0-104.207 46.659-104.207 104.207 0 36.824 19.151 69.121 47.996 87.654-67.959 6.082-121.422 63.331-121.422 132.854V432.87l.274 1.69 7.457 2.328c70.196 21.929 131.195 29.259 181.401 29.259 98.048 0 154.886-27.97 158.408-29.743l6.963-3.534h.732V324.714c.008-69.517-53.437-126.757-121.405-132.854z\"/></svg>";
83  _icons["users"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 80.13 80.13\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M48.355 17.922c3.705 2.323 6.303 6.254 6.776 10.817a11.69 11.69 0 0 0 4.966 1.112c6.491 0 11.752-5.261 11.752-11.751 0-6.491-5.261-11.752-11.752-11.752-6.429.002-11.644 5.169-11.742 11.574zm-7.699 24.062c6.491 0 11.752-5.262 11.752-11.752s-5.262-11.751-11.752-11.751c-6.49 0-11.754 5.262-11.754 11.752s5.264 11.751 11.754 11.751zm4.985.801h-9.972c-8.297 0-15.047 6.751-15.047 15.048v12.195l.031.191.84.263c7.918 2.474 14.797 3.299 20.459 3.299 11.059 0 17.469-3.153 17.864-3.354l.785-.397h.084V57.833c.003-8.297-6.747-15.048-15.044-15.048zm19.443-12.132h-9.895a14.483 14.483 0 0 1-4.47 10.088c7.375 2.193 12.771 9.032 12.771 17.11v3.758c9.77-.358 15.4-3.127 15.771-3.313l.785-.398h.084V45.699c0-8.296-6.75-15.046-15.046-15.046zm-45.049-.8c2.299 0 4.438-.671 6.25-1.814a14.544 14.544 0 0 1 5.467-9.276c.012-.22.033-.438.033-.66 0-6.491-5.262-11.752-11.75-11.752-6.492 0-11.752 5.261-11.752 11.752 0 6.488 5.26 11.75 11.752 11.75zm10.554 10.888a14.492 14.492 0 0 1-4.467-10.032c-.367-.027-.73-.056-1.104-.056h-9.971C6.75 30.653 0 37.403 0 45.699v12.197l.031.188.84.265c6.352 1.983 12.021 2.897 16.945 3.185v-3.683c.002-8.078 5.396-14.915 12.773-17.11z\"/></svg>";
84 
85  _icons["unknown"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 431.855 431.855\"><path d=\"M215.936 0C96.722 0 .008 96.592.008 215.814c0 119.336 96.714 216.041 215.927 216.041 119.279 0 215.911-96.706 215.911-216.041C431.847 96.592 335.214 0 215.936 0zm15.387 335.962c-5.015 4.463-10.827 6.706-17.411 6.706-6.812 0-12.754-2.203-17.826-6.617-5.08-4.406-7.625-10.575-7.625-18.501 0-7.031 2.463-12.949 7.373-17.745 4.91-4.796 10.933-7.194 18.078-7.194 7.031 0 12.949 2.398 17.753 7.194 4.796 4.796 7.202 10.713 7.202 17.745-.009 7.812-2.521 13.95-7.544 18.412zm62.533-155.028c-3.853 7.145-8.429 13.306-13.737 18.501-5.292 5.194-14.81 13.924-28.548 26.198-3.788 3.463-6.836 6.503-9.12 9.12-2.284 2.626-3.991 5.023-5.105 7.202a34.697 34.697 0 0 0-2.593 6.535c-.61 2.17-1.528 5.999-2.772 11.469-2.113 11.608-8.754 17.411-19.915 17.411-5.804 0-10.681-1.894-14.656-5.69-3.959-3.796-5.934-9.429-5.934-16.907 0-9.372 1.455-17.493 4.357-24.361 2.886-6.869 6.747-12.892 11.543-18.086 4.804-5.194 11.274-11.356 19.427-18.501 7.145-6.251 12.307-10.965 15.485-14.144a47.87 47.87 0 0 0 8.031-10.632c2.187-3.91 3.26-8.145 3.26-12.721 0-8.933-3.308-16.46-9.957-22.597-6.641-6.137-15.209-9.21-25.703-9.21-12.282 0-21.321 3.097-27.125 9.291-5.804 6.194-10.705 15.314-14.729 27.369-3.804 12.616-11.006 18.923-21.598 18.923-6.251 0-11.526-2.203-15.826-6.609-4.292-4.406-6.438-9.177-6.438-14.314 0-10.6 3.406-21.346 10.21-32.23 6.812-10.884 16.745-19.899 29.807-27.036 13.054-7.145 28.296-10.722 45.699-10.722 16.184 0 30.466 2.991 42.854 8.966 12.388 5.966 21.963 14.087 28.718 24.361 6.747 10.266 10.128 21.427 10.128 33.482.016 9.471-1.91 17.787-5.763 24.932z\"/></svg>";
86  _icons["preferences"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"-20 0 551.626 511.626\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M54.818 200.999c-15.23 0-28.171 5.327-38.832 15.987C5.33 227.642 0 240.583 0 255.813c0 15.223 5.33 28.172 15.99 38.83 10.66 10.656 23.604 15.984 38.832 15.984 15.225 0 28.167-5.328 38.828-15.984 10.657-10.657 15.987-23.606 15.987-38.83 0-15.23-5.33-28.171-15.99-38.828-10.658-10.656-23.601-15.986-38.829-15.986zM54.821 54.817c-15.23 0-28.171 5.33-38.832 15.987C5.333 81.464.003 94.405.003 109.632c0 15.229 5.327 28.171 15.986 38.831 10.66 10.657 23.604 15.985 38.832 15.985 15.225 0 28.167-5.329 38.828-15.985 10.657-10.66 15.987-23.603 15.987-38.831 0-15.227-5.33-28.168-15.987-38.828-10.656-10.657-23.598-15.987-38.828-15.987zM54.821 347.18c-15.23 0-28.175 5.325-38.832 15.981C5.333 373.824.003 386.767.003 401.989c0 15.235 5.327 28.171 15.986 38.834 10.66 10.657 23.604 15.985 38.832 15.985 15.225 0 28.167-5.328 38.828-15.985 10.657-10.663 15.987-23.599 15.987-38.834 0-15.223-5.33-28.172-15.987-38.828-10.656-10.656-23.598-15.981-38.828-15.981zM508.917 75.8c-1.813-1.803-3.949-2.708-6.427-2.708H155.313c-2.473 0-4.615.902-6.423 2.708-1.807 1.812-2.712 3.949-2.712 6.423v54.821c0 2.475.905 4.611 2.712 6.424 1.809 1.805 3.951 2.708 6.423 2.708H502.49c2.478 0 4.616-.9 6.427-2.708 1.81-1.812 2.71-3.949 2.71-6.424v-54.82c-.001-2.474-.904-4.615-2.71-6.424zM502.49 219.271H155.313c-2.473 0-4.615.9-6.423 2.712-1.807 1.807-2.712 3.949-2.712 6.423v54.819c0 2.472.905 4.613 2.712 6.421 1.809 1.813 3.951 2.714 6.423 2.714H502.49c2.478 0 4.616-.9 6.427-2.714 1.81-1.808 2.71-3.949 2.71-6.421v-54.819c0-2.474-.903-4.62-2.71-6.423-1.814-1.808-3.95-2.712-6.427-2.712zM502.49 365.447H155.313c-2.473 0-4.615.903-6.423 2.714-1.807 1.81-2.712 3.949-2.712 6.42V429.4c0 2.478.905 4.616 2.712 6.427 1.809 1.807 3.951 2.707 6.423 2.707H502.49c2.478 0 4.616-.9 6.427-2.707 1.81-1.811 2.71-3.949 2.71-6.427v-54.819c0-2.471-.903-4.617-2.71-6.42-1.814-1.804-3.95-2.714-6.427-2.714z\"/></svg>";
87  _icons["settings"] = _icons["preferences"];
88  _icons["stream"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 791.911 791.911\"><rect x=\"120\" y=\"20\" fill=\"white\" width=\"550\" height=\"760\"/><path d=\"M641.43 0H150.481c-25.924 0-46.964 21.129-46.964 46.964v697.983c0 25.924 21.129 46.964 46.964 46.964H641.43c25.924 0 46.964-21.13 46.964-46.964V46.964C688.395 21.129 667.354 0 641.43 0zm11.542 745.036c0 6.747-4.794 11.541-11.541 11.541h-490.95c-6.747 0-11.541-4.794-11.541-11.541V46.964c0-6.747 4.794-11.541 11.541-11.541H641.43c6.747 0 11.541 4.794 11.541 11.541v698.072zm-81.5-188.923c0 9.588-7.635 17.223-17.223 17.223H333.633c-9.588 0-17.223-7.635-17.223-17.223s7.635-17.223 17.223-17.223H554.16c8.701-.976 17.312 7.635 17.312 17.223zm0 106.447c0 9.588-7.635 17.223-17.223 17.223H333.633c-9.588 0-17.223-7.635-17.223-17.223s7.635-17.223 17.223-17.223H554.16c8.701-.977 17.312 7.635 17.312 17.223zm0-211.916c0 9.588-7.635 17.223-17.223 17.223H333.633c-9.588 0-17.223-7.635-17.223-17.223s7.635-17.223 17.223-17.223H554.16c8.701-.001 17.312 7.635 17.312 17.223zm0-104.494c0 9.588-7.635 17.223-17.223 17.223H333.633c-9.588 0-17.223-7.635-17.223-17.223s7.635-17.223 17.223-17.223H554.16c8.701 0 17.312 7.635 17.312 17.223zM315.433 241.657c0-9.588 7.635-17.223 17.223-17.223h218.575c9.588 0 17.223 7.635 17.223 17.223s-7.635 17.223-17.223 17.223H332.745c-9.588 0-17.312-7.635-17.312-17.223zm0-105.47c0-9.588 7.635-17.223 17.223-17.223h218.575c9.588 0 17.223 7.635 17.223 17.223s-7.635 17.223-17.223 17.223H332.745c-9.588.977-17.312-7.634-17.312-17.223zm-63.3 0c0 10.565-8.612 19.176-19.176 19.176-10.565 0-19.176-8.612-19.176-19.176 0-10.565 8.612-19.176 19.176-19.176 10.565 0 19.176 8.612 19.176 19.176zm0 105.47c0 10.565-8.612 19.176-19.176 19.176-10.565 0-19.176-8.612-19.176-19.176s8.612-19.176 19.176-19.176c10.565-.977 19.176 7.635 19.176 19.176zm0 102.54c0 10.565-8.612 19.176-19.176 19.176-10.565 0-19.176-8.612-19.176-19.176s8.612-19.176 19.176-19.176c10.565-.888 19.176 7.724 19.176 19.176zm0 104.582c0 10.565-8.612 19.176-19.176 19.176-10.565 0-19.176-8.612-19.176-19.176 0-10.565 8.612-19.176 19.176-19.176 10.565 0 19.176 8.612 19.176 19.176zm0 108.311c0 10.565-8.612 19.176-19.176 19.176-10.565 0-19.176-8.612-19.176-19.176 0-10.565 8.612-19.176 19.176-19.176 10.565 0 19.176 8.611 19.176 19.176zm0 105.47c0 10.565-8.612 19.176-19.176 19.176-10.565 0-19.176-8.612-19.176-19.176 0-10.565 8.612-19.176 19.176-19.176 10.565-.977 19.176 8.611 19.176 19.176z\"/></svg>";
89  _icons["application"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 299 299\" stroke=\"black\" fill=\"white\"><path d=\"M148.5 185.5c4.143 0 7.5 3.357 7.5 7.5v19.086c19-2.842 33.32-17.572 35.912-36.086h-18.579c-4.143 0-7.5-3.357-7.5-7.5s3.357-7.5 7.5-7.5h18.013C187.627 143.992 174 130.758 156 128.08V144c0 4.143-3.357 7.5-7.5 7.5s-7.5-3.357-7.5-7.5v-15.561c-16 3.349-29.104 16.212-32.68 32.561h16.013c4.143 0 7.5 3.357 7.5 7.5s-3.357 7.5-7.5 7.5h-16.579C110.251 193.839 124 208.166 141 211.727V193c0-4.143 3.357-7.5 7.5-7.5z\"/><path d=\"M274.19 72H133V59c0-13.785-10.738-25-24.523-25H25.476C11.69 34 0 45.215 0 59v181c0 13.785 11.69 25 25.476 25H274.19c13.785 0 24.81-11.215 24.81-25V96.857C299 83.072 287.976 72 274.19 72zM92.637 176H82.333c-4.143 0-7.5-3.357-7.5-7.5s3.357-7.5 7.5-7.5h10.725C96.984 136.361 117 116.895 141 113.216V102c0-4.143 3.357-7.5 7.5-7.5s7.5 3.357 7.5 7.5v10.961c26 2.9 46.576 22.74 50.608 48.039h8.725c4.143 0 7.5 3.357 7.5 7.5s-3.357 7.5-7.5 7.5h-8.304C204.278 202.795 183 224.185 156 227.205V235c0 4.143-3.357 7.5-7.5 7.5s-7.5-3.357-7.5-7.5v-8.05c-25-3.835-45.682-24.827-48.363-50.95z\"/></svg>";
90 
91  _icons["network"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-2 -2 46.217 46.217\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M42.217 26.274v6.221a2.22 2.22 0 0 1-2.223 2.223h-6.223a2.223 2.223 0 0 1-2.223-2.223v-1.777h-5.109v1.777a2.221 2.221 0 0 1-2.223 2.223h-6.221a2.22 2.22 0 0 1-2.221-2.223v-1.777h-5.111v1.777a2.22 2.22 0 0 1-2.221 2.223H2.221A2.22 2.22 0 0 1 0 32.495v-6.221c0-1.229.994-2.224 2.221-2.224h6.224c1.227 0 2.221.996 2.221 2.224v1.776h5.111v-1.776c0-1.228.994-2.224 2.221-2.224h1.666v-5.887h-1.666a2.221 2.221 0 0 1-2.221-2.222v-6.22a2.22 2.22 0 0 1 2.221-2.222h6.221c1.229 0 2.223.995 2.223 2.222v6.221a2.221 2.221 0 0 1-2.223 2.222H22.33v5.887h1.889c1.229 0 2.223.996 2.223 2.224v1.776h5.109v-1.776c0-1.228.996-2.224 2.223-2.224h6.223a2.22 2.22 0 0 1 2.22 2.223z\"/></svg>";
92  _icons["disk"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox=\"0 0 92.957 92.957\"><path d=\"M87.663 65.35c0-.035-.004-.146-.007-.182a1.98 1.98 0 0 0-.014-.243L80.006 2.586A2.945 2.945 0 0 0 77.084 0h-61.21a2.945 2.945 0 0 0-2.922 2.585L5.318 64.924c-.01.081-.01.115-.01.197l-.017.182a1.848 1.848 0 0 0-.009.182v24.529a2.946 2.946 0 0 0 2.942 2.943h76.507a2.945 2.945 0 0 0 2.942-2.943l-.01-24.664zm-5.872 21.72H11.168V68.333H81.79l.001 18.737z\"/><path d=\"M50.144 72.998h9.344v9.346h-9.344zM67.804 72.998h9.344v9.346h-9.344z\"/></svg>";
93  _icons["keys"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -3 46.209 52.209\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M44.044 22.183a.93.93 0 0 0-.748-.228l-1.979.274a.929.929 0 0 1-1.048-.791l-.305-2.168a.932.932 0 0 0-1.049-.791l-2.154.305a.93.93 0 0 1-1.051-.79l-.271-1.916a.934.934 0 0 0-.363-.614.937.937 0 0 0-.69-.176l-.966.141a.778.778 0 1 1-.733-1.241l.001-.001a.929.929 0 0 0-.182-1.3l-1.69-1.271c.469-3.621-1.003-7.229-4.066-9.53-4.579-3.443-11.071-2.533-14.514 2.047-.184.245-.355.496-.514.752-3.291.013-7.104 1.231-9.045 5.485-2.41 5.285 1.007 10.838 3.547 13.949l-1.17.691a2.024 2.024 0 0 0-.712 2.773L14.65 45.215a2.026 2.026 0 0 0 2.773.712l6.1-3.608a2.017 2.017 0 0 0 .712-2.772L13.928 22.116a2.027 2.027 0 0 0-2.775-.713l-2.279 1.348c-2.12-2.49-5.255-7.127-3.433-11.12 1.118-2.45 3.109-3.362 4.978-3.62-.917 3.898.448 8.154 3.838 10.703 3.042 2.287 6.823 2.794 10.172 1.34l12.956 9.732c.402.303.927.39 1.405.233l4.375-1.418a1.544 1.544 0 0 0 1.07-1.429l.118-4.272a.927.927 0 0 0-.309-.717zM11.43 25.519a1.69 1.69 0 1 1-3.128 1.073c.117.113.194.184.223.21a1.518 1.518 0 0 0 2.357-1.847c.218.137.408.327.548.564zm7.346-16.46a2.637 2.637 0 0 1-3.696.524 2.624 2.624 0 0 1-.955-1.391c.439.095.722.182.777.199a1.518 1.518 0 0 0 .938-2.889c-.212-.069-.44-.135-.681-.197a2.64 2.64 0 0 1 3.617 3.754z\"/></svg>";
94  _icons["machines"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 60 60\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M0 24.108v11.783c0 .974.314 1.868.835 2.608h58.329A4.5 4.5 0 0 0 60 35.892V24.108a4.51 4.51 0 0 0-.835-2.608H.835A4.512 4.512 0 0 0 0 24.108zM52 30.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-23.5-2c2.481 0 4.5 2.019 4.5 4.5s-2.019 4.5-4.5 4.5S6 32.481 6 30s2.019-4.5 4.5-4.5zM59.165 19.5c.521-.74.835-1.635.835-2.608V5.108A4.613 4.613 0 0 0 55.392.5H4.608A4.613 4.613 0 0 0 0 5.108v11.783c0 .974.314 1.868.835 2.608h58.33zM52 11.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-2-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-23.5-2c2.481 0 4.5 2.019 4.5 4.5s-2.019 4.5-4.5 4.5S6 13.481 6 11s2.019-4.5 4.5-4.5zM.835 40.5A4.512 4.512 0 0 0 0 43.108v11.783A4.613 4.613 0 0 0 4.608 59.5h50.783a4.613 4.613 0 0 0 4.608-4.608V43.108a4.51 4.51 0 0 0-.835-2.608H.835zm9.665 13C8.019 53.5 6 51.481 6 49s2.019-4.5 4.5-4.5S15 46.519 15 49s-2.019 4.5-4.5 4.5zm23.5-5a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-3a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2z\"/></svg>";
95  _icons["machine"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 89.471 89.471\" width=\"48\" height=\"48\"><path d=\"M67.998 0H21.473a3.59 3.59 0 0 0-3.579 3.579v82.314a3.59 3.59 0 0 0 3.579 3.579h46.525a3.59 3.59 0 0 0 3.579-3.579V3.579A3.589 3.589 0 0 0 67.998 0zM44.736 65.811a5.373 5.373 0 0 1-5.368-5.368 5.37 5.37 0 0 1 5.368-5.368 5.37 5.37 0 0 1 5.368 5.368 5.372 5.372 0 0 1-5.368 5.368zm19.683-26.107H25.052v-1.789h39.367v1.789zm0-10.737H25.052v-1.789h39.367v1.789zm0-11.631H25.052V6.599h39.367v10.737z\"/></svg>";
96 
97  _icons["graph"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 108.727 108.727\" vector-effect=\"non-scaling-stroke\" fill=\"black\"><rect x=\"0.864\" y=\"9.864\" fill=\"white\" width=\"106.167\" height=\"89.834\"/><path d=\"M0 7.988v92.75h108.727V7.988H0zm93.264 31v-14.5h12.321v-.5H93.264v-13h12.462V54.84c-.132-.129-.28-.237-.426-.352h.285v-.5h-1.058c-.728-.386-1.543-.625-2.422-.625s-1.693.239-2.421.625h-2.013l-4.408-2.789V39.488h12.321v-.5h-12.32zm5.199 15.5h.449c-.065.053-.131.105-.194.161l-.255-.161zm3.644.875c1.77 0 3.209 1.439 3.209 3.209s-1.439 3.209-3.209 3.209c-1.771 0-3.209-1.439-3.209-3.209s1.439-3.209 3.209-3.209zm-8.843-1.798l.668.423h-.668v-.423zm-16.805-9.877c0-1.055.518-1.983 1.306-2.569v5.139a3.198 3.198 0 0 1-1.306-2.57zm1.805-2.872a3.172 3.172 0 0 1 1.403-.337 3.211 3.211 0 0 1 3.209 3.209 3.211 3.211 0 0 1-3.209 3.209c-.505 0-.978-.128-1.403-.337v-5.744zm4.457-1.328h10.043v11.395l-8.277-5.236a5.15 5.15 0 0 0 .39-1.958c0-1.729-.856-3.252-2.156-4.201zm-4.457-28.5h14.5v13h-14.5v-13zm14.5 13.5v14.5h-10.89a5.157 5.157 0 0 0-2.207-.509c-.489 0-.954.09-1.403.217V24.488h14.5zm-29.5-13.5h14.5v13h-14.5v-13zm0 13.5h14.5v14.363c-.104.041-.203.089-.304.137H63.264v-14.5zm0 15h13.35c-1.299.948-2.155 2.472-2.155 4.2 0 .9.25 1.735.653 2.475l-10.938 7.825h-.91v-14.5zm.211 15l-.211.15v-.15h.211zm-3.479 0h2.769v.509l-1.442 1.032a5.241 5.241 0 0 0-1.327-1.541zm-11.732-4.077l3.543 3.577h-3.543v-3.577zm8.539 4.952c1.77 0 3.209 1.439 3.209 3.209s-1.439 3.209-3.209 3.209-3.209-1.439-3.209-3.209 1.439-3.209 3.209-3.209zm-8.539-44.375h14.5v13h-14.5v-13zm0 13.5h14.5v14.5h-14.5v-14.5zm14.5 15v14.5h-3.541a5.136 5.136 0 0 0-2.42-.625c-.815 0-1.577.205-2.264.539l-6.274-6.334v-8.08h14.499zm-15 7.576l-7.504-7.576h7.504v7.576zm-14.5-36.076h14.5v13h-14.5v-13zm14.5 13.5v14.5h-8l-1.448-1.462a5.14 5.14 0 0 0 .535-2.256 5.215 5.215 0 0 0-5.209-5.209c-.129 0-.251.029-.378.038v-5.611h14.5zm-17.33 10.783c0-1.463.99-2.688 2.331-3.071v6.143c-1.341-.386-2.331-1.61-2.331-3.072zm2.83-3.172c.125-.015.249-.038.378-.038a3.212 3.212 0 0 1 3.209 3.209 3.212 3.212 0 0 1-3.209 3.209c-.129 0-.253-.023-.378-.038v-6.342zm-15-21.111h14.5v13h-14.5v-13zm0 13.5h14.5v5.662c-2.453.42-4.331 2.549-4.331 5.12 0 .858.229 1.656.597 2.37l-.931 1.348h-9.836l.001-14.5zm9.491 15l-9.49 13.736V39.488h9.49zm-9.991-28.5v13H3.14v.5h14.624v14.5H3.14v.5h14.624v14.46l-.028.04H3.14v.5h14.251l-2.235 3.234c-.906-.765-2.061-1.242-3.335-1.242a5.215 5.215 0 0 0-5.209 5.209c0 1.426.578 2.719 1.51 3.66l-3.544 3.639H3.14v.5h.951L3 70.608v-59.62h14.764zM8.612 61.689c0-1.77 1.439-3.209 3.209-3.209s3.209 1.439 3.209 3.209-1.439 3.209-3.209 3.209-3.209-1.439-3.209-3.209zm9.152 22.299H3.14v.5h14.624v13.25H3V73.473l3.882-3.984h10.882v14.499zm-10.395-15l2.433-2.498a5.146 5.146 0 0 0 2.019.408 5.215 5.215 0 0 0 5.209-5.209c0-.842-.219-1.625-.575-2.328l1.309-1.895v11.521l-10.395.001zm25.395 28.75h-14.5v-13.25h14.5v13.25zm0-13.75h-14.5v-14.5h14.5v14.5zm0-15h-14.5V56.743l1.558-2.255h12.942v14.5zm-12.596-15l10.018-14.5h.425a5.166 5.166 0 0 0 2.153.902v13.598H20.168zm27.596 43.75h-14.5v-13.25h14.5v13.25zm0-13.75h-14.5v-14.5h14.5v14.5zm0-15h-14.5v-14.5h14.5v14.5zm-14.5-15V40.441c.127.009.249.038.378.038a5.166 5.166 0 0 0 3.032-.991h.77l10.32 10.418v4.082h-14.5zm29.5 43.75h-14.5v-13.25h14.5v13.25zm0-13.75h-14.5v-14.5h14.5v14.5zm-14.5-15v-14.5h4.039l.628.634a5.165 5.165 0 0 0-1.337 3.45c0 2.872 2.337 5.209 5.209 5.209s5.209-2.337 5.209-5.209c0-.186-.036-.359-.054-.538l.807-.577v11.531H48.264zm29.5 28.75h-14.5v-13.25h14.5v13.25zm0-13.75h-14.5v-14.5h14.5v14.5zm0-15h-14.5v-11.89l3.648-2.609h10.852v14.499zm-10.151-15l8.78-6.281c.413.337.867.619 1.37.818v5.463h-10.15zm25.151 43.75h-14.5v-13.25h14.5v13.25zm0-13.75h-14.5v-14.5h14.5v14.5zm0-15h-14.5v-14.5h14.5v14.5zm-14.5-15V48.68c.449.127.914.217 1.403.217 1.46 0 2.776-.607 3.724-1.579l9.373 5.931v.739h-14.5zm15 43.75v-13.25h12.321v-.5H93.264v-14.5h12.321v-.5H93.264v-14.5h1.459l2.756 1.743a5.15 5.15 0 0 0-.582 2.341 5.216 5.216 0 0 0 5.209 5.209 5.182 5.182 0 0 0 3.62-1.477v35.434H93.264z\"/></svg>";
98  _icons["clock"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-10 -10 398.311 398.311\" vector-effect=\"non-scaling-stroke\" stroke=\"white\" fill=\"black\"><circle cx=\"189\" cy=\"189\" r=\"160\" fill=\"white\"/><path d=\"M189.156 0C84.858 0 .001 84.858.001 189.155c0 104.298 84.857 189.155 189.155 189.155 104.304 0 189.154-84.857 189.154-189.155C378.31 84.858 293.46 0 189.156 0zm0 347.144c-87.117 0-157.988-70.87-157.988-157.988 0-87.115 70.871-157.988 157.988-157.988s157.986 70.873 157.986 157.988c0 87.117-70.87 157.988-157.986 157.988z\"/><path d=\"M204.739 182.963V75.841c0-8.606-6.977-15.584-15.583-15.584-8.605 0-15.582 6.978-15.582 15.584v113.314c0 4.839 2.25 9.101 5.703 11.962.146.176.245.373.397.546l58.438 66.354a15.572 15.572 0 0 0 11.701 5.279 15.5 15.5 0 0 0 10.289-3.888c6.461-5.692 7.084-15.537 1.398-21.998l-56.761-64.447z\"/></svg>";
99  _icons["trash"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 46.234 46.234\" vector-effect=\"non-scaling-stroke\" stroke=\"black\" fill=\"white\"><path d=\"M8.36 43.021a3.213 3.213 0 0 0 3.211 3.213h23.094a3.209 3.209 0 0 0 3.209-3.213V15.747H8.36v27.274zM37.313 3.333h-8.961C27.431 1.325 25.435 0 23.119 0c-2.317 0-4.312 1.325-5.234 3.333H8.924c-1.774 0-3.241 1.423-3.241 3.198V9.78c0 1.774 1.467 3.229 3.241 3.229h28.389c1.775 0 3.238-1.455 3.238-3.229V6.531c0-1.775-1.463-3.198-3.238-3.198z\"/></svg>";
100  _icons["gear"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"menuIcon\" viewBox='0 0 32 32'><g id='Gear'><path d='M25.5,18.13h2.27V12.67H25.5a1.26,1.26,0,0,1-.89-2.15l1.61-1.61L22.36,5.05,20.75,6.66a1.26,1.26,0,0,1-2.15-.89V3.5H13.14V5.77A1.26,1.26,0,0,1,11,6.66L9.39,5.05,5.53,8.92l1.61,1.61a1.26,1.26,0,0,1-.89,2.15H4v5.46H6.25a1.26,1.26,0,0,1,.89,2.15L5.53,21.88l3.86,3.86L11,24.14a1.26,1.26,0,0,1,2.15.89V27.3h5.46V25a1.26,1.26,0,0,1,2.15-.89l1.61,1.61,3.86-3.86-1.61-1.61A1.26,1.26,0,0,1,25.5,18.13ZM16.17,19a3.43,3.43,0,1,1,3.43-3.43A3.43,3.43,0,0,1,16.17,19Z'/></g></svg>";
101 
102  _icons["camera"] = (char *) "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"510\" height=\"510\"><path d=\"M188.7 216.75L311.1 5.1C293.25 2.55 272.85 0 255 0 193.8 0 137.7 20.4 94.35 58.65L188.7 219.3v-2.55zm308.55-38.25c-22.95-73.95-79.05-135.15-153-160.65l-91.8 160.65h244.8zm7.65 25.5H313.65l7.649 12.75L443.7 428.4C484.5 382.5 510 321.3 510 255c0-17.85-2.55-35.7-5.1-51zm-339.15 51L66.3 81.6C25.5 127.5 0 188.7 0 255c0 17.85 2.55 35.7 5.1 51h191.25l-30.6-51zm-153 76.5c22.95 73.95 79.05 135.15 153 160.65L260.1 331.5H12.75zm285.6 0L198.9 504.9c17.85 5.1 35.7 5.1 56.1 5.1 61.2 0 117.3-20.4 160.65-58.65L321.3 290.7l-22.95 40.8z\"/></svg>";
103 
104  _initialized = true;
105  }
106 }
static void initialize()
Initialize the icon library.
Definition: VFS_icons.cpp:60
static QMutex _initializeMutex
An initialize locker... needed because icons may be requested by multiple threads before initializati...
Definition: VFS_icons.h:14
static char * get(QString which="")
Fetch an icon from the library.
Definition: VFS_icons.cpp:34
static bool _initialized
The initialization state of the icon library.
Definition: VFS_icons.h:13
static QMap< QString, char * > _icons
The icon library map.
Definition: VFS_icons.h:15
static void WARN(QString message, int level=0, QString user="server")
Send a message to the VFS::_warnings VFS_stream.
Definition: VFS.cpp:258