Qt Creator Documentation 2.8.0

Contents

QML PanelReadOut Element

A control that displays text to a user withing an image. More...

Properties

Detailed Description

The PanelReadOut type provides a visual text and image read out. The control is styled with an image and text.

 import QtQuick 1.1
 import "components"

 // Here is a simple animated switch using 2 images:

 PanelReadOut {
     id: panel_read_out1
     width: 211
     height: 99
     text: "10000"
     font.pixelSize: 22
     textColor: "#50dd0e"
     imagePanel: "images/bezel.bmp"
     font.bold: false
     font.family: "Arial"

     onTextChanged: {
         console.debug(text);
     }
 }

Property Documentation

font : font

The font properties of the text.


imagePanel : url

The source image for the control.


text : string

The text to display for the control.


textColor : color

The color of the text.


width : int

The width of the control, usually the width of the images used.