← Back to team overview

ubuntu-phone team mailing list archive

Re: Icon QML Component

 

It is not installed for 12.04...

Thanks for the info, I would really like to see all if this documented in
developer.ubuntu.com. I am happy to help.
On 7 Jan 2014 11:00, "Michael Zanetti" <michael.zanetti@xxxxxxxxxxxxx>
wrote:

> On Tuesday 07 January 2014 10:48:22 Victor Palau wrote:
> >
> > It does, but it would be easier if they were installed on my desktop with
> > the sdk or if I could browse them on developer.ubuntu.com so I could
> easily
> > decide which one to  use for my app.
>
> they should be installed as a dependency of the SDK. If not, just do an
> apt-
> get install ubuntu-mobile-icons.
>
> Br,
> Michael
>
> >
> > Thanks for the info!
> >
> > Victor
> >
> >
> > On Tue, Jan 7, 2014 at 10:27 AM, Michael Zanetti <
> >
> > michael.zanetti@xxxxxxxxxxxxx> wrote:
> > > Hi,
> > >
> > > this is because your system is not using the ubuntu-mobile icon theme.
> You
> > > can
> > > work around that by setting the theme in your application:
> > > QIcon::setThemeName("ubuntu-mobile")
> > >
> > > or installing "systemsettings" (warning, might pull in loots of KDE
> > > dependencies) and setting all your Qt application's icons to
> > > "ubuntu-mobile"
> > > in "Application Appearance" -> "Icons".
> > >
> > > You can see all ubuntu-mobile icons in
> > >
> > > /usr/share/icons/ubuntu-mobile/
> > >
> > > Hope this helps,
> > > Michael
> > >
> > > On Tuesday 07 January 2014 10:02:21 Victor Palau wrote:
> > > > Hi,
> > > >
> > > > I have a question about the icon component:
> > > > http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.Icon/
> > > >
> > > > I have tried the example code:
> > > >
> > > > Icon {
> > > >
> > > >     width: 64
> > > >     height: 64
> > > >     name: "search"
> > > >
> > > > }
> > > >
> > > > and it does give me a maginifying glass image, however it kind of
> doesnt
> > > > look like an Icon that seems to match with the look and feel of the
> rest
> > >
> > > of
> > >
> > > > the Ubuntu design - Does anyone know where the icon is coming from?
> > > >
> > > > Also, how do I know that other "name"s I can use? I didn't manage to
> > > > find
> > > > any documentation pointing me to them.
> > > >
> > > > Thanks,
> > > >
> > > > Victor
>
>

References