Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

how to change the display text of the button ,in quick control ?

$
0
0
import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 import QtQuick.Window 2.0     ApplicationWindow {     title: qsTr("Hello World")     width: 640     height: 480             Button {           style: ButtonStyle {             label: Text {                 text: "A button"                 color: "#FFFF0000"             }         }     }   }

Viewing all articles
Browse latest Browse all 4972

Trending Articles