mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-03-15 00:19:42 +08:00
Compare commits
No commits in common. "e6c4b792986fe0eae73748698b74f394ed81b6d6" and "402579f32a1c145e84ba3e49e810de27aa637704" have entirely different histories.
e6c4b79298
...
402579f32a
@ -1273,19 +1273,19 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="17"/>
|
<location filename="qml/page/T_GroupBox.qml" line="17"/>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="35"/>
|
<location filename="qml/page/T_GroupBox.qml" line="27"/>
|
||||||
<source>E-mail</source>
|
<source>E-mail</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="18"/>
|
<location filename="qml/page/T_GroupBox.qml" line="18"/>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="36"/>
|
<location filename="qml/page/T_GroupBox.qml" line="28"/>
|
||||||
<source>Calendar</source>
|
<source>Calendar</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="19"/>
|
<location filename="qml/page/T_GroupBox.qml" line="19"/>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="37"/>
|
<location filename="qml/page/T_GroupBox.qml" line="29"/>
|
||||||
<source>Contacts</source>
|
<source>Contacts</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@ -1295,11 +1295,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<oldsource>RadioButton Group111111111111111111111111</oldsource>
|
<oldsource>RadioButton Group111111111111111111111111</oldsource>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="46"/>
|
|
||||||
<source>Disabled</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>T_Home</name>
|
<name>T_Home</name>
|
||||||
@ -1363,77 +1358,46 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="27"/>
|
<location filename="qml/page/T_InfoBar.qml" line="23"/>
|
||||||
<source>Info</source>
|
<source>Info</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="29"/>
|
<location filename="qml/page/T_InfoBar.qml" line="25"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="53"/>
|
<location filename="qml/page/T_InfoBar.qml" line="49"/>
|
||||||
<source>This is an InfoBar in the Info Style</source>
|
<source>This is an InfoBar in the Info Style</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="33"/>
|
<location filename="qml/page/T_InfoBar.qml" line="29"/>
|
||||||
<source>Warning</source>
|
<source>Warning</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="35"/>
|
<location filename="qml/page/T_InfoBar.qml" line="31"/>
|
||||||
<source>This is an InfoBar in the Warning Style</source>
|
<source>This is an InfoBar in the Warning Style</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="41"/>
|
<location filename="qml/page/T_InfoBar.qml" line="37"/>
|
||||||
<source>This is an InfoBar in the Error Style</source>
|
<source>This is an InfoBar in the Error Style</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="47"/>
|
<location filename="qml/page/T_InfoBar.qml" line="43"/>
|
||||||
<source>This is an InfoBar in the Success Style</source>
|
<source>This is an InfoBar in the Success Style</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="51"/>
|
<location filename="qml/page/T_InfoBar.qml" line="47"/>
|
||||||
<source>InfoBar that needs to be turned off manually</source>
|
<source>InfoBar that needs to be turned off manually</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="53"/>
|
<location filename="qml/page/T_InfoBar.qml" line="49"/>
|
||||||
<source>Manual shutdown is supported</source>
|
<source>Manual shutdown is supported</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="59"/>
|
|
||||||
<source>Manually close the info message box</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
|
||||||
<source>close '%1'</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
|
||||||
<source>show '%1</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="70"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="80"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="90"/>
|
|
||||||
<source>This is an '%1'</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="94"/>
|
|
||||||
<source>clear all info</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>T_LineChart</name>
|
<name>T_LineChart</name>
|
||||||
@ -1736,30 +1700,30 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="38"/>
|
<location filename="qml/page/T_RadioButton.qml" line="38"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="79"/>
|
<location filename="qml/page/T_RadioButton.qml" line="81"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="130"/>
|
<location filename="qml/page/T_RadioButton.qml" line="134"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="181"/>
|
<location filename="qml/page/T_RadioButton.qml" line="187"/>
|
||||||
<source>Disabled</source>
|
<source>Disabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="64"/>
|
<location filename="qml/page/T_RadioButton.qml" line="64"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="115"/>
|
<location filename="qml/page/T_RadioButton.qml" line="117"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="166"/>
|
<location filename="qml/page/T_RadioButton.qml" line="170"/>
|
||||||
<source>Radio Button_1</source>
|
<source>Radio Button_1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="67"/>
|
<location filename="qml/page/T_RadioButton.qml" line="68"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="118"/>
|
<location filename="qml/page/T_RadioButton.qml" line="121"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="169"/>
|
<location filename="qml/page/T_RadioButton.qml" line="174"/>
|
||||||
<source>Radio Button_2</source>
|
<source>Radio Button_2</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="70"/>
|
<location filename="qml/page/T_RadioButton.qml" line="72"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="121"/>
|
<location filename="qml/page/T_RadioButton.qml" line="125"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="172"/>
|
<location filename="qml/page/T_RadioButton.qml" line="178"/>
|
||||||
<source>Radio Button_3</source>
|
<source>Radio Button_3</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1359,19 +1359,19 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="17"/>
|
<location filename="qml/page/T_GroupBox.qml" line="17"/>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="35"/>
|
<location filename="qml/page/T_GroupBox.qml" line="27"/>
|
||||||
<source>E-mail</source>
|
<source>E-mail</source>
|
||||||
<translation type="unfinished">邮箱</translation>
|
<translation type="unfinished">邮箱</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="18"/>
|
<location filename="qml/page/T_GroupBox.qml" line="18"/>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="36"/>
|
<location filename="qml/page/T_GroupBox.qml" line="28"/>
|
||||||
<source>Calendar</source>
|
<source>Calendar</source>
|
||||||
<translation type="unfinished">日历</translation>
|
<translation type="unfinished">日历</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="19"/>
|
<location filename="qml/page/T_GroupBox.qml" line="19"/>
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="37"/>
|
<location filename="qml/page/T_GroupBox.qml" line="29"/>
|
||||||
<source>Contacts</source>
|
<source>Contacts</source>
|
||||||
<translation type="unfinished">联系人</translation>
|
<translation type="unfinished">联系人</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -1381,11 +1381,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<oldsource>RadioButton Group111111111111111111111111</oldsource>
|
<oldsource>RadioButton Group111111111111111111111111</oldsource>
|
||||||
<translation type="unfinished">单选框分组</translation>
|
<translation type="unfinished">单选框分组</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="46"/>
|
|
||||||
<source>Disabled</source>
|
|
||||||
<translation type="unfinished">禁用</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>T_Home</name>
|
<name>T_Home</name>
|
||||||
@ -1457,77 +1452,46 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<translation type="unfinished">信息栏</translation>
|
<translation type="unfinished">信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="27"/>
|
<location filename="qml/page/T_InfoBar.qml" line="23"/>
|
||||||
<source>Info</source>
|
<source>Info</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="29"/>
|
<location filename="qml/page/T_InfoBar.qml" line="25"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="53"/>
|
<location filename="qml/page/T_InfoBar.qml" line="49"/>
|
||||||
<source>This is an InfoBar in the Info Style</source>
|
<source>This is an InfoBar in the Info Style</source>
|
||||||
<translation type="unfinished">这是一个Info样式的信息栏</translation>
|
<translation type="unfinished">这是一个Info样式的信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="33"/>
|
<location filename="qml/page/T_InfoBar.qml" line="29"/>
|
||||||
<source>Warning</source>
|
<source>Warning</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="35"/>
|
<location filename="qml/page/T_InfoBar.qml" line="31"/>
|
||||||
<source>This is an InfoBar in the Warning Style</source>
|
<source>This is an InfoBar in the Warning Style</source>
|
||||||
<translation type="unfinished">这是一个Warning样式的信息栏</translation>
|
<translation type="unfinished">这是一个Warning样式的信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="41"/>
|
<location filename="qml/page/T_InfoBar.qml" line="37"/>
|
||||||
<source>This is an InfoBar in the Error Style</source>
|
<source>This is an InfoBar in the Error Style</source>
|
||||||
<translation type="unfinished">这是一个Error样式的信息栏</translation>
|
<translation type="unfinished">这是一个Error样式的信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="47"/>
|
<location filename="qml/page/T_InfoBar.qml" line="43"/>
|
||||||
<source>This is an InfoBar in the Success Style</source>
|
<source>This is an InfoBar in the Success Style</source>
|
||||||
<translation type="unfinished">这是一个Success样式的信息栏</translation>
|
<translation type="unfinished">这是一个Success样式的信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="51"/>
|
<location filename="qml/page/T_InfoBar.qml" line="47"/>
|
||||||
<source>InfoBar that needs to be turned off manually</source>
|
<source>InfoBar that needs to be turned off manually</source>
|
||||||
<translation type="unfinished">需要手动关闭的信息栏</translation>
|
<translation type="unfinished">需要手动关闭的信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="53"/>
|
<location filename="qml/page/T_InfoBar.qml" line="49"/>
|
||||||
<source>Manual shutdown is supported</source>
|
<source>Manual shutdown is supported</source>
|
||||||
<translation type="unfinished">支持手动关闭</translation>
|
<translation type="unfinished">支持手动关闭</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="59"/>
|
|
||||||
<source>Manually close the info message box</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
|
||||||
<source>close '%1'</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
|
||||||
<source>show '%1</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="70"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="80"/>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="90"/>
|
|
||||||
<source>This is an '%1'</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="94"/>
|
|
||||||
<source>clear all info</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Loading...</source>
|
<source>Loading...</source>
|
||||||
<translation type="obsolete">加载中...</translation>
|
<translation type="obsolete">加载中...</translation>
|
||||||
@ -1844,30 +1808,30 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="38"/>
|
<location filename="qml/page/T_RadioButton.qml" line="38"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="79"/>
|
<location filename="qml/page/T_RadioButton.qml" line="81"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="130"/>
|
<location filename="qml/page/T_RadioButton.qml" line="134"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="181"/>
|
<location filename="qml/page/T_RadioButton.qml" line="187"/>
|
||||||
<source>Disabled</source>
|
<source>Disabled</source>
|
||||||
<translation type="unfinished">禁用</translation>
|
<translation type="unfinished">禁用</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="64"/>
|
<location filename="qml/page/T_RadioButton.qml" line="64"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="115"/>
|
<location filename="qml/page/T_RadioButton.qml" line="117"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="166"/>
|
<location filename="qml/page/T_RadioButton.qml" line="170"/>
|
||||||
<source>Radio Button_1</source>
|
<source>Radio Button_1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="67"/>
|
<location filename="qml/page/T_RadioButton.qml" line="68"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="118"/>
|
<location filename="qml/page/T_RadioButton.qml" line="121"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="169"/>
|
<location filename="qml/page/T_RadioButton.qml" line="174"/>
|
||||||
<source>Radio Button_2</source>
|
<source>Radio Button_2</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="70"/>
|
<location filename="qml/page/T_RadioButton.qml" line="72"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="121"/>
|
<location filename="qml/page/T_RadioButton.qml" line="125"/>
|
||||||
<location filename="qml/page/T_RadioButton.qml" line="172"/>
|
<location filename="qml/page/T_RadioButton.qml" line="178"/>
|
||||||
<source>Radio Button_3</source>
|
<source>Radio Button_3</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -22,37 +22,18 @@ FluScrollablePage{
|
|||||||
|
|
||||||
FluGroupBox {
|
FluGroupBox {
|
||||||
title: qsTr("RadioButton Group")
|
title: qsTr("RadioButton Group")
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.preferredHeight: 150
|
|
||||||
Layout.topMargin: 20
|
|
||||||
FluRadioButtons {
|
FluRadioButtons {
|
||||||
anchors{
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
left: parent.left
|
|
||||||
}
|
|
||||||
spacing: 10
|
spacing: 10
|
||||||
disabled: radio_button_switch.checked
|
|
||||||
FluRadioButton { text: qsTr("E-mail") }
|
FluRadioButton { text: qsTr("E-mail") }
|
||||||
FluRadioButton { text: qsTr("Calendar") }
|
FluRadioButton { text: qsTr("Calendar") }
|
||||||
FluRadioButton { text: qsTr("Contacts") }
|
FluRadioButton { text: qsTr("Contacts") }
|
||||||
}
|
}
|
||||||
|
|
||||||
FluToggleSwitch{
|
|
||||||
id: radio_button_switch
|
|
||||||
anchors{
|
|
||||||
right: parent.right
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
}
|
|
||||||
text: qsTr("Disabled")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: 4
|
Layout.topMargin: 4
|
||||||
code:`
|
code:'FluGroupBox {
|
||||||
FluGroupBox {
|
|
||||||
title: qsTr("CheckBox Group")
|
title: qsTr("CheckBox Group")
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 10
|
spacing: 10
|
||||||
@ -61,20 +42,7 @@ FluGroupBox {
|
|||||||
FluCheckBox { text: qsTr("Calendar") }
|
FluCheckBox { text: qsTr("Calendar") }
|
||||||
FluCheckBox { text: qsTr("Contacts") }
|
FluCheckBox { text: qsTr("Contacts") }
|
||||||
}
|
}
|
||||||
}
|
}'
|
||||||
|
|
||||||
FluGroupBox {
|
|
||||||
title: qsTr("RadioButton Group")
|
|
||||||
FluRadioButtons {
|
|
||||||
spacing: 10
|
|
||||||
disabled: true // 禁用所有FluRadioButton子组件
|
|
||||||
manuallyDisabled: true // 是否指定每个FluRadioButton上的disabled选项
|
|
||||||
FluRadioButton { text: qsTr("E-mail") }
|
|
||||||
FluRadioButton { text: qsTr("Calendar") }
|
|
||||||
FluRadioButton { text: qsTr("Contacts") }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -9,13 +9,9 @@ FluScrollablePage{
|
|||||||
|
|
||||||
title: qsTr("InfoBar")
|
title: qsTr("InfoBar")
|
||||||
|
|
||||||
property var info1
|
|
||||||
property var info2
|
|
||||||
property var info3
|
|
||||||
|
|
||||||
FluFrame{
|
FluFrame{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: 350
|
Layout.preferredHeight: 270
|
||||||
padding: 10
|
padding: 10
|
||||||
ColumnLayout{
|
ColumnLayout{
|
||||||
spacing: 14
|
spacing: 14
|
||||||
@ -53,51 +49,6 @@ FluScrollablePage{
|
|||||||
showInfo(qsTr("This is an InfoBar in the Info Style"),0,qsTr("Manual shutdown is supported"))
|
showInfo(qsTr("This is an InfoBar in the Info Style"),0,qsTr("Manual shutdown is supported"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FluText{
|
|
||||||
wrapMode: Text.WrapAnywhere
|
|
||||||
width: parent.width
|
|
||||||
text: qsTr("Manually close the info message box")
|
|
||||||
}
|
|
||||||
Row{
|
|
||||||
spacing: 5
|
|
||||||
FluButton{
|
|
||||||
text: (info1 ? qsTr("close '%1'") : qsTr("show '%1")).arg("info1")
|
|
||||||
onClicked: {
|
|
||||||
if(info1) {
|
|
||||||
info1.close()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
info1 = showInfo(qsTr("This is an '%1'").arg("info1"), 0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluButton{
|
|
||||||
text: (info2 ? qsTr("close '%1'") : qsTr("show '%1")).arg("info2")
|
|
||||||
onClicked: {
|
|
||||||
if(info2) {
|
|
||||||
info2.close()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
info2 = showInfo(qsTr("This is an '%1'").arg("info2"), 0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluButton{
|
|
||||||
text: (info3 ? qsTr("close '%1'") : qsTr("show '%1")).arg("info3")
|
|
||||||
onClicked: {
|
|
||||||
if(info3) {
|
|
||||||
info3.close()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
info3 = showInfo(qsTr("This is an '%1'").arg("info3"), 0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluButton{
|
|
||||||
text: qsTr("clear all info")
|
|
||||||
onClicked: {
|
|
||||||
clearAllInfo()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FluButton{
|
FluButton{
|
||||||
text:"Loading"
|
text:"Loading"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -109,17 +60,12 @@ FluScrollablePage{
|
|||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: -6
|
Layout.topMargin: -6
|
||||||
code:`
|
code:'showInfo(qsTr("This is an InfoBar in the Info Style"))
|
||||||
showInfo(qsTr("This is an InfoBar in the Info Style"))
|
|
||||||
|
|
||||||
showWarning(qsTr("This is an InfoBar in the Warning Style"))
|
showWarning(qsTr("This is an InfoBar in the Warning Style"))
|
||||||
|
|
||||||
showError(qsTr("This is an InfoBar in the Error Style"))
|
showError(qsTr("This is an InfoBar in the Error Style"))
|
||||||
|
|
||||||
showSuccess(qsTr("This is an InfoBar in the Success Style"))
|
showSuccess(qsTr("This is an InfoBar in the Success Style"))'
|
||||||
|
|
||||||
var info1 = showInfo(qsTr("This is an 'Info1'"), 0)
|
|
||||||
info1.close()
|
|
||||||
`
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,6 @@ FluScrollablePage{
|
|||||||
Layout.topMargin: 20
|
Layout.topMargin: 20
|
||||||
FluRadioButtons{
|
FluRadioButtons{
|
||||||
spacing: 8
|
spacing: 8
|
||||||
disabled: radio_button_switch2.checked
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors{
|
anchors{
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
@ -61,12 +60,15 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
currentIndex: 1
|
currentIndex: 1
|
||||||
FluRadioButton{
|
FluRadioButton{
|
||||||
|
disabled: radio_button_switch2.checked
|
||||||
text: qsTr("Radio Button_1")
|
text: qsTr("Radio Button_1")
|
||||||
}
|
}
|
||||||
FluRadioButton{
|
FluRadioButton{
|
||||||
|
disabled: radio_button_switch2.checked
|
||||||
text: qsTr("Radio Button_2")
|
text: qsTr("Radio Button_2")
|
||||||
}
|
}
|
||||||
FluRadioButton{
|
FluRadioButton{
|
||||||
|
disabled: radio_button_switch2.checked
|
||||||
text: qsTr("Radio Button_3")
|
text: qsTr("Radio Button_3")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,16 +110,18 @@ FluScrollablePage{
|
|||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
left: parent.left
|
left: parent.left
|
||||||
}
|
}
|
||||||
disabled: radio_button_switch3.checked
|
|
||||||
orientation: Qt.Horizontal
|
orientation: Qt.Horizontal
|
||||||
currentIndex: 1
|
currentIndex: 1
|
||||||
FluRadioButton{
|
FluRadioButton{
|
||||||
|
disabled: radio_button_switch3.checked
|
||||||
text: qsTr("Radio Button_1")
|
text: qsTr("Radio Button_1")
|
||||||
}
|
}
|
||||||
FluRadioButton{
|
FluRadioButton{
|
||||||
|
disabled: radio_button_switch3.checked
|
||||||
text: qsTr("Radio Button_2")
|
text: qsTr("Radio Button_2")
|
||||||
}
|
}
|
||||||
FluRadioButton{
|
FluRadioButton{
|
||||||
|
disabled: radio_button_switch3.checked
|
||||||
text: qsTr("Radio Button_3")
|
text: qsTr("Radio Button_3")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,15 +164,17 @@ FluScrollablePage{
|
|||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
left: parent.left
|
left: parent.left
|
||||||
}
|
}
|
||||||
disabled: radio_button_switch4.checked
|
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
FluCheckBox{
|
FluCheckBox{
|
||||||
|
disabled: radio_button_switch4.checked
|
||||||
text: qsTr("Radio Button_1")
|
text: qsTr("Radio Button_1")
|
||||||
}
|
}
|
||||||
FluCheckBox{
|
FluCheckBox{
|
||||||
|
disabled: radio_button_switch4.checked
|
||||||
text: qsTr("Radio Button_2")
|
text: qsTr("Radio Button_2")
|
||||||
}
|
}
|
||||||
FluCheckBox{
|
FluCheckBox{
|
||||||
|
disabled: radio_button_switch4.checked
|
||||||
text: qsTr("Radio Button_3")
|
text: qsTr("Radio Button_3")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,23 +18,22 @@ FluObject {
|
|||||||
if(screenLayout){
|
if(screenLayout){
|
||||||
var last = screenLayout.getLastloader();
|
var last = screenLayout.getLastloader();
|
||||||
if(last.type === type && last.text === text && moremsg === last.moremsg){
|
if(last.type === type && last.text === text && moremsg === last.moremsg){
|
||||||
last.duration = duration
|
last.restart();
|
||||||
if (duration > 0) last.restart();
|
return;
|
||||||
return last;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
initScreenLayout();
|
initScreenLayout();
|
||||||
return contentComponent.createObject(screenLayout,{
|
contentComponent.createObject(screenLayout,{
|
||||||
type:type,
|
type:type,
|
||||||
text:text,
|
text:text,
|
||||||
duration:duration,
|
duration:duration,
|
||||||
moremsg:moremsg,
|
moremsg:moremsg,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function createCustom(itemcomponent,duration){
|
function createCustom(itemcomponent,duration){
|
||||||
initScreenLayout();
|
initScreenLayout();
|
||||||
if(itemcomponent){
|
if(itemcomponent){
|
||||||
return contentComponent.createObject(screenLayout,{itemcomponent:itemcomponent,duration:duration});
|
contentComponent.createObject(screenLayout,{itemcomponent:itemcomponent,duration:duration});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function initScreenLayout(){
|
function initScreenLayout(){
|
||||||
@ -86,9 +85,7 @@ FluObject {
|
|||||||
}
|
}
|
||||||
Timer {
|
Timer {
|
||||||
id:delayTimer
|
id:delayTimer
|
||||||
interval: duration;
|
interval: duration; running: duration > 0; repeat: duration > 0
|
||||||
running: duration > 0;
|
|
||||||
repeat: duration > 0
|
|
||||||
onTriggered: content.close();
|
onTriggered: content.close();
|
||||||
}
|
}
|
||||||
FluLoader{
|
FluLoader{
|
||||||
@ -238,26 +235,18 @@ FluObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function showSuccess(text,duration=1000,moremsg){
|
function showSuccess(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_success,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_success,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showInfo(text,duration=1000,moremsg){
|
function showInfo(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_info,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_info,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showWarning(text,duration=1000,moremsg){
|
function showWarning(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_warning,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_warning,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showError(text,duration=1000,moremsg){
|
function showError(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_error,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_error,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showCustom(itemcomponent,duration=1000){
|
function showCustom(itemcomponent,duration=1000){
|
||||||
return mcontrol.createCustom(itemcomponent,duration);
|
mcontrol.createCustom(itemcomponent,duration);
|
||||||
}
|
|
||||||
function clearAllInfo(){
|
|
||||||
if(mcontrol.screenLayout != null) {
|
|
||||||
mcontrol.screenLayout.destroy()
|
|
||||||
mcontrol.screenLayout = null
|
|
||||||
}
|
|
||||||
|
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,6 @@ Item{
|
|||||||
property int currentIndex : -1
|
property int currentIndex : -1
|
||||||
property int spacing: 8
|
property int spacing: 8
|
||||||
property int orientation: Qt.Vertical
|
property int orientation: Qt.Vertical
|
||||||
property bool disabled: false
|
|
||||||
property bool manuallyDisabled: false
|
|
||||||
QtObject{
|
QtObject{
|
||||||
id: d
|
id: d
|
||||||
function updateChecked(){
|
function updateChecked(){
|
||||||
@ -24,23 +22,12 @@ Item{
|
|||||||
buttons[currentIndex].checked = true
|
buttons[currentIndex].checked = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function refreshButtonStatus() {
|
|
||||||
for(var i = 0;i<buttons.length;i++){
|
|
||||||
if(!manuallyDisabled) buttons[i].enabled = !disabled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
implicitWidth: childrenRect.width
|
implicitWidth: childrenRect.width
|
||||||
implicitHeight: childrenRect.height
|
implicitHeight: childrenRect.height
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
d.updateChecked()
|
d.updateChecked()
|
||||||
}
|
}
|
||||||
onDisabledChanged: {
|
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
|
||||||
onManuallyDisabledChanged: {
|
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
|
||||||
Component{
|
Component{
|
||||||
id:com_vertical
|
id:com_vertical
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
@ -58,7 +45,6 @@ Item{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d.updateChecked()
|
d.updateChecked()
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -79,7 +65,6 @@ Item{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d.updateChecked()
|
d.updateChecked()
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -299,19 +299,16 @@ Window {
|
|||||||
loader_loading.sourceComponent = undefined
|
loader_loading.sourceComponent = undefined
|
||||||
}
|
}
|
||||||
function showSuccess(text,duration,moremsg){
|
function showSuccess(text,duration,moremsg){
|
||||||
return info_bar.showSuccess(text,duration,moremsg)
|
info_bar.showSuccess(text,duration,moremsg)
|
||||||
}
|
}
|
||||||
function showInfo(text,duration,moremsg){
|
function showInfo(text,duration,moremsg){
|
||||||
return info_bar.showInfo(text,duration,moremsg)
|
info_bar.showInfo(text,duration,moremsg)
|
||||||
}
|
}
|
||||||
function showWarning(text,duration,moremsg){
|
function showWarning(text,duration,moremsg){
|
||||||
return info_bar.showWarning(text,duration,moremsg)
|
info_bar.showWarning(text,duration,moremsg)
|
||||||
}
|
}
|
||||||
function showError(text,duration,moremsg){
|
function showError(text,duration,moremsg){
|
||||||
return info_bar.showError(text,duration,moremsg)
|
info_bar.showError(text,duration,moremsg)
|
||||||
}
|
|
||||||
function clearAllInfo(){
|
|
||||||
return info_bar.clearAllInfo()
|
|
||||||
}
|
}
|
||||||
function moveWindowToDesktopCenter(){
|
function moveWindowToDesktopCenter(){
|
||||||
var availableGeometry = FluTools.desktopAvailableGeometry(window)
|
var availableGeometry = FluTools.desktopAvailableGeometry(window)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import QtQuick 2.15
|
import QtQuick
|
||||||
import QtQuick.Controls 2.15
|
import QtQuick.Controls
|
||||||
import FluentUI 1.0
|
import FluentUI
|
||||||
|
|
||||||
FluObject {
|
FluObject {
|
||||||
property var root;
|
property var root;
|
||||||
@ -18,23 +18,22 @@ FluObject {
|
|||||||
if(screenLayout){
|
if(screenLayout){
|
||||||
var last = screenLayout.getLastloader();
|
var last = screenLayout.getLastloader();
|
||||||
if(last.type === type && last.text === text && moremsg === last.moremsg){
|
if(last.type === type && last.text === text && moremsg === last.moremsg){
|
||||||
last.duration = duration
|
last.restart();
|
||||||
if (duration > 0) last.restart();
|
return;
|
||||||
return last;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
initScreenLayout();
|
initScreenLayout();
|
||||||
return contentComponent.createObject(screenLayout,{
|
contentComponent.createObject(screenLayout,{
|
||||||
type:type,
|
type:type,
|
||||||
text:text,
|
text:text,
|
||||||
duration:duration,
|
duration:duration,
|
||||||
moremsg:moremsg,
|
moremsg:moremsg,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function createCustom(itemcomponent,duration){
|
function createCustom(itemcomponent,duration){
|
||||||
initScreenLayout();
|
initScreenLayout();
|
||||||
if(itemcomponent){
|
if(itemcomponent){
|
||||||
return contentComponent.createObject(screenLayout,{itemcomponent:itemcomponent,duration:duration});
|
contentComponent.createObject(screenLayout,{itemcomponent:itemcomponent,duration:duration});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function initScreenLayout(){
|
function initScreenLayout(){
|
||||||
@ -86,9 +85,7 @@ FluObject {
|
|||||||
}
|
}
|
||||||
Timer {
|
Timer {
|
||||||
id:delayTimer
|
id:delayTimer
|
||||||
interval: duration;
|
interval: duration; running: duration > 0; repeat: duration > 0
|
||||||
running: duration > 0;
|
|
||||||
repeat: duration > 0
|
|
||||||
onTriggered: content.close();
|
onTriggered: content.close();
|
||||||
}
|
}
|
||||||
FluLoader{
|
FluLoader{
|
||||||
@ -238,26 +235,18 @@ FluObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function showSuccess(text,duration=1000,moremsg){
|
function showSuccess(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_success,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_success,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showInfo(text,duration=1000,moremsg){
|
function showInfo(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_info,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_info,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showWarning(text,duration=1000,moremsg){
|
function showWarning(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_warning,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_warning,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showError(text,duration=1000,moremsg){
|
function showError(text,duration=1000,moremsg){
|
||||||
return mcontrol.create(mcontrol.const_error,text,duration,moremsg ? moremsg : "");
|
mcontrol.create(mcontrol.const_error,text,duration,moremsg ? moremsg : "");
|
||||||
}
|
}
|
||||||
function showCustom(itemcomponent,duration=1000){
|
function showCustom(itemcomponent,duration=1000){
|
||||||
return mcontrol.createCustom(itemcomponent,duration);
|
mcontrol.createCustom(itemcomponent,duration);
|
||||||
}
|
|
||||||
function clearAllInfo(){
|
|
||||||
if(mcontrol.screenLayout != null) {
|
|
||||||
mcontrol.screenLayout.destroy()
|
|
||||||
mcontrol.screenLayout = null
|
|
||||||
}
|
|
||||||
|
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,8 +10,6 @@ Item{
|
|||||||
property int currentIndex : -1
|
property int currentIndex : -1
|
||||||
property int spacing: 8
|
property int spacing: 8
|
||||||
property int orientation: Qt.Vertical
|
property int orientation: Qt.Vertical
|
||||||
property bool disabled: false
|
|
||||||
property bool manuallyDisabled: false
|
|
||||||
QtObject{
|
QtObject{
|
||||||
id: d
|
id: d
|
||||||
function updateChecked(){
|
function updateChecked(){
|
||||||
@ -25,23 +23,12 @@ Item{
|
|||||||
buttons[currentIndex].checked = true
|
buttons[currentIndex].checked = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function refreshButtonStatus() {
|
|
||||||
for(var i = 0;i<buttons.length;i++){
|
|
||||||
if(!manuallyDisabled) buttons[i].enabled = !disabled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
implicitWidth: childrenRect.width
|
implicitWidth: childrenRect.width
|
||||||
implicitHeight: childrenRect.height
|
implicitHeight: childrenRect.height
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
d.updateChecked()
|
d.updateChecked()
|
||||||
}
|
}
|
||||||
onDisabledChanged: {
|
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
|
||||||
onManuallyDisabledChanged: {
|
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
|
||||||
Component{
|
Component{
|
||||||
id:com_vertical
|
id:com_vertical
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
@ -59,7 +46,6 @@ Item{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d.updateChecked()
|
d.updateChecked()
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -80,7 +66,6 @@ Item{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d.updateChecked()
|
d.updateChecked()
|
||||||
d.refreshButtonStatus()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -298,19 +298,16 @@ Window {
|
|||||||
loader_loading.sourceComponent = undefined
|
loader_loading.sourceComponent = undefined
|
||||||
}
|
}
|
||||||
function showSuccess(text,duration,moremsg){
|
function showSuccess(text,duration,moremsg){
|
||||||
return info_bar.showSuccess(text,duration,moremsg)
|
info_bar.showSuccess(text,duration,moremsg)
|
||||||
}
|
}
|
||||||
function showInfo(text,duration,moremsg){
|
function showInfo(text,duration,moremsg){
|
||||||
return info_bar.showInfo(text,duration,moremsg)
|
info_bar.showInfo(text,duration,moremsg)
|
||||||
}
|
}
|
||||||
function showWarning(text,duration,moremsg){
|
function showWarning(text,duration,moremsg){
|
||||||
return info_bar.showWarning(text,duration,moremsg)
|
info_bar.showWarning(text,duration,moremsg)
|
||||||
}
|
}
|
||||||
function showError(text,duration,moremsg){
|
function showError(text,duration,moremsg){
|
||||||
return info_bar.showError(text,duration,moremsg)
|
info_bar.showError(text,duration,moremsg)
|
||||||
}
|
|
||||||
function clearAllInfo(){
|
|
||||||
return info_bar.clearAllInfo()
|
|
||||||
}
|
}
|
||||||
function moveWindowToDesktopCenter(){
|
function moveWindowToDesktopCenter(){
|
||||||
var availableGeometry = FluTools.desktopAvailableGeometry(window)
|
var availableGeometry = FluTools.desktopAvailableGeometry(window)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user