An item for displaying icons from an icon font More...

Import Statement: import VPlayApps 1.0



Detailed Description

V-Play application components come with a set of commonly used icons which can be used in AppListView rows, TabControl items or standalone within your custom user interface.

By default, the icons are drawn using an icon font called Font Awesome. For a list of available icons, see IconType. To see a categorized view of all available icons with interactive search, see here. Alternatively, a different icon font can be used by setting the Theme::iconFont property.

To add an icon to your user interface add a code snippet like the following:

 import VPlayApps 1.0

 App {
   Page {
      // A camera icon
     Icon {
       icon: IconType.camera

Property Documentation

color : color

Sets the icon's color. The default color is Theme::textColor.

icon : IconType

Sets the icon type. One of the IconType constants.

size : real

Sets the icon's size (height), in pixels.

textItem : Text

The internally used Text item.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support