|
From: Mojca M. <moj...@gm...> - 2012-03-12 01:53:29
|
On Fri, Mar 9, 2012 at 06:14, sfeam (Ethan Merritt) wrote:
> On Sunday, 04 March 2012, Mojca Miklavec wrote:
>>
>> Also, is there any chance to use some high resolution icon? I have
>> created some PDF and SVG examples based on the original 16x16 image.
>> I'm attaching a SVG (it has a tiny flaw though
>
> How does one "use" the icon? Do you just mean we would include it
> in the distribution, for distro packages to copy into their preferred
> icon directory during installation?
No, at the moment Qt terminal uses
setWindowIcon(QIcon(":/images/gnuplot"));
which takes the icon
src/qtterminal/images/icon32x32.xpm
based on information
<file alias="images/gnuplot">images/icon32x32.xpm</file>
from
src/qtterminal/QtGnuplotResource.qrc
I think that simply replacing xpm file with svg file either in
QtGnuplotResource.qrc or in source code should work (but I'm currently
unable to compile Qt terminal to be able to test). Assuming that you
are happy with the SVG image of course.
>> : its vertical and
>> horizontal line widths are slightly distorted, but I can create an
>> image that is not if that "defect" is visible). The SVG could be used
>> for icon in Qt. Of course one could try to create a better/nicer/3D
>> icon, but at the moment having one high resolution (in this cane a
>> vector image) would already be much better than having 32x32 pixels. I
>> guess that this is not visible on Linux, but you can see how it
>> compares with other programs on
>> http://sourceforge.net/tracker/download.php?group_id=2055&atid=352055&file_id=432231&aid=3469808
Mojca
|