QtQuick.Controls examples - CheckBox |
Example code:
import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Window 2.0 ApplicationWindow { title: qsTr("qteveloper.blogspot.com") width: 400 height: 350 menuBar: MenuBar { Menu { title: qsTr("File") MenuItem { text: qsTr("Exit") onTriggered: Qt.quit(); } } } Column{ Column { CheckBox { text: "option 1" } CheckBox { text: "option 2" } CheckBox { text: "option 3" } } Row { CheckBox { text: "option A" } CheckBox { text: "option B" } CheckBox { text: "option C" } } } }