This commit is contained in:
朱子楚\zhuzi
2024-03-09 15:35:48 +08:00
parent 2a03f24941
commit 7c0c4cc451
167 changed files with 7567 additions and 1816 deletions

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"RadioButton"
title: qsTr("RadioButton")
FluArea{
Layout.fillWidth: true
@ -22,21 +22,21 @@ FluScrollablePage{
}
FluRadioButton{
disabled: radio_button_switch.checked
text:"Right"
text: qsTr("Right")
}
FluRadioButton{
disabled: radio_button_switch.checked
text:"Left"
text: qsTr("Left")
textRight: false
}
}
FluToggleSwitch{
id:radio_button_switch
id: radio_button_switch
anchors{
right: parent.right
verticalCenter: parent.verticalCenter
}
text:"Disabled"
text: qsTr("Disabled")
}
}
CodeExpander{
@ -61,24 +61,24 @@ FluScrollablePage{
}
FluRadioButton{
disabled: radio_button_switch2.checked
text:"Radio Button_1"
text: qsTr("Radio Button_1")
}
FluRadioButton{
disabled: radio_button_switch2.checked
text:"Radio Button_2"
text: qsTr("Radio Button_2")
}
FluRadioButton{
disabled: radio_button_switch2.checked
text:"Radio Button_3"
text: qsTr("Radio Button_3")
}
}
FluToggleSwitch{
id:radio_button_switch2
id: radio_button_switch2
anchors{
right: parent.right
verticalCenter: parent.verticalCenter
}
text:"Disabled"
text: qsTr("Disabled")
}
}
CodeExpander{