Qt-interest Archive, June 2007
Qt Style Sheet image attribute
Message 1 in thread
Hi, Qt users
Qt 4.3.0 Assistant:
"The image property accepts a list of Urls or an svg. The actual image
that is drawn is determined using the same algorithm as QIcon."
well, it is possible to specify Normal/Active/Disabled/Selected states
for On/Off without CSS-selectors, using only "image: url(..) url(..) ..."
construction?
Or the list of Urls is scanned only to find the best match by subcontrol size?
--
[ signature omitted ]
Message 2 in thread
Ivan Kharin wrote:
> Hi, Qt users
>
> Qt 4.3.0 Assistant:
> "The image property accepts a list of Urls or an svg. The actual image
> that is drawn is determined using the same algorithm as QIcon."
>
> well, it is possible to specify Normal/Active/Disabled/Selected states
> for On/Off without CSS-selectors, using only "image: url(..) url(..) ..."
> construction?
>
> Or the list of Urls is scanned only to find the best match by subcontrol size?
>
Yes, the latter - The list of url's is used to find the best match image
for the subcontrol's size.
Girish
--
[ signature omitted ]