1 /* 2 * Cantata 3 * 4 * Copyright (c) 2011-2020 Craig Drummond <craig.p.drummond@gmail.com> 5 * 6 * ---- 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; see the file COPYING. If not, write to 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * Boston, MA 02110-1301, USA. 22 */ 23 24 #ifndef MONO_ICON_H 25 #define MONO_ICON_H 26 27 #include <QIcon> 28 29 /** 30 * This enum is taken from QtAwesome: 31 * 32 * MIT Licensed 33 * 34 * Copyright 2013-2015 - Reliable Bits Software by Blommers IT. All Rights Reserved. 35 * Author Rick Blommers 36 */ 37 namespace FontAwesome { 38 enum icon { 39 ex_one = 0x0001, 40 41 adjust = 0xf042, 42 adn = 0xf170, 43 aligncenter = 0xf037, 44 alignjustify = 0xf039, 45 alignleft = 0xf036, 46 alignright = 0xf038, 47 ambulance = 0xf0f9, 48 anchor = 0xf13d, 49 android = 0xf17b, 50 angellist = 0xf209, 51 angledoubledown = 0xf103, 52 angledoubleleft = 0xf100, 53 angledoubleright = 0xf101, 54 angledoubleup = 0xf102, 55 angledown = 0xf107, 56 angleleft = 0xf104, 57 angleright = 0xf105, 58 angleup = 0xf106, 59 apple = 0xf179, 60 archive = 0xf187, 61 areachart = 0xf1fe, 62 arrowcircledown = 0xf0ab, 63 arrowcircleleft = 0xf0a8, 64 arrowcircleodown = 0xf01a, 65 arrowcircleoleft = 0xf190, 66 arrowcircleoright = 0xf18e, 67 arrowcircleoup = 0xf01b, 68 arrowcircleright = 0xf0a9, 69 arrowcircleup = 0xf0aa, 70 arrowdown = 0xf063, 71 arrowleft = 0xf060, 72 arrowright = 0xf061, 73 arrowup = 0xf062, 74 arrows = 0xf047, 75 arrowsalt = 0xf0b2, 76 arrowsh = 0xf07e, 77 arrowsv = 0xf07d, 78 asterisk = 0xf069, 79 at = 0xf1fa, 80 automobile = 0xf1b9, 81 backward = 0xf04a, 82 ban = 0xf05e, 83 bank = 0xf19c, 84 barchart = 0xf080, 85 barcharto = 0xf080, 86 barcode = 0xf02a, 87 bars = 0xf0c9, 88 bed = 0xf236, 89 beer = 0xf0fc, 90 behance = 0xf1b4, 91 behancesquare = 0xf1b5, 92 bell = 0xf0f3, 93 bello = 0xf0a2, 94 bellslash = 0xf1f6, 95 bellslasho = 0xf1f7, 96 bicycle = 0xf206, 97 binoculars = 0xf1e5, 98 birthdaycake = 0xf1fd, 99 bitbucket = 0xf171, 100 bitbucketsquare = 0xf172, 101 bitcoin = 0xf15a, 102 bold = 0xf032, 103 bolt = 0xf0e7, 104 bomb = 0xf1e2, 105 book = 0xf02d, 106 bookmark = 0xf02e, 107 bookmarko = 0xf097, 108 briefcase = 0xf0b1, 109 btc = 0xf15a, 110 bug = 0xf188, 111 building = 0xf1ad, 112 buildingo = 0xf0f7, 113 bullhorn = 0xf0a1, 114 bullseye = 0xf140, 115 bus = 0xf207, 116 buysellads = 0xf20d, 117 cab = 0xf1ba, 118 calculator = 0xf1ec, 119 calendar = 0xf073, 120 calendaro = 0xf133, 121 camera = 0xf030, 122 cameraretro = 0xf083, 123 car = 0xf1b9, 124 caretdown = 0xf0d7, 125 caretleft = 0xf0d9, 126 caretright = 0xf0da, 127 caretsquareodown = 0xf150, 128 caretsquareoleft = 0xf191, 129 caretsquareoright = 0xf152, 130 caretsquareoup = 0xf151, 131 caretup = 0xf0d8, 132 cartarrowdown = 0xf218, 133 cartplus = 0xf217, 134 cc = 0xf20a, 135 ccamex = 0xf1f3, 136 ccdiscover = 0xf1f2, 137 ccmastercard = 0xf1f1, 138 ccpaypal = 0xf1f4, 139 ccstripe = 0xf1f5, 140 ccvisa = 0xf1f0, 141 certificate = 0xf0a3, 142 chain = 0xf0c1, 143 chainbroken = 0xf127, 144 check = 0xf00c, 145 checkcircle = 0xf058, 146 checkcircleo = 0xf05d, 147 checksquare = 0xf14a, 148 checksquareo = 0xf046, 149 chevroncircledown = 0xf13a, 150 chevroncircleleft = 0xf137, 151 chevroncircleright = 0xf138, 152 chevroncircleup = 0xf139, 153 chevrondown = 0xf078, 154 chevronleft = 0xf053, 155 chevronright = 0xf054, 156 chevronup = 0xf077, 157 child = 0xf1ae, 158 circle = 0xf111, 159 circleo = 0xf10c, 160 circleonotch = 0xf1ce, 161 circlethin = 0xf1db, 162 clipboard = 0xf0ea, 163 clocko = 0xf017, 164 close = 0xf00d, 165 cloud = 0xf0c2, 166 clouddownload = 0xf0ed, 167 cloudupload = 0xf0ee, 168 cny = 0xf157, 169 code = 0xf121, 170 codefork = 0xf126, 171 codepen = 0xf1cb, 172 coffee = 0xf0f4, 173 cog = 0xf013, 174 cogs = 0xf085, 175 columns = 0xf0db, 176 comment = 0xf075, 177 commento = 0xf0e5, 178 comments = 0xf086, 179 commentso = 0xf0e6, 180 compass = 0xf14e, 181 compress = 0xf066, 182 connectdevelop = 0xf20e, 183 copy = 0xf0c5, 184 copyright = 0xf1f9, 185 creditcard = 0xf09d, 186 crop = 0xf125, 187 crosshairs = 0xf05b, 188 css3 = 0xf13c, 189 cube = 0xf1b2, 190 cubes = 0xf1b3, 191 cut = 0xf0c4, 192 cutlery = 0xf0f5, 193 dashboard = 0xf0e4, 194 dashcube = 0xf210, 195 database = 0xf1c0, 196 dedent = 0xf03b, 197 delicious = 0xf1a5, 198 desktop = 0xf108, 199 deviantart = 0xf1bd, 200 diamond = 0xf219, 201 digg = 0xf1a6, 202 dollar = 0xf155, 203 dotcircleo = 0xf192, 204 download = 0xf019, 205 dribbble = 0xf17d, 206 dropbox = 0xf16b, 207 drupal = 0xf1a9, 208 edit = 0xf044, 209 eject = 0xf052, 210 ellipsish = 0xf141, 211 ellipsisv = 0xf142, 212 empire = 0xf1d1, 213 envelope = 0xf0e0, 214 envelopeo = 0xf003, 215 envelopesquare = 0xf199, 216 eraser = 0xf12d, 217 eur = 0xf153, 218 euro = 0xf153, 219 exchange = 0xf0ec, 220 exclamation = 0xf12a, 221 exclamationcircle = 0xf06a, 222 exclamationtriangle = 0xf071, 223 expand = 0xf065, 224 externallink = 0xf08e, 225 externallinksquare = 0xf14c, 226 eye = 0xf06e, 227 eyeslash = 0xf070, 228 eyedropper = 0xf1fb, 229 facebook = 0xf09a, 230 facebookf = 0xf09a, 231 facebookofficial = 0xf230, 232 facebooksquare = 0xf082, 233 fastbackward = 0xf049, 234 fastforward = 0xf050, 235 fax = 0xf1ac, 236 female = 0xf182, 237 fighterjet = 0xf0fb, 238 file = 0xf15b, 239 filearchiveo = 0xf1c6, 240 fileaudioo = 0xf1c7, 241 filecodeo = 0xf1c9, 242 fileexcelo = 0xf1c3, 243 fileimageo = 0xf1c5, 244 filemovieo = 0xf1c8, 245 fileo = 0xf016, 246 filepdfo = 0xf1c1, 247 filephotoo = 0xf1c5, 248 filepictureo = 0xf1c5, 249 filepowerpointo = 0xf1c4, 250 filesoundo = 0xf1c7, 251 filetext = 0xf15c, 252 filetexto = 0xf0f6, 253 filevideoo = 0xf1c8, 254 filewordo = 0xf1c2, 255 filezipo = 0xf1c6, 256 fileso = 0xf0c5, 257 film = 0xf008, 258 filter = 0xf0b0, 259 fire = 0xf06d, 260 fireextinguisher = 0xf134, 261 flag = 0xf024, 262 flagcheckered = 0xf11e, 263 flago = 0xf11d, 264 flash = 0xf0e7, 265 flask = 0xf0c3, 266 flickr = 0xf16e, 267 floppyo = 0xf0c7, 268 folder = 0xf07b, 269 foldero = 0xf114, 270 folderopen = 0xf07c, 271 folderopeno = 0xf115, 272 font = 0xf031, 273 forumbee = 0xf211, 274 forward = 0xf04e, 275 foursquare = 0xf180, 276 frowno = 0xf119, 277 futbolo = 0xf1e3, 278 gamepad = 0xf11b, 279 gavel = 0xf0e3, 280 gbp = 0xf154, 281 ge = 0xf1d1, 282 gear = 0xf013, 283 gears = 0xf085, 284 genderless = 0xf1db, 285 gift = 0xf06b, 286 git = 0xf1d3, 287 gitsquare = 0xf1d2, 288 github = 0xf09b, 289 githubalt = 0xf113, 290 githubsquare = 0xf092, 291 gittip = 0xf184, 292 glass = 0xf000, 293 globe = 0xf0ac, 294 google = 0xf1a0, 295 googleplus = 0xf0d5, 296 googleplussquare = 0xf0d4, 297 googlewallet = 0xf1ee, 298 graduationcap = 0xf19d, 299 gratipay = 0xf184, 300 group = 0xf0c0, 301 hsquare = 0xf0fd, 302 hackernews = 0xf1d4, 303 handodown = 0xf0a7, 304 handoleft = 0xf0a5, 305 handoright = 0xf0a4, 306 handoup = 0xf0a6, 307 hddo = 0xf0a0, 308 header = 0xf1dc, 309 headphones = 0xf025, 310 heart = 0xf004, 311 hearto = 0xf08a, 312 heartbeat = 0xf21e, 313 history = 0xf1da, 314 home = 0xf015, 315 hospitalo = 0xf0f8, 316 hotel = 0xf236, 317 html5 = 0xf13b, 318 ils = 0xf20b, 319 image = 0xf03e, 320 inbox = 0xf01c, 321 indent = 0xf03c, 322 info = 0xf129, 323 infocircle = 0xf05a, 324 inr = 0xf156, 325 instagram = 0xf16d, 326 institution = 0xf19c, 327 ioxhost = 0xf208, 328 italic = 0xf033, 329 joomla = 0xf1aa, 330 jpy = 0xf157, 331 jsfiddle = 0xf1cc, 332 key = 0xf084, 333 keyboardo = 0xf11c, 334 krw = 0xf159, 335 language = 0xf1ab, 336 laptop = 0xf109, 337 lastfm = 0xf202, 338 lastfmsquare = 0xf203, 339 leaf = 0xf06c, 340 leanpub = 0xf212, 341 legal = 0xf0e3, 342 lemono = 0xf094, 343 leveldown = 0xf149, 344 levelup = 0xf148, 345 lifebouy = 0xf1cd, 346 lifebuoy = 0xf1cd, 347 lifering = 0xf1cd, 348 lifesaver = 0xf1cd, 349 lightbulbo = 0xf0eb, 350 linechart = 0xf201, 351 link = 0xf0c1, 352 linkedin = 0xf0e1, 353 linkedinsquare = 0xf08c, 354 linux_os = 0xf17c, 355 list = 0xf03a, 356 listalt = 0xf022, 357 listol = 0xf0cb, 358 listul = 0xf0ca, 359 locationarrow = 0xf124, 360 lock = 0xf023, 361 longarrowdown = 0xf175, 362 longarrowleft = 0xf177, 363 longarrowright = 0xf178, 364 longarrowup = 0xf176, 365 magic = 0xf0d0, 366 magnet = 0xf076, 367 mailforward = 0xf064, 368 mailreply = 0xf112, 369 mailreplyall = 0xf122, 370 male = 0xf183, 371 mapmarker = 0xf041, 372 mars = 0xf222, 373 marsdouble = 0xf227, 374 marsstroke = 0xf229, 375 marsstrokeh = 0xf22b, 376 marsstrokev = 0xf22a, 377 maxcdn = 0xf136, 378 meanpath = 0xf20c, 379 medium = 0xf23a, 380 medkit = 0xf0fa, 381 meho = 0xf11a, 382 mercury = 0xf223, 383 microphone = 0xf130, 384 microphoneslash = 0xf131, 385 minus = 0xf068, 386 minuscircle = 0xf056, 387 minussquare = 0xf146, 388 minussquareo = 0xf147, 389 mobile = 0xf10b, 390 mobilephone = 0xf10b, 391 money = 0xf0d6, 392 moono = 0xf186, 393 mortarboard = 0xf19d, 394 motorcycle = 0xf21c, 395 music = 0xf001, 396 navicon = 0xf0c9, 397 neuter = 0xf22c, 398 newspapero = 0xf1ea, 399 openid = 0xf19b, 400 outdent = 0xf03b, 401 pagelines = 0xf18c, 402 paintbrush = 0xf1fc, 403 paperplane = 0xf1d8, 404 paperplaneo = 0xf1d9, 405 paperclip = 0xf0c6, 406 paragraph = 0xf1dd, 407 paste = 0xf0ea, 408 pause = 0xf04c, 409 paw = 0xf1b0, 410 paypal = 0xf1ed, 411 pencil = 0xf040, 412 pencilsquare = 0xf14b, 413 pencilsquareo = 0xf044, 414 phone = 0xf095, 415 phonesquare = 0xf098, 416 photo = 0xf03e, 417 pictureo = 0xf03e, 418 piechart = 0xf200, 419 piedpiper = 0xf1a7, 420 piedpiperalt = 0xf1a8, 421 pinterest = 0xf0d2, 422 pinterestp = 0xf231, 423 pinterestsquare = 0xf0d3, 424 plane = 0xf072, 425 play = 0xf04b, 426 playcircle = 0xf144, 427 playcircleo = 0xf01d, 428 plug = 0xf1e6, 429 plus = 0xf067, 430 pluscircle = 0xf055, 431 plussquare = 0xf0fe, 432 plussquareo = 0xf196, 433 poweroff = 0xf011, 434 print = 0xf02f, 435 puzzlepiece = 0xf12e, 436 qq = 0xf1d6, 437 qrcode = 0xf029, 438 question = 0xf128, 439 questioncircle = 0xf059, 440 quoteleft = 0xf10d, 441 quoteright = 0xf10e, 442 ra = 0xf1d0, 443 random = 0xf074, 444 rebel = 0xf1d0, 445 recycle = 0xf1b8, 446 reddit = 0xf1a1, 447 redditsquare = 0xf1a2, 448 refresh = 0xf021, 449 remove = 0xf00d, 450 renren = 0xf18b, 451 reorder = 0xf0c9, 452 repeat = 0xf01e, 453 reply = 0xf112, 454 replyall = 0xf122, 455 retweet = 0xf079, 456 rmb = 0xf157, 457 road = 0xf018, 458 rocket = 0xf135, 459 rotateleft = 0xf0e2, 460 rotateright = 0xf01e, 461 rouble = 0xf158, 462 rss = 0xf09e, 463 rsssquare = 0xf143, 464 rub = 0xf158, 465 ruble = 0xf158, 466 rupee = 0xf156, 467 save = 0xf0c7, 468 scissors = 0xf0c4, 469 search = 0xf002, 470 searchminus = 0xf010, 471 searchplus = 0xf00e, 472 sellsy = 0xf213, 473 send = 0xf1d8, 474 sendo = 0xf1d9, 475 server = 0xf233, 476 share = 0xf064, 477 sharealt = 0xf1e0, 478 sharealtsquare = 0xf1e1, 479 sharesquare = 0xf14d, 480 sharesquareo = 0xf045, 481 shekel = 0xf20b, 482 sheqel = 0xf20b, 483 shield = 0xf132, 484 ship = 0xf21a, 485 shirtsinbulk = 0xf214, 486 shoppingcart = 0xf07a, 487 signin = 0xf090, 488 signout = 0xf08b, 489 signal = 0xf012, 490 simplybuilt = 0xf215, 491 sitemap = 0xf0e8, 492 skyatlas = 0xf216, 493 skype = 0xf17e, 494 slack = 0xf198, 495 sliders = 0xf1de, 496 slideshare = 0xf1e7, 497 smileo = 0xf118, 498 soccerballo = 0xf1e3, 499 sort = 0xf0dc, 500 sortalphaasc = 0xf15d, 501 sortalphadesc = 0xf15e, 502 sortamountasc = 0xf160, 503 sortamountdesc = 0xf161, 504 sortasc = 0xf0de, 505 sortdesc = 0xf0dd, 506 sortdown = 0xf0dd, 507 sortnumericasc = 0xf162, 508 sortnumericdesc = 0xf163, 509 sortup = 0xf0de, 510 soundcloud = 0xf1be, 511 spaceshuttle = 0xf197, 512 spinner = 0xf110, 513 spoon = 0xf1b1, 514 spotify = 0xf1bc, 515 square = 0xf0c8, 516 squareo = 0xf096, 517 stackexchange = 0xf18d, 518 stackoverflow = 0xf16c, 519 star = 0xf005, 520 starhalf = 0xf089, 521 starhalfempty = 0xf123, 522 starhalffull = 0xf123, 523 starhalfo = 0xf123, 524 staro = 0xf006, 525 steam = 0xf1b6, 526 steamsquare = 0xf1b7, 527 stepbackward = 0xf048, 528 stepforward = 0xf051, 529 stethoscope = 0xf0f1, 530 stop = 0xf04d, 531 streetview = 0xf21d, 532 strikethrough = 0xf0cc, 533 stumbleupon = 0xf1a4, 534 stumbleuponcircle = 0xf1a3, 535 subscript = 0xf12c, 536 subway = 0xf239, 537 suitcase = 0xf0f2, 538 suno = 0xf185, 539 superscript = 0xf12b, 540 support = 0xf1cd, 541 table = 0xf0ce, 542 tablet = 0xf10a, 543 tachometer = 0xf0e4, 544 tag = 0xf02b, 545 tags = 0xf02c, 546 tasks = 0xf0ae, 547 taxi = 0xf1ba, 548 tencentweibo = 0xf1d5, 549 terminal = 0xf120, 550 textheight = 0xf034, 551 textwidth = 0xf035, 552 th = 0xf00a, 553 thlarge = 0xf009, 554 thlist = 0xf00b, 555 thumbtack = 0xf08d, 556 thumbsdown = 0xf165, 557 thumbsodown = 0xf088, 558 thumbsoup = 0xf087, 559 thumbsup = 0xf164, 560 ticket = 0xf145, 561 times = 0xf00d, 562 timescircle = 0xf057, 563 timescircleo = 0xf05c, 564 tint = 0xf043, 565 toggledown = 0xf150, 566 toggleleft = 0xf191, 567 toggleoff = 0xf204, 568 toggleon = 0xf205, 569 toggleright = 0xf152, 570 toggleup = 0xf151, 571 train = 0xf238, 572 transgender = 0xf224, 573 transgenderalt = 0xf225, 574 trash = 0xf1f8, 575 trasho = 0xf014, 576 tree = 0xf1bb, 577 trello = 0xf181, 578 trophy = 0xf091, 579 truck = 0xf0d1, 580 fa_try = 0xf195, // add prefix fa_ (try is a keyword) 581 tty = 0xf1e4, 582 tumblr = 0xf173, 583 tumblrsquare = 0xf174, 584 turkishlira = 0xf195, 585 twitch = 0xf1e8, 586 twitter = 0xf099, 587 twittersquare = 0xf081, 588 umbrella = 0xf0e9, 589 underline = 0xf0cd, 590 undo = 0xf0e2, 591 university = 0xf19c, 592 unlink = 0xf127, 593 unlock = 0xf09c, 594 unlockalt = 0xf13e, 595 unsorted = 0xf0dc, 596 upload = 0xf093, 597 usb = 0xf287, 598 usd = 0xf155, 599 user = 0xf007, 600 usermd = 0xf0f0, 601 userplus = 0xf234, 602 usersecret = 0xf21b, 603 usertimes = 0xf235, 604 users = 0xf0c0, 605 venus = 0xf221, 606 venusdouble = 0xf226, 607 venusmars = 0xf228, 608 viacoin = 0xf237, 609 videocamera = 0xf03d, 610 vimeosquare = 0xf194, 611 vine = 0xf1ca, 612 vk = 0xf189, 613 volumedown = 0xf027, 614 volumeoff = 0xf026, 615 volumeup = 0xf028, 616 warning = 0xf071, 617 wechat = 0xf1d7, 618 weibo = 0xf18a, 619 weixin = 0xf1d7, 620 whatsapp = 0xf232, 621 wheelchair = 0xf193, 622 wifi = 0xf1eb, 623 windows = 0xf17a, 624 won = 0xf159, 625 wordpress = 0xf19a, 626 wrench = 0xf0ad, 627 xing = 0xf168, 628 xingsquare = 0xf169, 629 yahoo = 0xf19e, 630 yelp = 0xf1e9, 631 yen = 0xf157, 632 youtube = 0xf167, 633 youtubeplay = 0xf16a, 634 youtubesquare = 0xf166, 635 636 podcast = 0xf2ce 637 }; 638 } 639 640 namespace MonoIcon 641 { 642 extern const QColor constRed; 643 extern QIcon icon(const QString &fileName, const QColor &col, const QColor &sel=QColor(QColor::Invalid)); 644 extern QIcon icon(const FontAwesome::icon icon, const QColor &col, const QColor &sel=QColor(QColor::Invalid)); 645 }; 646 647 #endif // MonoIcon_H 648