[Qgis-developer] New Python console: missing icons?
Giuseppe Sucameli
brush.tyler at gmail.com
Fri Oct 5 02:20:48 PDT 2012
Hi Salvatore,
On Fri, Oct 5, 2012 at 10:24 AM, Salvatore Larosa <lrssvtml at gmail.com> wrote:
> 2012/10/5 Giuseppe Sucameli <brush.tyler at gmail.com>
>> we agree that console icons and help should be moved in
>> the proper folders, i.e. respectively images and resources
>> located in the source root.
>
> I agree, regardless of the problem !
> What the right place should be ?
you can move the iconConsole folder to
/images/theme/default/consoleicons
and the helpConsole folder to
/resources/console_help
In you code you can get an icon by using
QgsApplication.getThemeIcon( "/consoleicons/myicon.png" )
which also takes care the theme.
To get the location of the help files use instead
QgsApplication.pkgDataPath() + "/resources/console_help/";
Regards.
>> Salvatore, please could you fix it making a such change?
>> Thanks.
>>
>
> I hope to do as soon as possible !
>
> Regards,
>
> -SL
>
>
>>
>> Regards.
>>
>> [1] http://hub.qgis.org/issues/6456
>>
>> > On Thu, Oct 4, 2012 at 5:49 PM, Paolo Cavallini <cavallini at faunalia.it>
>> > wrote:
>> >> Il 04/10/2012 15:15, Nathan Woodrow ha scritto:
>> >>> Yeah I have both those issues here too.
>> >>>
>> >>>
>> >> Glad I'm not the only one. Just recompiled from master, the issue
>> >> remains.
>> >> Thanks.
>> >>
>> >> --
>> >> Paolo Cavallini - Faunalia
>> >> www.faunalia.eu
>> >> Full contact details at www.faunalia.eu/pc
>> >> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
>> >>
>> >> _______________________________________________
>> >> Qgis-developer mailing list
>> >> Qgis-developer at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> > _______________________________________________
>> > Qgis-developer mailing list
>> > Qgis-developer at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>> --
>> Giuseppe Sucameli
>
>
>
>
> --
> Salvatore Larosa
> linkedIn: http://linkedin.com/in/larosasalvatore
> twitter: @lrssvt
> skype: s.larosa
> IRC: lrssvt on freenode
>
--
Giuseppe Sucameli
More information about the Qgis-developer
mailing list