blob: 59df7d8eed0dee425231d91385d872bfbd3483cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//! [file]
\qml \QtMinorVersion
import QtQuick 2.\1
import QtQuick.Controls 2.\1
ApplicationWindow {
width: 400
height: 400
visible: true
Button {
id: button
text: "A Special Button"
background: Rectangle {
implicitWidth: 100
implicitHeight: 40
color: button.down ? "#d6d6d6" : "#f6f6f6"
border.color: "#26282a"
border.width: 1
radius: 4
}
}
}
\endqml
//! [file]
|