IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Detailed Description

This struct was introduced in Qt 5.9.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

▲

  • Header: ScaledPixmapArgument

  • Since: Qt 5.9

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

Detailed Description▲

This struct represents arguments to the https://() function when the id parameter is https://.

The struct provides a way for icons created via https://() to return pixmaps that are designed for the current device pixel ratio. The scale for such an icon is specified using the https:// in the appropriate index.theme file.

Icons created via other approaches will return the same result as a call to https://() would, and continue to benefit from Qt's https://.

See Also▲

See also https://(), https://, https://

Member Variable Documentation▲

 

QIcon::Mode ScaledPixmapArgument::mode▲

This variable holds the requested mode of the pixmap.

See Also▲

See also https://

QPixmap ScaledPixmapArgument::pixmap▲

This variable holds the pixmap that is the best match for the given https://, https://, https://, and https://. This is an output parameter that is set after calling https://().

qreal ScaledPixmapArgument::scale▲

This variable holds the requested scale of the pixmap.

QSize ScaledPixmapArgument::size▲

This variable holds the requested size of the pixmap.

QIcon::State ScaledPixmapArgument::state▲

This variable holds the requested state of the pixmap.

See Also▲

See also https://

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.