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