Browsing ISO 7000 Icons

You can add icons from an ISO 7000 icon library that is installed with Qt Creator to Qt Quick applications (commercial only). You can use the ISO Icon Browser to add a Picture type and select the icon to use for the type. You can change the default color of the icon.

Using ISO Icons in Applications

  1. Create a new Qt Quick Application or open an application in Qt Creator.
  2. Open the Qt Quick UI form in the Design 模式。
  3. Library , select QML 导入 > Add Import > QtQuick .Extras to import the Qt Quick Extras 模块。
  4. Drag and drop a Picture element from the library to the canvas.
  5. Right-click the picture element and select Choose Icon to open the ISO Icon Browser .
  6. To find icons, select a criterion for filtering icons and enter a search string.
  7. Select an icon in the list, and then select OK to add the icon.
  8. To view the icon you added, press Ctrl+R (or Cmd+R ) to run the application.
  9. To adjust the icon color, select the icon on the canvas, and then select Edit Color 在上下文菜单。

Qt Creator generates a Qt resource file called iso-icons.qrc that adds the icons as a part of your project for delivery with your application.