OpenHantek
QtAwesome.h
Go to the documentation of this file.
1 
10 #ifndef QTAWESOME_H
11 #define QTAWESOME_H
12 
13 #include "QtAwesomeAnim.h"
14 
15 #include <QIcon>
16 #include <QIconEngine>
17 #include <QPainter>
18 #include <QRect>
19 #include <QVariantMap>
20 
21 
22 //---------------------------------------------------------------------------------------
23 
25 
28 class QtAwesome : public QObject {
29  Q_OBJECT
30 
31  public:
32  explicit QtAwesome( QObject *parent = nullptr );
33  virtual ~QtAwesome();
34 
35  void init( const QString &fontname );
36  bool initFontAwesome();
37 
38  void addNamedCodepoint( const QString &name, int codePoint );
39  QHash< QString, int > namedCodePoints() { return namedCodepoints_; }
40 
41  void setDefaultOption( const QString &name, const QVariant &value );
42  QVariant defaultOption( const QString &name );
43 
44  QIcon icon( int character, const QVariantMap &options = QVariantMap() );
45  QIcon icon( const QString &name, const QVariantMap &options = QVariantMap() );
46  QIcon icon( QtAwesomeIconPainter *painter, const QVariantMap &optionMap = QVariantMap() );
47 
48  void give( const QString &name, QtAwesomeIconPainter *painter );
49 
50  QFont font( int size );
51 
53  QString fontName() { return fontName_; }
54 
55  private:
56  QString fontName_;
57  QHash< QString, int > namedCodepoints_;
58 
59  QHash< QString, QtAwesomeIconPainter * > painterMap_;
60  QVariantMap defaultOptions_;
62 };
63 
64 
65 //---------------------------------------------------------------------------------------
66 
67 
71  public:
72  virtual ~QtAwesomeIconPainter();
73  virtual void paint( QtAwesome *awesome, QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state,
74  const QVariantMap &options ) = 0;
75 };
76 
77 
80  protected:
81  QStringList optionKeysForModeAndState( const QString &key, QIcon::Mode mode, QIcon::State state );
82 
83  QVariant optionValueForModeAndState( const QString &baseKey, QIcon::Mode mode, QIcon::State state, const QVariantMap &options );
84 
85  public:
86  virtual void paint( QtAwesome *awesome, QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state,
87  const QVariantMap &options );
88 };
89 
90 
92 class QtAwesomeIconPainterIconEngine : public QIconEngine {
93  public:
94  QtAwesomeIconPainterIconEngine( QtAwesome *awesome, QtAwesomeIconPainter *painter, const QVariantMap &options );
95  // : awesomeRef_( awesome ), iconPainterRef_( painter ), options_( options )
96 
98 
99  QtAwesomeIconPainterIconEngine *clone() const override;
100 
101  void paint( QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state ) override;
102 
103  QPixmap pixmap( const QSize &size, QIcon::Mode mode, QIcon::State state ) override;
104 
105 #if ( QT_VERSION >= QT_VERSION_CHECK( 5, 6, 0 ) )
106  QList< QSize > availableSizes( QIcon::Mode mode, QIcon::State state ) const override {
107  Q_UNUSED( mode );
108  Q_UNUSED( state );
109  QList< QSize > sizes = { QSize( 16, 16 ), QSize( 32, 32 ), QSize( 64, 64 ),
110  QSize( 128, 128 ), QSize( 256, 256 ), QSize( 512, 512 ) };
111  return sizes;
112  }
113 #endif
114 
115  private:
118  QVariantMap options_;
119 };
120 
121 
122 Q_DECLARE_METATYPE( QtAwesomeAnimation * )
123 
124 extern QtAwesome *iconFont;
125 
126 //---------------------------------------------------------------------------------------
127 
130 namespace fa {
131 enum icon {
132  fa_500px = 0xf26e,
133  addressbook = 0xf2b9,
134  addressbooko = 0xf2ba,
135  addresscard = 0xf2bb,
136  addresscardo = 0xf2bc,
137  adjust = 0xf042,
138  adn = 0xf170,
139  aligncenter = 0xf037,
140  alignjustify = 0xf039,
141  alignleft = 0xf036,
142  alignright = 0xf038,
143  amazon = 0xf270,
144  ambulance = 0xf0f9,
146  anchor = 0xf13d,
147  android = 0xf17b,
148  angellist = 0xf209,
149  angledoubledown = 0xf103,
150  angledoubleleft = 0xf100,
152  angledoubleup = 0xf102,
153  angledown = 0xf107,
154  angleleft = 0xf104,
155  angleright = 0xf105,
156  angleup = 0xf106,
157  apple = 0xf179,
158  archive = 0xf187,
159  areachart = 0xf1fe,
160  arrowcircledown = 0xf0ab,
161  arrowcircleleft = 0xf0a8,
165  arrowcircleoup = 0xf01b,
167  arrowcircleup = 0xf0aa,
168  arrowdown = 0xf063,
169  arrowleft = 0xf060,
170  arrowright = 0xf061,
171  arrowup = 0xf062,
172  arrows = 0xf047,
173  arrowsalt = 0xf0b2,
174  arrowsh = 0xf07e,
175  arrowsv = 0xf07d,
176  aslinterpreting = 0xf2a3,
178  asterisk = 0xf069,
179  at = 0xf1fa,
181  automobile = 0xf1b9,
182  backward = 0xf04a,
183  balancescale = 0xf24e,
184  ban = 0xf05e,
185  bandcamp = 0xf2d5,
186  bank = 0xf19c,
187  barchart = 0xf080,
188  barcharto = 0xf080,
189  barcode = 0xf02a,
190  bars = 0xf0c9,
191  bath = 0xf2cd,
192  bathtub = 0xf2cd,
193  battery = 0xf240,
194  battery0 = 0xf244,
195  battery1 = 0xf243,
196  battery2 = 0xf242,
197  battery3 = 0xf241,
198  battery4 = 0xf240,
199  batteryempty = 0xf244,
200  batteryfull = 0xf240,
201  batteryhalf = 0xf242,
202  batteryquarter = 0xf243,
204  bed = 0xf236,
205  beer = 0xf0fc,
206  behance = 0xf1b4,
207  behancesquare = 0xf1b5,
208  bell = 0xf0f3,
209  bello = 0xf0a2,
210  bellslash = 0xf1f6,
211  bellslasho = 0xf1f7,
212  bicycle = 0xf206,
213  binoculars = 0xf1e5,
214  birthdaycake = 0xf1fd,
215  bitbucket = 0xf171,
216  bitbucketsquare = 0xf172,
217  bitcoin = 0xf15a,
218  blacktie = 0xf27e,
219  blind = 0xf29d,
220  bluetooth = 0xf293,
221  bluetoothb = 0xf294,
222  bold = 0xf032,
223  bolt = 0xf0e7,
224  bomb = 0xf1e2,
225  book = 0xf02d,
226  bookmark = 0xf02e,
227  bookmarko = 0xf097,
228  braille = 0xf2a1,
229  briefcase = 0xf0b1,
230  btc = 0xf15a,
231  bug = 0xf188,
232  building = 0xf1ad,
233  buildingo = 0xf0f7,
234  bullhorn = 0xf0a1,
235  bullseye = 0xf140,
236  bus = 0xf207,
237  buysellads = 0xf20d,
238  cab = 0xf1ba,
239  calculator = 0xf1ec,
240  calendar = 0xf073,
241  calendarchecko = 0xf274,
242  calendarminuso = 0xf272,
243  calendaro = 0xf133,
244  calendarpluso = 0xf271,
245  calendartimeso = 0xf273,
246  camera = 0xf030,
247  cameraretro = 0xf083,
248  car = 0xf1b9,
249  caretdown = 0xf0d7,
250  caretleft = 0xf0d9,
251  caretright = 0xf0da,
255  caretsquareoup = 0xf151,
256  caretup = 0xf0d8,
257  cartarrowdown = 0xf218,
258  cartplus = 0xf217,
259  cc = 0xf20a,
260  ccamex = 0xf1f3,
261  ccdinersclub = 0xf24c,
262  ccdiscover = 0xf1f2,
263  ccjcb = 0xf24b,
264  ccmastercard = 0xf1f1,
265  ccpaypal = 0xf1f4,
266  ccstripe = 0xf1f5,
267  ccvisa = 0xf1f0,
268  certificate = 0xf0a3,
269  chain = 0xf0c1,
270  chainbroken = 0xf127,
271  check = 0xf00c,
272  checkcircle = 0xf058,
273  checkcircleo = 0xf05d,
274  checksquare = 0xf14a,
275  checksquareo = 0xf046,
279  chevroncircleup = 0xf139,
280  chevrondown = 0xf078,
281  chevronleft = 0xf053,
282  chevronright = 0xf054,
283  chevronup = 0xf077,
284  child = 0xf1ae,
285  chrome = 0xf268,
286  circle = 0xf111,
287  circleo = 0xf10c,
288  circleonotch = 0xf1ce,
289  circlethin = 0xf1db,
290  clipboard = 0xf0ea,
291  clocko = 0xf017,
292  clone = 0xf24d,
293  close = 0xf00d,
294  cloud = 0xf0c2,
295  clouddownload = 0xf0ed,
296  cloudupload = 0xf0ee,
297  cny = 0xf157,
298  code = 0xf121,
299  codefork = 0xf126,
300  codepen = 0xf1cb,
301  codiepie = 0xf284,
302  coffee = 0xf0f4,
303  cog = 0xf013,
304  cogs = 0xf085,
305  columns = 0xf0db,
306  comment = 0xf075,
307  commento = 0xf0e5,
308  commenting = 0xf27a,
309  commentingo = 0xf27b,
310  comments = 0xf086,
311  commentso = 0xf0e6,
312  compass = 0xf14e,
313  compress = 0xf066,
314  connectdevelop = 0xf20e,
315  contao = 0xf26d,
316  copy = 0xf0c5,
317  copyright = 0xf1f9,
318  creativecommons = 0xf25e,
319  creditcard = 0xf09d,
320  creditcardalt = 0xf283,
321  crop = 0xf125,
322  crosshairs = 0xf05b,
323  css3 = 0xf13c,
324  cube = 0xf1b2,
325  cubes = 0xf1b3,
326  cut = 0xf0c4,
327  cutlery = 0xf0f5,
328  dashboard = 0xf0e4,
329  dashcube = 0xf210,
330  database = 0xf1c0,
331  deaf = 0xf2a4,
332  deafness = 0xf2a4,
333  dedent = 0xf03b,
334  delicious = 0xf1a5,
335  desktop = 0xf108,
336  deviantart = 0xf1bd,
337  diamond = 0xf219,
338  digg = 0xf1a6,
339  dollar = 0xf155,
340  dotcircleo = 0xf192,
341  download = 0xf019,
342  dribbble = 0xf17d,
343  driverslicense = 0xf2c2,
344  driverslicenseo = 0xf2c3,
345  dropbox = 0xf16b,
346  drupal = 0xf1a9,
347  edge = 0xf282,
348  edit = 0xf044,
349  eercast = 0xf2da,
350  eject = 0xf052,
351  ellipsish = 0xf141,
352  ellipsisv = 0xf142,
353  empire = 0xf1d1,
354  envelope = 0xf0e0,
355  envelopeo = 0xf003,
356  envelopeopen = 0xf2b6,
357  envelopeopeno = 0xf2b7,
358  envelopesquare = 0xf199,
359  envira = 0xf299,
360  eraser = 0xf12d,
361  etsy = 0xf2d7,
362  eur = 0xf153,
363  euro = 0xf153,
364  exchange = 0xf0ec,
365  exclamation = 0xf12a,
368  expand = 0xf065,
369  expeditedssl = 0xf23e,
370  externallink = 0xf08e,
372  eye = 0xf06e,
373  eyeslash = 0xf070,
374  eyedropper = 0xf1fb,
375  fa = 0xf2b4,
376  facebook = 0xf09a,
377  facebookf = 0xf09a,
379  facebooksquare = 0xf082,
380  fastbackward = 0xf049,
381  fastforward = 0xf050,
382  fax = 0xf1ac,
383  feed = 0xf09e,
384  female = 0xf182,
385  fighterjet = 0xf0fb,
386  file = 0xf15b,
387  filearchiveo = 0xf1c6,
388  fileaudioo = 0xf1c7,
389  filecodeo = 0xf1c9,
390  fileexcelo = 0xf1c3,
391  fileimageo = 0xf1c5,
392  filemovieo = 0xf1c8,
393  fileo = 0xf016,
394  filepdfo = 0xf1c1,
395  filephotoo = 0xf1c5,
396  filepictureo = 0xf1c5,
397  filepowerpointo = 0xf1c4,
398  filesoundo = 0xf1c7,
399  filetext = 0xf15c,
400  filetexto = 0xf0f6,
401  filevideoo = 0xf1c8,
402  filewordo = 0xf1c2,
403  filezipo = 0xf1c6,
404  fileso = 0xf0c5,
405  film = 0xf008,
406  filter = 0xf0b0,
407  fire = 0xf06d,
409  firefox = 0xf269,
410  firstorder = 0xf2b0,
411  flag = 0xf024,
412  flagcheckered = 0xf11e,
413  flago = 0xf11d,
414  flash = 0xf0e7,
415  flask = 0xf0c3,
416  flickr = 0xf16e,
417  floppyo = 0xf0c7,
418  folder = 0xf07b,
419  foldero = 0xf114,
420  folderopen = 0xf07c,
421  folderopeno = 0xf115,
422  font = 0xf031,
423  fontawesome = 0xf2b4,
424  fonticons = 0xf280,
425  fortawesome = 0xf286,
426  forumbee = 0xf211,
427  forward = 0xf04e,
428  foursquare = 0xf180,
429  freecodecamp = 0xf2c5,
430  frowno = 0xf119,
431  futbolo = 0xf1e3,
432  gamepad = 0xf11b,
433  gavel = 0xf0e3,
434  gbp = 0xf154,
435  ge = 0xf1d1,
436  gear = 0xf013,
437  gears = 0xf085,
438  genderless = 0xf22d,
439  getpocket = 0xf265,
440  gg = 0xf260,
441  ggcircle = 0xf261,
442  gift = 0xf06b,
443  git = 0xf1d3,
444  gitsquare = 0xf1d2,
445  github = 0xf09b,
446  githubalt = 0xf113,
447  githubsquare = 0xf092,
448  gitlab = 0xf296,
449  gittip = 0xf184,
450  glass = 0xf000,
451  glide = 0xf2a5,
452  glideg = 0xf2a6,
453  globe = 0xf0ac,
454  google = 0xf1a0,
455  googleplus = 0xf0d5,
459  googlewallet = 0xf1ee,
460  graduationcap = 0xf19d,
461  gratipay = 0xf184,
462  grav = 0xf2d6,
463  group = 0xf0c0,
464  hsquare = 0xf0fd,
465  hackernews = 0xf1d4,
466  handgrabo = 0xf255,
467  handlizardo = 0xf258,
468  handodown = 0xf0a7,
469  handoleft = 0xf0a5,
470  handoright = 0xf0a4,
471  handoup = 0xf0a6,
472  handpapero = 0xf256,
473  handpeaceo = 0xf25b,
474  handpointero = 0xf25a,
475  handrocko = 0xf255,
476  handscissorso = 0xf257,
477  handspocko = 0xf259,
478  handstopo = 0xf256,
479  handshakeo = 0xf2b5,
480  hardofhearing = 0xf2a4,
481  hashtag = 0xf292,
482  hddo = 0xf0a0,
483  header = 0xf1dc,
484  headphones = 0xf025,
485  heart = 0xf004,
486  hearto = 0xf08a,
487  heartbeat = 0xf21e,
488  history = 0xf1da,
489  home = 0xf015,
490  hospitalo = 0xf0f8,
491  hotel = 0xf236,
492  hourglass = 0xf254,
493  hourglass1 = 0xf251,
494  hourglass2 = 0xf252,
495  hourglass3 = 0xf253,
496  hourglassend = 0xf253,
497  hourglasshalf = 0xf252,
498  hourglasso = 0xf250,
499  hourglassstart = 0xf251,
500  houzz = 0xf27c,
501  html5 = 0xf13b,
502  icursor = 0xf246,
503  idbadge = 0xf2c1,
504  idcard = 0xf2c2,
505  idcardo = 0xf2c3,
506  ils = 0xf20b,
507  image = 0xf03e,
508  imdb = 0xf2d8,
509  inbox = 0xf01c,
510  indent = 0xf03c,
511  industry = 0xf275,
512  info = 0xf129,
513  infocircle = 0xf05a,
514  inr = 0xf156,
515  instagram = 0xf16d,
516  institution = 0xf19c,
518  intersex = 0xf224,
519  ioxhost = 0xf208,
520  italic = 0xf033,
521  joomla = 0xf1aa,
522  jpy = 0xf157,
523  jsfiddle = 0xf1cc,
524  key = 0xf084,
525  keyboardo = 0xf11c,
526  krw = 0xf159,
527  language = 0xf1ab,
528  laptop = 0xf109,
529  lastfm = 0xf202,
530  lastfmsquare = 0xf203,
531  leaf = 0xf06c,
532  leanpub = 0xf212,
533  legal = 0xf0e3,
534  lemono = 0xf094,
535  leveldown = 0xf149,
536  levelup = 0xf148,
537  lifebouy = 0xf1cd,
538  lifebuoy = 0xf1cd,
539  lifering = 0xf1cd,
540  lifesaver = 0xf1cd,
541  lightbulbo = 0xf0eb,
542  linechart = 0xf201,
543  link = 0xf0c1,
544  linkedin = 0xf0e1,
545  linkedinsquare = 0xf08c,
546  linode = 0xf2b8,
547  fa_linux = 0xf17c,
548  list = 0xf03a,
549  listalt = 0xf022,
550  listol = 0xf0cb,
551  listul = 0xf0ca,
552  locationarrow = 0xf124,
553  lock = 0xf023,
554  longarrowdown = 0xf175,
555  longarrowleft = 0xf177,
556  longarrowright = 0xf178,
557  longarrowup = 0xf176,
558  lowvision = 0xf2a8,
559  magic = 0xf0d0,
560  magnet = 0xf076,
561  mailforward = 0xf064,
562  mailreply = 0xf112,
563  mailreplyall = 0xf122,
564  male = 0xf183,
565  map = 0xf279,
566  mapmarker = 0xf041,
567  mapo = 0xf278,
568  mappin = 0xf276,
569  mapsigns = 0xf277,
570  mars = 0xf222,
571  marsdouble = 0xf227,
572  marsstroke = 0xf229,
573  marsstrokeh = 0xf22b,
574  marsstrokev = 0xf22a,
575  maxcdn = 0xf136,
576  meanpath = 0xf20c,
577  medium = 0xf23a,
578  medkit = 0xf0fa,
579  meetup = 0xf2e0,
580  meho = 0xf11a,
581  mercury = 0xf223,
582  microchip = 0xf2db,
583  microphone = 0xf130,
584  microphoneslash = 0xf131,
585  minus = 0xf068,
586  minuscircle = 0xf056,
587  minussquare = 0xf146,
588  minussquareo = 0xf147,
589  mixcloud = 0xf289,
590  mobile = 0xf10b,
591  mobilephone = 0xf10b,
592  modx = 0xf285,
593  money = 0xf0d6,
594  moono = 0xf186,
595  mortarboard = 0xf19d,
596  motorcycle = 0xf21c,
597  mousepointer = 0xf245,
598  music = 0xf001,
599  navicon = 0xf0c9,
600  neuter = 0xf22c,
601  newspapero = 0xf1ea,
602  objectgroup = 0xf247,
603  objectungroup = 0xf248,
604  odnoklassniki = 0xf263,
606  opencart = 0xf23d,
607  openid = 0xf19b,
608  opera = 0xf26a,
609  optinmonster = 0xf23c,
610  outdent = 0xf03b,
611  pagelines = 0xf18c,
612  paintbrush = 0xf1fc,
613  paperplane = 0xf1d8,
614  paperplaneo = 0xf1d9,
615  paperclip = 0xf0c6,
616  paragraph = 0xf1dd,
617  paste = 0xf0ea,
618  pause = 0xf04c,
619  pausecircle = 0xf28b,
620  pausecircleo = 0xf28c,
621  paw = 0xf1b0,
622  paypal = 0xf1ed,
623  pencil = 0xf040,
624  pencilsquare = 0xf14b,
625  pencilsquareo = 0xf044,
626  percent = 0xf295,
627  phone = 0xf095,
628  phonesquare = 0xf098,
629  photo = 0xf03e,
630  pictureo = 0xf03e,
631  piechart = 0xf200,
632  piedpiper = 0xf2ae,
633  piedpiperalt = 0xf1a8,
634  piedpiperpp = 0xf1a7,
635  pinterest = 0xf0d2,
636  pinterestp = 0xf231,
637  pinterestsquare = 0xf0d3,
638  plane = 0xf072,
639  play = 0xf04b,
640  playcircle = 0xf144,
641  playcircleo = 0xf01d,
642  plug = 0xf1e6,
643  plus = 0xf067,
644  pluscircle = 0xf055,
645  plussquare = 0xf0fe,
646  plussquareo = 0xf196,
647  podcast = 0xf2ce,
648  poweroff = 0xf011,
649  print = 0xf02f,
650  producthunt = 0xf288,
651  puzzlepiece = 0xf12e,
652  qq = 0xf1d6,
653  qrcode = 0xf029,
654  question = 0xf128,
655  questioncircle = 0xf059,
656  questioncircleo = 0xf29c,
657  quora = 0xf2c4,
658  quoteleft = 0xf10d,
659  quoteright = 0xf10e,
660  ra = 0xf1d0,
661  random = 0xf074,
662  ravelry = 0xf2d9,
663  rebel = 0xf1d0,
664  recycle = 0xf1b8,
665  reddit = 0xf1a1,
666  redditalien = 0xf281,
667  redditsquare = 0xf1a2,
668  refresh = 0xf021,
669  registered = 0xf25d,
670  remove = 0xf00d,
671  renren = 0xf18b,
672  reorder = 0xf0c9,
673  repeat = 0xf01e,
674  reply = 0xf112,
675  replyall = 0xf122,
676  resistance = 0xf1d0,
677  retweet = 0xf079,
678  rmb = 0xf157,
679  road = 0xf018,
680  rocket = 0xf135,
681  rotateleft = 0xf0e2,
682  rotateright = 0xf01e,
683  rouble = 0xf158,
684  rss = 0xf09e,
685  rsssquare = 0xf143,
686  rub = 0xf158,
687  ruble = 0xf158,
688  rupee = 0xf156,
689  s15 = 0xf2cd,
690  safari = 0xf267,
691  save = 0xf0c7,
692  scissors = 0xf0c4,
693  scribd = 0xf28a,
694  search = 0xf002,
695  searchminus = 0xf010,
696  searchplus = 0xf00e,
697  sellsy = 0xf213,
698  send = 0xf1d8,
699  sendo = 0xf1d9,
700  server = 0xf233,
701  share = 0xf064,
702  sharealt = 0xf1e0,
703  sharealtsquare = 0xf1e1,
704  sharesquare = 0xf14d,
705  sharesquareo = 0xf045,
706  shekel = 0xf20b,
707  sheqel = 0xf20b,
708  shield = 0xf132,
709  ship = 0xf21a,
710  shirtsinbulk = 0xf214,
711  shoppingbag = 0xf290,
712  shoppingbasket = 0xf291,
713  shoppingcart = 0xf07a,
714  shower = 0xf2cc,
715  signin = 0xf090,
716  signlanguage = 0xf2a7,
717  signout = 0xf08b,
718  signal = 0xf012,
719  signing = 0xf2a7,
720  simplybuilt = 0xf215,
721  sitemap = 0xf0e8,
722  skyatlas = 0xf216,
723  skype = 0xf17e,
724  slack = 0xf198,
725  sliders = 0xf1de,
726  slideshare = 0xf1e7,
727  smileo = 0xf118,
728  snapchat = 0xf2ab,
729  snapchatghost = 0xf2ac,
730  snapchatsquare = 0xf2ad,
731  snowflakeo = 0xf2dc,
732  soccerballo = 0xf1e3,
733  sort = 0xf0dc,
734  sortalphaasc = 0xf15d,
735  sortalphadesc = 0xf15e,
736  sortamountasc = 0xf160,
737  sortamountdesc = 0xf161,
738  sortasc = 0xf0de,
739  sortdesc = 0xf0dd,
740  sortdown = 0xf0dd,
741  sortnumericasc = 0xf162,
742  sortnumericdesc = 0xf163,
743  sortup = 0xf0de,
744  soundcloud = 0xf1be,
745  spaceshuttle = 0xf197,
746  spinner = 0xf110,
747  spoon = 0xf1b1,
748  spotify = 0xf1bc,
749  square = 0xf0c8,
750  squareo = 0xf096,
751  stackexchange = 0xf18d,
752  stackoverflow = 0xf16c,
753  star = 0xf005,
754  starhalf = 0xf089,
755  starhalfempty = 0xf123,
756  starhalffull = 0xf123,
757  starhalfo = 0xf123,
758  staro = 0xf006,
759  steam = 0xf1b6,
760  steamsquare = 0xf1b7,
761  stepbackward = 0xf048,
762  stepforward = 0xf051,
763  stethoscope = 0xf0f1,
764  stickynote = 0xf249,
765  stickynoteo = 0xf24a,
766  stop = 0xf04d,
767  stopcircle = 0xf28d,
768  stopcircleo = 0xf28e,
769  streetview = 0xf21d,
770  strikethrough = 0xf0cc,
771  stumbleupon = 0xf1a4,
773  subscript = 0xf12c,
774  subway = 0xf239,
775  suitcase = 0xf0f2,
776  suno = 0xf185,
777  superpowers = 0xf2dd,
778  superscript = 0xf12b,
779  support = 0xf1cd,
780  table = 0xf0ce,
781  tablet = 0xf10a,
782  tachometer = 0xf0e4,
783  tag = 0xf02b,
784  tags = 0xf02c,
785  tasks = 0xf0ae,
786  taxi = 0xf1ba,
787  telegram = 0xf2c6,
788  television = 0xf26c,
789  tencentweibo = 0xf1d5,
790  terminal = 0xf120,
791  textheight = 0xf034,
792  textwidth = 0xf035,
793  th = 0xf00a,
794  thlarge = 0xf009,
795  thlist = 0xf00b,
796  themeisle = 0xf2b2,
797  thermometer = 0xf2c7,
798  thermometer0 = 0xf2cb,
799  thermometer1 = 0xf2ca,
800  thermometer2 = 0xf2c9,
801  thermometer3 = 0xf2c8,
802  thermometer4 = 0xf2c7,
804  thermometerfull = 0xf2c7,
805  thermometerhalf = 0xf2c9,
808  thumbtack = 0xf08d,
809  thumbsdown = 0xf165,
810  thumbsodown = 0xf088,
811  thumbsoup = 0xf087,
812  thumbsup = 0xf164,
813  ticket = 0xf145,
814  times = 0xf00d,
815  timescircle = 0xf057,
816  timescircleo = 0xf05c,
817  timesrectangle = 0xf2d3,
818  timesrectangleo = 0xf2d4,
819  tint = 0xf043,
820  toggledown = 0xf150,
821  toggleleft = 0xf191,
822  toggleoff = 0xf204,
823  toggleon = 0xf205,
824  toggleright = 0xf152,
825  toggleup = 0xf151,
826  trademark = 0xf25c,
827  train = 0xf238,
828  transgender = 0xf224,
829  transgenderalt = 0xf225,
830  trash = 0xf1f8,
831  trasho = 0xf014,
832  tree = 0xf1bb,
833  trello = 0xf181,
834  tripadvisor = 0xf262,
835  trophy = 0xf091,
836  truck = 0xf0d1,
837  fa_try = 0xf195,
838  tty = 0xf1e4,
839  tumblr = 0xf173,
840  tumblrsquare = 0xf174,
841  turkishlira = 0xf195,
842  tv = 0xf26c,
843  twitch = 0xf1e8,
844  twitter = 0xf099,
845  twittersquare = 0xf081,
846  umbrella = 0xf0e9,
847  underline = 0xf0cd,
848  undo = 0xf0e2,
849  universalaccess = 0xf29a,
850  university = 0xf19c,
851  unlink = 0xf127,
852  unlock = 0xf09c,
853  unlockalt = 0xf13e,
854  unsorted = 0xf0dc,
855  upload = 0xf093,
856  usb = 0xf287,
857  usd = 0xf155,
858  user = 0xf007,
859  usercircle = 0xf2bd,
860  usercircleo = 0xf2be,
861  usermd = 0xf0f0,
862  usero = 0xf2c0,
863  userplus = 0xf234,
864  usersecret = 0xf21b,
865  usertimes = 0xf235,
866  users = 0xf0c0,
867  vcard = 0xf2bb,
868  vcardo = 0xf2bc,
869  venus = 0xf221,
870  venusdouble = 0xf226,
871  venusmars = 0xf228,
872  viacoin = 0xf237,
873  viadeo = 0xf2a9,
874  viadeosquare = 0xf2aa,
875  videocamera = 0xf03d,
876  vimeo = 0xf27d,
877  vimeosquare = 0xf194,
878  vine = 0xf1ca,
879  vk = 0xf189,
881  volumedown = 0xf027,
882  volumeoff = 0xf026,
883  volumeup = 0xf028,
884  warning = 0xf071,
885  wechat = 0xf1d7,
886  weibo = 0xf18a,
887  weixin = 0xf1d7,
888  whatsapp = 0xf232,
889  wheelchair = 0xf193,
890  wheelchairalt = 0xf29b,
891  wifi = 0xf1eb,
892  wikipediaw = 0xf266,
893  windowclose = 0xf2d3,
894  windowcloseo = 0xf2d4,
895  windowmaximize = 0xf2d0,
896  windowminimize = 0xf2d1,
897  windowrestore = 0xf2d2,
898  windows = 0xf17a,
899  won = 0xf159,
900  wordpress = 0xf19a,
901  wpbeginner = 0xf297,
902  wpexplorer = 0xf2de,
903  wpforms = 0xf298,
904  wrench = 0xf0ad,
905  xing = 0xf168,
906  xingsquare = 0xf169,
907  ycombinator = 0xf23b,
909  yahoo = 0xf19e,
910  yc = 0xf23b,
911  ycsquare = 0xf1d4,
912  yelp = 0xf1e9,
913  yen = 0xf157,
914  yoast = 0xf2b1,
915  youtube = 0xf167,
916  youtubeplay = 0xf16a,
917  youtubesquare = 0xf166
918 };
919 }
920 
921 
922 #endif // QTAWESOME_H
Definition: QtAwesome.h:206
Definition: QtAwesome.h:581
Definition: QtAwesome.h:379
Definition: QtAwesome.h:255
Definition: QtAwesome.h:890
Definition: QtAwesome.h:671
Definition: QtAwesome.h:471
Definition: QtAwesome.h:384
Definition: QtAwesome.h:176
Definition: QtAwesome.h:277
Definition: QtAwesome.h:643
Definition: QtAwesome.h:790
Definition: QtAwesome.h:515
Definition: QtAwesome.h:819
Definition: QtAwesome.h:634
Definition: QtAwesome.h:458
Definition: QtAwesome.h:470
Definition: QtAwesome.h:219
Definition: QtAwesome.h:372
Definition: QtAwesome.h:315
Definition: QtAwesome.h:727
Definition: QtAwesome.h:639
Definition: QtAwesome.h:498
Definition: QtAwesome.h:481
QtAwesome(QObject *parent=nullptr)
The default icon colors.
Definition: QtAwesome.cpp:132
Definition: QtAwesome.h:915
Definition: QtAwesome.h:307
Definition: QtAwesome.h:228
Definition: QtAwesome.h:624
Definition: QtAwesome.h:450
Definition: QtAwesome.h:445
Definition: QtAwesome.h:407
Definition: QtAwesome.h:254
Definition: QtAwesome.h:160
Definition: QtAwesome.h:543
Definition: QtAwesome.h:368
Definition: QtAwesome.h:882
Definition: QtAwesome.h:691
Definition: QtAwesome.h:408
Definition: QtAwesome.h:831
Definition: QtAwesome.h:683
Definition: QtAwesome.h:213
Definition: QtAwesome.h:303
Definition: QtAwesome.h:447
Definition: QtAwesome.h:542
Definition: QtAwesome.h:454
Definition: QtAwesome.h:316
Definition: QtAwesome.h:533
Definition: QtAwesome.h:781
Definition: QtAwesome.h:434
Definition: QtAwesome.h:830
Definition: QtAwesome.h:392
Definition: QtAwesome.h:204
Definition: QtAwesome.h:709
Definition: QtAwesome.h:266
Definition: QtAwesome.h:713
Definition: QtAwesome.h:565
Definition: QtAwesome.h:530
Definition: QtAwesome.h:644
Definition: QtAwesome.h:321
Definition: QtAwesome.h:783
Definition: QtAwesome.h:609
Definition: QtAwesome.h:885
Definition: QtAwesome.h:132
Definition: QtAwesome.h:916
Definition: QtAwesome.h:196
Definition: QtAwesome.h:635
Definition: QtAwesome.h:360
Definition: QtAwesome.h:489
Definition: QtAwesome.h:619
Definition: QtAwesome.h:732
Definition: QtAwesome.h:298
Definition: QtAwesome.h:788
Definition: QtAwesome.h:474
Definition: QtAwesome.h:627
Definition: QtAwesome.h:472
Definition: QtAwesome.h:435
bool initFontAwesome()
Definition: QtAwesome.cpp:948
Definition: QtAwesome.h:637
QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override
Definition: QtAwesome.cpp:119
Definition: QtAwesome.h:567
Definition: QtAwesome.h:246
Definition: QtAwesome.h:675
Definition: QtAwesome.h:210
Definition: QtAwesome.h:667
Definition: QtAwesome.h:717
Definition: QtAwesome.h:681
The font-awesome icon painter.
Definition: QtAwesome.h:79
Definition: QtAwesome.h:813
Definition: QtAwesome.h:557
Definition: QtAwesome.h:883
Definition: QtAwesome.h:529
Definition: QtAwesome.h:779
Definition: QtAwesome.h:869
Definition: QtAwesome.h:323
Definition: QtAwesome.h:224
Definition: QtAwesome.h:207
Definition: QtAwesome.h:636
Definition: QtAwesome.h:341
Definition: QtAwesome.h:149
Definition: QtAwesome.h:642
Definition: QtAwesome.h:517
Definition: QtAwesome.h:549
Definition: QtAwesome.h:907
Definition: QtAwesome.h:198
Definition: QtAwesome.h:602
Definition: QtAwesome.h:585
Definition: QtAwesome.h:711
Definition: QtAwesome.h:427
Definition: QtAwesome.h:460
Definition: QtAwesome.h:807
Definition: QtAwesome.h:701
~QtAwesomeIconPainterIconEngine() override
Definition: QtAwesome.cpp:107
Definition: QtAwesome.h:535
Definition: QtAwesome.h:680
Definition: QtAwesome.h:415
Definition: QtAwesome.h:173
Definition: QtAwesome.h:283
Definition: QtAwesome.h:703
Definition: QtAwesome.h:358
Definition: QtAwesome.h:297
Definition: QtAwesome.h:342
Definition: QtAwesome.h:738
Definition: QtAwesome.h:554
void init(const QString &fontname)
initializes the QtAwesome icon factory with the given fontname
Definition: QtAwesome.cpp:151
Definition: QtAwesome.h:808
Definition: QtAwesome.h:705
Definition: QtAwesome.h:232
Definition: QtAwesome.h:300
Definition: QtAwesome.h:202
Definition: QtAwesome.h:488
Definition: QtAwesome.h:765
Definition: QtAwesome.h:908
Definition: QtAwesome.h:877
Definition: QtAwesome.h:862
Definition: QtAwesome.h:278
Definition: QtAwesome.h:795
Definition: QtAwesome.h:312
Definition: QtAwesome.h:688
Definition: QtAwesome.h:504
Definition: QtAwesome.h:594
Definition: QtAwesome.h:785
Definition: QtAwesome.h:222
Definition: QtAwesome.h:242
Definition: QtAwesome.h:349
Definition: QtAwesome.h:240
Definition: QtAwesome.h:387
Definition: QtAwesome.h:439
Definition: QtAwesome.h:402
Definition: QtAwesome.h:348
Definition: QtAwesome.h:383
Definition: QtAwesome.h:346
Definition: QtAwesome.h:332
Definition: QtAwesome.h:261
Definition: QtAwesome.h:260
Definition: QtAwesome.h:263
Definition: QtAwesome.h:318
Definition: QtAwesome.h:696
Definition: QtAwesome.h:376
Definition: QtAwesome.h:607
Definition: QtAwesome.h:174
Definition: QtAwesome.h:822
Definition: QtAwesome.h:218
Definition: QtAwesome.h:193
Definition: QtAwesome.h:867
Definition: QtAwesome.h:739
Definition: QtAwesome.h:811
Definition: QtAwesome.h:640
Definition: QtAwesome.h:736
Definition: QtAwesome.h:720
Definition: QtAwesome.h:863
Definition: QtAwesome.h:678
Definition: QtAwesome.h:391
Definition: QtAwesome.h:569
Definition: QtAwesome.h:859
Definition: QtAwesome.h:477
Definition: QtAwesome.h:760
Definition: QtAwesome.h:225
Definition: QtAwesome.h:786
Definition: QtAwesome.h:167
Definition: QtAwesome.h:770
Definition: QtAwesome.h:433
Definition: QtAwesome.h:180
Definition: QtAwesome.h:451
Definition: QtAwesome.h:676
Definition: QtAwesome.h:339
Definition: QtAwesome.h:775
Definition: QtAwesome.h:829
Definition: QtAwesome.h:548
Definition: QtAwesome.h:777
Definition: QtAwesome.h:359
Definition: QtAwesome.h:347
Definition: QtAwesome.h:483
Definition: QtAwesome.h:371
Definition: QtAwesome.h:464
Definition: QtAwesome.h:409
Definition: QtAwesome.h:780
Definition: QtAwesome.h:163
Definition: QtAwesome.h:436
Definition: QtAwesome.h:185
Definition: QtAwesome.h:166
Definition: QtAwesome.h:500
Definition: QtAwesome.h:478
Definition: QtAwesome.h:182
Definition: QtAwesome.h:590
Definition: QtAwesome.h:848
Definition: QtAwesome.h:547
Definition: QtAwesome.h:604
Definition: QtAwesome.h:560
Definition: QtAwesome.h:651
Definition: QtAwesome.h:385
Definition: QtAwesome.h:386
Definition: QtAwesome.h:704
Definition: QtAwesome.h:514
Definition: QtAwesome.h:494
Definition: QtAwesome.h:909
Definition: QtAwesome.h:281
Definition: QtAwesome.h:595
Definition: QtAwesome.h:876
Definition: QtAwesome.h:513
Definition: QtAwesome.h:894
Definition: QtAwesome.h:313
Definition: QtAwesome.h:721
QtAwesomeIconPainter * fontIconPainter_
A special painter fo painting codepoints.
Definition: QtAwesome.h:61
Definition: QtAwesome.h:715
Definition: QtAwesome.h:429
Definition: QtAwesome.h:558
Definition: QtAwesome.h:28
Definition: QtAwesome.h:462
Definition: QtAwesome.h:245
Definition: QtAwesome.h:724
Definition: QtAwesome.h:850
Definition: QtAwesome.h:365
Definition: QtAwesome.h:282
Definition: QtAwesome.h:403
Definition: QtAwesome.h:380
Definition: QtAwesome.h:199
Definition: QtAwesome.h:597
Definition: QtAwesome.h:148
Definition: QtAwesome.h:253
Definition: QtAwesome.h:825
Definition: QtAwesome.h:895
Definition: QtAwesome.h:664
Definition: QtAwesome.h:759
Definition: QtAwesome.h:328
Definition: QtAwesome.h:496
Definition: QtAwesome.h:753
Definition: QtAwesome.h:881
Definition: QtAwesome.h:511
Definition: QtAwesome.h:320
Definition: QtAwesome.h:856
Definition: QtAwesome.h:706
Definition: QtAwesome.h:603
Definition: QtAwesome.h:247
Definition: QtAwesome.h:295
Definition: QtAwesome.h:586
Definition: QtAwesome.h:906
QtAwesome * awesomeRef_
a reference to the QtAwesome instance
Definition: QtAwesome.h:116
Definition: QtAwesome.h:648
Definition: QtAwesome.h:430
virtual void paint(QtAwesome *awesome, QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state, const QVariantMap &options)
Definition: QtAwesome.cpp:67
Definition: QtAwesome.h:532
Definition: QtAwesome.h:175
Definition: QtAwesome.h:251
Definition: QtAwesome.h:762
Definition: QtAwesome.h:873
Definition: QtAwesome.h:353
Definition: QtAwesome.h:262
Definition: QtAwesome.h:897
Definition: QtAwesome.h:168
Definition: QtAwesome.h:344
Definition: QtAwesome.h:305
Definition: QtAwesome.h:469
Definition: QtAwesome.h:784
Definition: QtAwesome.h:864
Definition: QtAwesome.h:818
Definition: QtAwesome.h:169
Definition: QtAwesome.h:787
Definition: QtAwesome.h:723
Definition: QtAwesome.h:630
Definition: QtAwesome.h:804
Definition: QtAwesome.h:161
Definition: QtAwesome.h:414
Definition: QtAwesome.h:521
Definition: QtAwesome.h:817
Definition: QtAwesome.h:861
Definition: QtAwesome.h:545
Definition: QtAwesome.h:288
Definition: QtAwesome.h:742
QVariantMap defaultOptions_
The default icon options.
Definition: QtAwesome.h:60
Definition: QtAwesome.h:490
Definition: QtAwesome.h:273
Definition: QtAwesome.h:573
Definition: QtAwesome.h:509
Definition: QtAwesome.h:902
Definition: QtAwesome.h:726
Definition: QtAwesome.h:599
Definition: QtAwesome.h:184
Definition: QtAwesome.h:480
Definition: QtAwesome.h:672
Definition: QtAwesome.h:771
Definition: QtAwesome.h:284
Definition: QtAwesome.h:834
Definition: QtAwesome.h:296
Definition: QtAwesome.h:910
Definition: QtAwesome.h:485
Definition: QtAwesome.h:467
Definition: QtAwesome.h:774
Definition: QtAwesome.h:835
Definition: QtAwesome.h:388
Definition: QtAwesome.h:484
Definition: QtAwesome.h:172
Definition: QtAwesome.h:345
Definition: QtAwesome.h:309
Definition: QtAwesome.h:227
Definition: QtAwesome.h:871
Definition: QtAwesome.h:333
Definition: QtAwesome.h:677
Definition: QtAwesome.h:370
The painter icon engine.
Definition: QtAwesome.h:92
Definition: QtAwesome.h:378
Definition: QtAwesome.h:374
Definition: QtAwesome.h:860
Definition: QtAwesome.h:606
Definition: QtAwesome.h:694
Definition: QtAwesome.h:632
Definition: QtAwesome.h:719
Definition: QtAwesome.h:868
Definition: QtAwesome.h:589
Definition: QtAwesome.h:757
Definition: QtAwesome.h:700
Definition: QtAwesome.h:574
Definition: QtAwesome.h:486
Definition: QtAwesome.h:338
QtAwesomeIconPainterIconEngine * clone() const override
Definition: QtAwesome.cpp:109
Definition: QtAwesome.h:487
Definition: QtAwesome.h:516
Definition: QtAwesome.h:417
Definition: QtAwesome.h:653
virtual void paint(QtAwesome *awesome, QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state, const QVariantMap &options)=0
Definition: QtAwesome.h:768
Definition: QtAwesome.h:301
Definition: QtAwesome.h:497
Definition: QtAwesome.h:239
Definition: QtAwesome.h:540
Definition: QtAwesome.h:792
Definition: QtAwesome.h:798
Definition: QtAwesome.h:851
Definition: QtAwesome.h:840
Definition: QtAwesome.h:413
Definition: QtAwesome.h:150
Definition: QtAwesome.h:824
Definition: QtAwesome.h:566
QHash< QString, QtAwesomeIconPainter *> painterMap_
A map of custom painters.
Definition: QtAwesome.h:59
Definition: QtAwesome.h:661
Definition: QtAwesome.h:401
Definition: QtAwesome.h:769
Definition: QtAwesome.h:657
Definition: QtAwesome.h:544
Definition: QtAwesome.h:267
Definition: QtAwesome.h:400
Definition: QtAwesomeAnim.h:16
Definition: QtAwesome.h:134
Definition: QtAwesome.h:571
Definition: QtAwesome.h:209
Definition: QtAwesome.h:904
Definition: QtAwesome.h:226
Definition: QtAwesome.h:766
Definition: QtAwesome.h:899
Definition: QtAwesome.h:259
Definition: QtAwesome.h:329
Definition: QtAwesome.h:796
Definition: QtAwesome.h:519
Definition: QtAwesome.h:832
Definition: QtAwesome.h:591
Definition: QtAwesome.h:552
Definition: QtAwesome.h:330
Definition: QtAwesome.h:183
Definition: QtAwesome.h:541
Definition: QtAwesome.h:887
Definition: QtAwesome.h:205
Definition: QtAwesome.h:194
Definition: QtAwesome.h:536
Definition: QtAwesome.h:837
Definition: QtAwesome.h:847
Definition: QtAwesome.h:331
Definition: QtAwesome.h:698
Definition: QtAwesome.h:914
Definition: QtAwesome.h:561
Definition: QtAwesome.h:874
Definition: QtAwesome.h:628
Definition: QtAwesome.h:506
Definition: QtAwesome.h:235
Definition: QtAwesome.h:492
Definition: QtAwesome.h:366
Definition: QtAwesome.h:740
Definition: QtAwesome.h:304
Definition: QtAwesome.h:803
Definition: QtAwesome.h:302
Definition: QtAwesome.h:747
Definition: QtAwesome.h:858
Definition: QtAwesome.h:841
Definition: QtAwesome.h:623
Definition: QtAwesome.h:620
Definition: QtAwesome.h:70
Definition: QtAwesome.h:728
QtAwesomeIconPainterIconEngine(QtAwesome *awesome, QtAwesomeIconPainter *painter, const QVariantMap &options)
The painter icon engine.
Definition: QtAwesome.cpp:103
Definition: QtAwesome.h:518
Definition: QtAwesome.h:217
Definition: QtAwesome.h:272
Definition: QtAwesome.h:138
Definition: QtAwesome.h:692
Definition: QtAwesome.h:752
Definition: QtAwesome.h:537
Definition: QtAwesome.h:810
Definition: QtAwesome.h:654
Definition: QtAwesome.h:162
Definition: QtAwesome.h:152
Definition: QtAwesome.h:612
Definition: QtAwesome.h:468
Definition: QtAwesome.h:649
Definition: QtAwesome.h:652
Definition: QtAwesome.h:159
Definition: QtAwesome.h:153
Definition: QtAwesome.h:587
Definition: QtAwesome.h:789
Definition: QtAwesome.h:145
Definition: QtAwesome.h:367
Definition: QtAwesome.h:805
Definition: QtAwesome.h:615
Definition: QtAwesome.h:588
Definition: QtAwesome.h:646
Definition: QtAwesome.h:826
Definition: QtAwesome.h:279
Definition: QtAwesome.h:294
Definition: QtAwesome.h:364
Definition: QtAwesome.h:572
Definition: QtAwesome.h:208
Definition: QtAwesome.h:252
Definition: QtAwesome.h:432
Definition: QtAwesome.h:459
Definition: QtAwesome.h:674
Definition: QtAwesome.h:151
Definition: QtAwesome.h:761
Definition: QtAwesome.h:838
Definition: QtAwesome.h:457
Definition: QtAwesome.h:731
Definition: QtAwesome.h:722
Definition: QtAwesome.h:891
Definition: QtAwesome.h:524
Definition: QtAwesome.h:669
Definition: QtAwesome.h:324
Definition: QtAwesome.h:361
Definition: QtAwesome.h:833
Definition: QtAwesome.h:839
Definition: QtAwesome.h:404
Definition: QtAwesome.h:510
Definition: QtAwesome.h:189
Definition: QtAwesome.h:710
Definition: QtAwesome.h:539
Definition: QtAwesome.h:758
Definition: QtAwesome.h:350
Definition: QtAwesome.h:418
Definition: QtAwesome.h:421
Definition: QtAwesome.h:528
Definition: QtAwesome.h:237
Definition: QtAwesome.h:443
QtAwesome * iconFont
Definition: QtAwesome.cpp:17
Definition: QtAwesome.h:686
Definition: QtAwesome.h:448
Definition: QtAwesome.h:575
Definition: QtAwesome.h:745
Definition: QtAwesome.h:322
Definition: QtAwesome.h:289
Definition: QtAwesome.h:393
Definition: QtAwesome.h:893
Definition: QtAwesome.h:395
Definition: QtAwesome.h:564
Definition: QtAwesome.h:216
Definition: QtAwesome.h:601
Definition: QtAwesome.h:707
Definition: QtAwesome.h:725
Definition: QtAwesome.h:886
Definition: QtAwesome.h:154
Definition: QtAwesome.h:314
void give(const QString &name, QtAwesomeIconPainter *painter)
Definition: QtAwesome.cpp:1067
Definition: QtAwesome.h:913
Definition: QtAwesome.h:866
Definition: QtAwesome.h:264
Definition: QtAwesome.h:158
Definition: QtAwesome.h:605
Definition: QtAwesome.h:197
virtual ~QtAwesome()
Definition: QtAwesome.cpp:144
Definition: QtAwesome.h:420
Definition: QtAwesome.h:426
Definition: QtAwesome.h:699
Definition: QtAwesome.h:755
Definition: QtAwesome.h:397
Definition: QtAwesome.h:299
Definition: QtAwesome.h:449
Definition: QtAwesome.h:562
Definition: QtAwesome.h:741
Definition: QtAwesome.h:592
Definition: QtAwesome.h:258
Definition: QtAwesome.h:797
Definition: QtAwesome.h:135
Definition: QtAwesome.h:399
Definition: QtAwesome.h:146
Definition: QtAwesome.h:665
Definition: QtAwesome.h:693
icon
Definition: QtAwesome.h:131
Definition: QtAwesome.h:898
Definition: QtAwesome.h:257
Definition: QtAwesome.h:763
Definition: QtAwesome.h:660
Definition: QtAwesome.h:911
Definition: QtAwesome.h:229
Definition: QtAwesome.h:310
Definition: QtAwesome.h:579
Definition: QtAwesome.h:846
Definition: QtAwesome.h:212
Definition: QtAwesome.h:256
Definition: QtAwesome.h:327
Definition: QtAwesome.h:306
Definition: QtAwesome.h:130
Definition: QtAwesome.h:141
Definition: QtAwesome.h:268
QVariant defaultOption(const QString &name)
Returns the default option for the given name.
Definition: QtAwesome.cpp:990
Definition: QtAwesome.h:437
Definition: QtAwesome.h:687
Definition: QtAwesome.h:750
Definition: QtAwesome.h:522
Definition: QtAwesome.h:317
Definition: QtAwesome.h:695
Definition: QtAwesome.h:626
Definition: QtAwesome.h:423
Definition: QtAwesome.h:425
Definition: QtAwesome.h:793
Definition: QtAwesome.h:814
Definition: QtAwesome.h:855
Definition: QtAwesome.h:776
Definition: QtAwesome.h:475
Definition: QtAwesome.h:697
Definition: QtAwesome.h:220
Definition: QtAwesome.h:616
Definition: QtAwesome.h:501
Definition: QtAwesome.h:800
Definition: QtAwesome.h:844
Definition: QtAwesome.h:354
Definition: QtAwesome.h:875
Definition: QtAwesome.h:751
Definition: QtAwesome.h:505
Definition: QtAwesome.h:136
Definition: QtAwesome.h:629
Definition: QtAwesome.h:362
Definition: QtAwesome.h:843
Definition: QtAwesome.h:685
Definition: QtAwesome.h:610
Definition: QtAwesome.h:343
Definition: QtAwesome.h:821
Definition: QtAwesome.h:854
Definition: QtAwesome.h:186
Definition: QtAwesome.h:461
Definition: QtAwesome.h:455
Definition: QtAwesome.h:618
Definition: QtAwesome.h:712
Definition: QtAwesome.h:139
Definition: QtAwesome.h:577
Definition: QtAwesome.h:495
Definition: QtAwesome.h:903
Definition: QtAwesome.h:884
Definition: QtAwesome.h:416
Definition: QtAwesome.h:290
Definition: QtAwesome.h:593
Definition: QtAwesome.h:195
Definition: QtAwesome.h:580
Definition: QtAwesome.h:794
Definition: QtAwesome.h:888
Definition: QtAwesome.h:556
Definition: QtAwesome.h:743
QVariantMap options_
the options for this icon painter
Definition: QtAwesome.h:118
Definition: QtAwesome.h:880
Definition: QtAwesome.h:223
Definition: QtAwesome.h:190
QHash< QString, int > namedCodepoints_
A map with names mapped to code-points.
Definition: QtAwesome.h:57
Definition: QtAwesome.h:453
Definition: QtAwesome.h:285
Definition: QtAwesome.h:845
Definition: QtAwesome.h:442
Definition: QtAwesome.h:275
Definition: QtAwesome.h:243
Definition: QtAwesome.h:456
Definition: QtAwesome.h:473
Definition: QtAwesome.h:896
Definition: QtAwesome.h:650
Definition: QtAwesome.h:708
Definition: QtAwesome.h:438
Definition: QtAwesome.h:140
virtual ~QtAwesomeIconPainter()
Definition: QtAwesome.cpp:19
Definition: QtAwesome.h:823
Definition: QtAwesome.h:203
Definition: QtAwesome.h:647
Definition: QtAwesome.h:772
Definition: QtAwesome.h:584
Definition: QtAwesome.h:479
Definition: QtAwesome.h:440
Definition: QtAwesome.h:828
Definition: QtAwesome.h:410
Definition: QtAwesome.h:801
Definition: QtAwesome.h:802
Definition: QtAwesome.h:749
Definition: QtAwesome.h:718
Definition: QtAwesome.h:690
Definition: QtAwesome.h:405
Definition: QtAwesome.h:546
Definition: QtAwesome.h:744
void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) override
Definition: QtAwesome.cpp:113
Definition: QtAwesome.h:820
Definition: QtAwesome.h:201
Definition: QtAwesome.h:428
Definition: QtAwesome.h:598
Definition: QtAwesome.h:164
Definition: QtAwesome.h:684
Definition: QtAwesome.h:274
Definition: QtAwesome.h:889
Definition: QtAwesome.h:144
Definition: QtAwesome.h:737
Definition: QtAwesome.h:463
Definition: QtAwesome.h:508
Definition: QtAwesome.h:617
Definition: QtAwesome.h:613
Definition: QtAwesome.h:156
Definition: QtAwesome.h:583
Definition: QtAwesome.h:816
Definition: QtAwesome.h:311
Definition: QtAwesome.h:764
Definition: QtAwesome.h:381
Definition: QtAwesome.h:656
Definition: QtAwesome.h:181
Definition: QtAwesome.h:170
Definition: QtAwesome.h:502
Definition: QtAwesome.h:870
Definition: QtAwesome.h:191
Definition: QtAwesome.h:659
Definition: QtAwesome.h:578
Definition: QtAwesome.h:179
Definition: QtAwesome.h:326
Definition: QtAwesome.h:233
Definition: QtAwesome.h:276
QVariant optionValueForModeAndState(const QString &baseKey, QIcon::Mode mode, QIcon::State state, const QVariantMap &options)
Definition: QtAwesome.cpp:57
Definition: QtAwesome.h:291
Definition: QtAwesome.h:872
Definition: QtAwesome.h:142
QString fontName()
Returns the font-name that is used as icon-map.
Definition: QtAwesome.h:53
Definition: QtAwesome.h:917
Definition: QtAwesome.h:645
Definition: QtAwesome.h:389
Definition: QtAwesome.h:778
Definition: QtAwesome.h:221
Definition: QtAwesome.h:878
Definition: QtAwesome.h:849
Definition: QtAwesome.h:689
Definition: QtAwesome.h:748
Definition: QtAwesome.h:799
Definition: QtAwesome.h:476
Definition: QtAwesome.h:638
void setDefaultOption(const QString &name, const QVariant &value)
Sets a default option. These options are passed on to the icon painters.
Definition: QtAwesome.cpp:987
Definition: QtAwesome.h:673
Definition: QtAwesome.h:633
Definition: QtAwesome.h:244
Definition: QtAwesome.h:582
Definition: QtAwesome.h:553
Definition: QtAwesome.h:356
Definition: QtAwesome.h:733
Definition: QtAwesome.h:879
Definition: QtAwesome.h:767
Definition: QtAwesome.h:446
Definition: QtAwesome.h:892
Definition: QtAwesome.h:177
Definition: QtAwesome.h:412
Definition: QtAwesome.h:507
Definition: QtAwesome.h:596
Definition: QtAwesome.h:730
Definition: QtAwesome.h:499
Definition: QtAwesome.h:550
Definition: QtAwesome.h:666
Definition: QtAwesome.h:809
Definition: QtAwesome.h:444
Definition: QtAwesome.h:842
Definition: QtAwesome.h:396
Definition: QtAwesome.h:827
Definition: QtAwesome.h:249
Definition: QtAwesome.h:431
Definition: QtAwesome.h:157
Definition: QtAwesome.h:200
Definition: QtAwesome.h:836
Definition: QtAwesome.h:491
Definition: QtAwesome.h:791
Definition: QtAwesome.h:363
Definition: QtAwesome.h:527
Definition: QtAwesome.h:340
Definition: QtAwesome.h:351
Definition: QtAwesome.h:357
Definition: QtAwesome.h:165
Definition: QtAwesome.h:293
Definition: QtAwesome.h:901
Definition: QtAwesome.h:503
Definition: QtAwesome.h:865
Definition: QtAwesome.h:852
Definition: QtAwesome.h:534
Definition: QtAwesome.h:211
Definition: QtAwesome.h:658
Definition: QtAwesome.h:853
Definition: QtAwesome.h:231
Definition: QtAwesome.h:411
Definition: QtAwesome.h:682
Definition: QtAwesome.h:236
Definition: QtAwesome.h:465
Definition: QtAwesome.h:905
Definition: QtAwesome.h:280
Definition: QtAwesome.h:568
Definition: QtAwesome.h:555
Definition: QtAwesome.h:714
Definition: QtAwesome.h:292
Definition: QtAwesome.h:559
Definition: QtAwesome.h:912
Definition: QtAwesome.h:716
Definition: QtAwesome.h:625
Definition: QtAwesome.h:512
Definition: QtAwesome.h:631
Definition: QtAwesome.h:270
Definition: QtAwesome.h:525
Definition: QtAwesome.h:308
Definition: QtAwesome.h:143
Definition: QtAwesome.h:812
Definition: QtAwesome.h:641
Definition: QtAwesome.h:171
Definition: QtAwesome.h:655
void addNamedCodepoint(const QString &name, int codePoint)
Definition: QtAwesome.cpp:984
Definition: QtAwesome.h:782
QStringList optionKeysForModeAndState(const QString &key, QIcon::Mode mode, QIcon::State state)
Definition: QtAwesome.cpp:21
Definition: QtAwesome.h:523
Definition: QtAwesome.h:734
Definition: QtAwesome.h:369
Definition: QtAwesome.h:611
Definition: QtAwesome.h:576
Definition: QtAwesome.h:815
Definition: QtAwesome.h:155
Definition: QtAwesome.h:147
Definition: QtAwesome.h:422
Definition: QtAwesome.h:188
Definition: QtAwesome.h:334
Definition: QtAwesome.h:336
Definition: QtAwesome.h:662
Definition: QtAwesome.h:756
Definition: QtAwesome.h:250
Definition: QtAwesome.h:806
QtAwesomeIconPainter * iconPainterRef_
a reference to the icon painter
Definition: QtAwesome.h:117
Definition: QtAwesome.h:668
Definition: QtAwesome.h:419
Definition: QtAwesome.h:735
Definition: QtAwesome.h:702
Definition: QtAwesome.h:900
Definition: QtAwesome.h:452
Definition: QtAwesome.h:441
Definition: QtAwesome.h:622
Definition: QtAwesome.h:493
Definition: QtAwesome.h:241
Definition: QtAwesome.h:230
Definition: QtAwesome.h:265
Definition: QtAwesome.h:482
Definition: QtAwesome.h:287
Definition: QtAwesome.h:406
Definition: QtAwesome.h:352
Definition: QtAwesome.h:238
Definition: QtAwesome.h:382
Definition: QtAwesome.h:520
Definition: QtAwesome.h:214
Definition: QtAwesome.h:614
Definition: QtAwesome.h:234
Definition: QtAwesome.h:319
Definition: QtAwesome.h:663
Definition: QtAwesome.h:373
Definition: QtAwesome.h:355
Definition: QtAwesome.h:390
Definition: QtAwesome.h:248
Definition: QtAwesome.h:551
QIcon icon(int character, const QVariantMap &options=QVariantMap())
Definition: QtAwesome.cpp:1009
QString fontName_
The font name used for this map.
Definition: QtAwesome.h:56
Definition: QtAwesome.h:269
QHash< QString, int > namedCodePoints()
Definition: QtAwesome.h:39
Definition: QtAwesome.h:531
Definition: QtAwesome.h:526
Definition: QtAwesome.h:271
Definition: QtAwesome.h:394
Definition: QtAwesome.h:679
Definition: QtAwesome.h:398
QList< QSize > availableSizes(QIcon::Mode mode, QIcon::State state) const override
Definition: QtAwesome.h:106
Definition: QtAwesome.h:424
Definition: QtAwesome.h:857
Definition: QtAwesome.h:729
Definition: QtAwesome.h:187
Definition: QtAwesome.h:337
Definition: QtAwesome.h:335
Definition: QtAwesome.h:608
Definition: QtAwesome.h:178
Definition: QtAwesome.h:746
Definition: QtAwesome.h:621
Definition: QtAwesome.h:563
Definition: QtAwesome.h:377
Definition: QtAwesome.h:570
Definition: QtAwesome.h:215
Definition: QtAwesome.h:192
Definition: QtAwesome.h:600
Definition: QtAwesome.h:286
QFont font(int size)
Definition: QtAwesome.cpp:1077
Definition: QtAwesome.h:133
Definition: QtAwesome.h:538
Definition: QtAwesome.h:325
Definition: QtAwesome.h:466
Definition: QtAwesome.h:773
Definition: QtAwesome.h:754
Definition: QtAwesome.h:137