icons

How to make icon with pink background transparent?

落爺英雄遲暮 提交于 2021-02-19 05:18:29
问题 I'm using Visual Studio icon library (VS2008ImageLibrary), there are some BMP files with a pink background. How can I make the pink background become transparent? What software can I use to do this? Any free one? Thanks 回答1: You can try it online provided you can transform your bmp into a gif first. Or you can grab PAINT.Net (freeware), and apply a transparent background by following this video instructions. 回答2: I used IrfanView's batch conversion tool. It's still some work, because you have

Qt5 linux how to set window icon image

会有一股神秘感。 提交于 2021-02-19 04:01:29
问题 I have a UI I have designed in Qt designer and have written the code in c++. I am using catkin, which is just cmake, to build my project. Currently when the program is launched, the application icon looks like, .I would like to have that be an image that I specify, but have been unable to figure out how to get this to work. My project directory structure looks like the following package |--CMakeLists.txt |--src |--main.cpp |--MainWindow.cpp |--resources |--images |--kitty.png |--icons.qrc |-

How can I get the full file path of an icon name?

余生长醉 提交于 2021-02-18 21:10:05
问题 How can I get the full file path from an icon name in GNOME? 回答1: import gtk icon_theme = gtk.icon_theme_get_default() icon_info = icon_theme.lookup_icon("my-icon-name", 48, 0) print icon_info.get_filename() 回答2: Translation for Python 3: from gi.repository import Gtk icon_theme = Gtk.IconTheme.get_default() icon_info = icon_theme.lookup_icon("my-icon-name", 48, 0) print(icon_info.get_filename()) 来源: https://stackoverflow.com/questions/6090241/how-can-i-get-the-full-file-path-of-an-icon-name

how to change Qt qListView Icon selection highlight

我只是一个虾纸丫 提交于 2021-02-18 11:17:06
问题 When using qlistview in icon mode I need to completely remove the hilighting when a icon is selected. Using the code below the text under the icon is no longer highlighted but I still get blue color over the icon when selected QString stylesheet = ""; stylesheet += "QListView::item:alternate {background-image: transparent; background-color: transparent;}"; stylesheet += "QListView::item:selected {background-image: transparent; background-color: transparent;padding: 0px;color: black;}";

Icon sizes- Xamarin.forms

一笑奈何 提交于 2021-02-18 07:45:06
问题 I am working on Xmarin.forms project. I have many icons in the app. what should be the size of the icons for each platform? I know android supports Android 72x72 - drawable 72x72 - drawable-hdpi 96x96 - drawable-xhdpi 144x144 - drawable-xxhdpi iOS 57x57 114x114 120x120 72x72 144x144 76x76 152x152 28x28 58x58 50x50 100x100 40x40 80x80 512x512 1024x1021 This sizes are only for the logo icons? Or all the icons including toolbar icon and burger menu(using master details) has to follow this

Notification action icon didn't show

独自空忆成欢 提交于 2021-02-16 17:51:52
问题 I try to show a notification in Android, and use the code from this Link. In some source people said that the icon should be totally white and some source said I should use .png instead of vector . I try all of this ways but no one didn't help me. I try this code: Notification newMessageNotification = new Notification.Builder(mContext) .setSmallIcon(R.drawable.ic_message) .setContentTitle(getString(R.string.title)) .setContentText(getString(R.string.content)) .addAction(action)) .build(); 回答1

How Can I Use Weather Icons on My Weather Application

折月煮酒 提交于 2021-02-10 18:00:30
问题 I'm using http://erikflowers.github.io/weather-icons/ to display weather icons on my page. However, after inserting the cdn. It doesn't work. https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons-wind.min.css the icon has a class of "wi-wom-200" taken from http://erikflowers.github.io/weather-icons/api-list.html since I'm using openweathermap.com for my api. Any help on how to display this icon. Openweahtermap provides their own icons, but very low resolution. Thanks /*

Flutter :- Align a icon to the right bottom of a container

旧时模样 提交于 2021-02-10 07:24:07
问题 I tried a column with an aligned icon but it didn't display correctly If anyone has any idea to help. It would be greatly appreciated. Thank you This is my code that i tried List<Widget> temp = []; listAirline.map((airline) { listAirlineName.map((item) { if (airline.name == item) { temp.add( Column( children: <Widget>[ Container( height: 20, decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.all(Radius.elliptical(100.0, 60.0)), ), child: Image.asset( "images/Airlines/"

How to round font-awesome icons?

隐身守侯 提交于 2021-02-09 11:32:26
问题 I am trying to round font-awesome icon. Please refer - http://jsfiddle.net/JfGVE/1704/ The problem is, not matter what, the rounded icon is more oval. Not able to make it a perfectly rounded. Below is the css code i have - i { display: inline-block; background: gray; color: white; border-radius: 50%; padding: 5px; } 回答1: Try to adjust height/width and reset line-height: i { display: inline-block; background: gray; color: white; border-radius: 50%; padding: 0.3em; /* adjust padding */ line

material ui autoComplete with icons

最后都变了- 提交于 2021-02-08 15:01:56
问题 Hi I am trying to implement material UI autocomplete dropbox with an icon next to the displayed text. my implementation is working, but when I select one of the options its not being displayed. The problem is with this part of the code: renderInput={params => ( <Fragment> <TextField {...params} variant="outlined" label="Select Account" placeholder="Favorites" margin="normal" fullWidth /> </Fragment> )} if I remove he icon rendering from getOptionLabel then when selecting the selected text