Updated QtAwesome to Font Awesome v3.2.0

This commit is contained in:
Rick Blommers 2013-06-13 21:17:17 +02:00
parent fe2b3e2002
commit 70e136c071
5 changed files with 155 additions and 11 deletions

View File

@ -213,7 +213,7 @@ bool QtAwesome::initFontAwesome( )
m.insert( "cog", icon_cog );
m.insert( "trash", icon_trash );
m.insert( "home", icon_home );
m.insert( "file", icon_file );
m.insert( "file_alt", icon_file_alt );
m.insert( "time", icon_time );
m.insert( "road", icon_road );
m.insert( "download-alt", icon_download_alt );
@ -329,8 +329,8 @@ bool QtAwesome::initFontAwesome( )
m.insert( "key", icon_key );
m.insert( "cogs", icon_cogs );
m.insert( "comments", icon_comments );
m.insert( "thumbs-up", icon_thumbs_up );
m.insert( "thumbs-down", icon_thumbs_down );
m.insert( "thumbs-up-alt", icon_thumbs_up_alt );
m.insert( "thumbs-down-alt", icon_thumbs_down_alt );
m.insert( "star-half", icon_star_half );
m.insert( "heart-empty", icon_heart_empty );
m.insert( "signout", icon_signout );
@ -428,7 +428,7 @@ bool QtAwesome::initFontAwesome( )
m.insert( "bell-alt", icon_bell_alt );
m.insert( "coffee", icon_coffee );
m.insert( "food", icon_food );
m.insert( "file-alt", icon_file_alt );
m.insert( "file-text-alt", icon_file_text_alt );
m.insert( "building", icon_building );
m.insert( "hospital", icon_hospital );
m.insert( "ambulance", icon_ambulance );
@ -522,6 +522,77 @@ bool QtAwesome::initFontAwesome( )
m.insert( "external_link_sign", icon_external_link_sign );
m.insert( "share_sign", icon_share_sign );
// v3.2.0
m.insert( "compass", icon_compass );
m.insert( "collapse", icon_collapse );
m.insert( "collapse_top", icon_collapse_top );
m.insert( "expand", icon_expand );
m.insert( "euro", icon_euro );
m.insert( "eur", icon_eur );
m.insert( "gbp", icon_gbp );
m.insert( "dollar", icon_dollar );
m.insert( "usd", icon_usd );
m.insert( "rupee", icon_rupee );
m.insert( "inr", icon_inr );
m.insert( "yen", icon_yen );
m.insert( "jpy", icon_jpy );
m.insert( "renminbi", icon_renminbi );
m.insert( "cny", icon_cny );
m.insert( "won", icon_won );
m.insert( "krw", icon_krw );
m.insert( "bitcoin", icon_bitcoin );
m.insert( "btc", icon_btc );
m.insert( "file", icon_file );
m.insert( "file_text", icon_file_text );
m.insert( "sort_by_alphabet", icon_sort_by_alphabet );
m.insert( "sort_by_alphabet_alt", icon_sort_by_alphabet_alt );
m.insert( "sort_by_attributes", icon_sort_by_attributes );
m.insert( "sort_by_attributes_alt", icon_sort_by_attributes_alt );
m.insert( "sort_by_order", icon_sort_by_order );
m.insert( "sort_by_order_alt", icon_sort_by_order_alt );
m.insert( "thumbs_up", icon_thumbs_up );
m.insert( "thumbs_down", icon_thumbs_down );
m.insert( "youtube_sign", icon_youtube_sign );
m.insert( "youtube", icon_youtube );
m.insert( "xing", icon_xing );
m.insert( "xing_sign", icon_xing_sign );
m.insert( "youtube_play", icon_youtube_play );
m.insert( "dropbox", icon_dropbox );
m.insert( "stackexchange", icon_stackexchange );
m.insert( "instagram", icon_instagram );
m.insert( "flickr", icon_flickr );
m.insert( "adn", icon_adn );
m.insert( "bitbucket", icon_bitbucket );
m.insert( "bitbucket_sign", icon_bitbucket_sign );
m.insert( "tumblr", icon_tumblr );
m.insert( "tumblr_sign", icon_tumblr_sign );
m.insert( "long_arrow_down", icon_long_arrow_down );
m.insert( "long_arrow_up", icon_long_arrow_up );
m.insert( "long_arrow_left", icon_long_arrow_left );
m.insert( "long_arrow_right", icon_long_arrow_right );
m.insert( "apple", icon_apple );
m.insert( "windows", icon_windows );
m.insert( "android", icon_android );
m.insert( "linux", icon_linux );
m.insert( "dribble", icon_dribble );
m.insert( "skype", icon_skype );
m.insert( "foursquare", icon_foursquare );
m.insert( "trello", icon_trello );
m.insert( "female", icon_female );
m.insert( "male", icon_male );
m.insert( "gittip", icon_gittip );
m.insert( "sun", icon_sun );
m.insert( "moon", icon_moon );
m.insert( "archive", icon_archive );
m.insert( "bug", icon_bug );
m.insert( "vk", icon_vk );
m.insert( "weibo", icon_weibo );
m.insert( "renren", icon_renren );
return true;
}

View File

@ -40,7 +40,7 @@ enum QtFontAwesomeName {
icon_cog = 0xf013,
icon_trash = 0xf014,
icon_home = 0xf015,
icon_file = 0xf016,
icon_file_alt = 0xf016,
icon_time = 0xf017,
icon_road = 0xf018,
icon_download_alt = 0xf019,
@ -154,8 +154,8 @@ enum QtFontAwesomeName {
icon_key = 0xf084,
icon_cogs = 0xf085,
icon_comments = 0xf086,
icon_thumbs_up = 0xf087,
icon_thumbs_down = 0xf088,
icon_thumbs_up_alt = 0xf087,
icon_thumbs_down_alt = 0xf088,
icon_star_half = 0xf089,
icon_heart_empty = 0xf08a,
icon_signout = 0xf08b,
@ -253,7 +253,7 @@ enum QtFontAwesomeName {
icon_bell_alt = 0xf0f3,
icon_coffee = 0xf0f4,
icon_food = 0xf0f5,
icon_file_alt = 0xf0f6,
icon_file_text_alt = 0xf0f6,
icon_building = 0xf0f7,
icon_hospital = 0xf0f8,
icon_ambulance = 0xf0f9,
@ -345,7 +345,80 @@ enum QtFontAwesomeName {
icon_check_sign = 0xf14a,
icon_edit_sign = 0xf14b,
icon_external_link_sign = 0xf14c,
icon_share_sign = 0xf14d
icon_share_sign = 0xf14d,
// v3.2.0
icon_compass = 0xf14e,
icon_collapse = 0xf150,
icon_collapse_top = 0xf151,
icon_expand = 0xf152,
icon_euro = 0xf153,
icon_eur = 0xf153,
icon_gbp = 0xf154,
icon_dollar = 0xf155,
icon_usd = icon_dollar,
icon_rupee = 0xf156,
icon_inr = icon_rupee,
icon_yen = 0xf157,
icon_jpy = icon_yen,
icon_renminbi = 0xf158,
icon_cny = icon_renminbi,
icon_won = 0xf159,
icon_krw = icon_won,
icon_bitcoin = 0xf15a,
icon_btc = icon_bitcoin,
icon_file = 0xf15b,
icon_file_text = 0xf15c,
icon_sort_by_alphabet = 0xf15d,
icon_sort_by_alphabet_alt = 0xf15e,
icon_sort_by_attributes = 0xf160,
icon_sort_by_attributes_alt = 0xf161,
icon_sort_by_order = 0xf162,
icon_sort_by_order_alt = 0xf163,
icon_thumbs_up = 0xf164,
icon_thumbs_down = 0xf165,
icon_youtube_sign = 0xf166,
icon_youtube = 0xf167,
icon_xing = 0xf168,
icon_xing_sign = 0xf169,
icon_youtube_play = 0xf16a,
icon_dropbox = 0xf16b,
icon_stackexchange = 0xf16c,
icon_instagram = 0xf16d,
icon_flickr = 0xf16e,
icon_adn = 0xf170,
icon_bitbucket = 0xf171,
icon_bitbucket_sign = 0xf172,
icon_tumblr = 0xf173,
icon_tumblr_sign = 0xf174,
icon_long_arrow_down = 0xf175,
icon_long_arrow_up = 0xf176,
icon_long_arrow_left = 0xf177,
icon_long_arrow_right = 0xf178,
icon_apple = 0xf179,
icon_windows = 0xf17a,
icon_android = 0xf17b,
icon_linux = 0xf17c,
icon_dribble = 0xf17d,
icon_skype = 0xf17e,
icon_foursquare = 0xf180,
icon_trello = 0xf181,
icon_female = 0xf182,
icon_male = 0xf183,
icon_gittip = 0xf184,
icon_sun = 0xf185,
icon_moon = 0xf186,
icon_archive = 0xf187,
icon_bug = 0xf188,
icon_vk = 0xf189,
icon_weibo = 0xf18a,
icon_renren = 0xf18b
};

Binary file not shown.

View File

@ -18,7 +18,7 @@ int main(int argc, char *argv[])
awesome->initFontAwesome();
// a simple beer button
QPushButton* beerButton = new QPushButton( awesome->icon( icon_beer ), "Cheers!" );
QPushButton* beerButton = new QPushButton( awesome->icon( icon_sun ), "Cheers!" );
w.setCentralWidget( beerButton );
w.show();

View File

@ -10,7 +10,7 @@ iconfont you want.
The class can also be used to manage your own dynamic code-drawn icons, by adding named icon-painters.
The current Font Awesome version is Version 3.1.1
The current Font Awesome version is Version 3.2.0
Installation