mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 15:06:52 +08:00
update
This commit is contained in:
parent
98363542d3
commit
6dd859dd1d
@ -103,6 +103,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'Rectangle{
|
code:'Rectangle{
|
||||||
width: 40
|
width: 40
|
||||||
height: 40
|
height: 40
|
||||||
|
@ -51,6 +51,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTextButton{
|
code:'FluTextButton{
|
||||||
text:"Text Button"
|
text:"Text Button"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -92,6 +93,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluButton{
|
code:'FluButton{
|
||||||
text:"Standard Button"
|
text:"Standard Button"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -133,6 +135,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluFilledButton{
|
code:'FluFilledButton{
|
||||||
text:"Filled Button"
|
text:"Filled Button"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -174,6 +177,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluToggleButton{
|
code:'FluToggleButton{
|
||||||
text:"Toggle Button"
|
text:"Toggle Button"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -216,6 +220,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluIconButton{
|
code:'FluIconButton{
|
||||||
iconSource:FluentIcons.ChromeCloseContrast
|
iconSource:FluentIcons.ChromeCloseContrast
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -266,6 +271,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluDropDownButton{
|
code:'FluDropDownButton{
|
||||||
text:"DropDownButton"
|
text:"DropDownButton"
|
||||||
items:[
|
items:[
|
||||||
@ -327,6 +333,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluRadioButton{
|
code:'FluRadioButton{
|
||||||
selected:true
|
selected:true
|
||||||
text:"Text Button"
|
text:"Text Button"
|
||||||
@ -365,6 +372,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluCheckBox{
|
code:'FluCheckBox{
|
||||||
text:"Check Box"
|
text:"Check Box"
|
||||||
}'
|
}'
|
||||||
|
@ -23,6 +23,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluCalendarView{
|
code:'FluCalendarView{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
@ -44,6 +45,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluCalendarPicker{
|
code:'FluCalendarPicker{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
|
@ -39,6 +39,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluCarousel{
|
code:'FluCarousel{
|
||||||
width: 400
|
width: 400
|
||||||
height: 300
|
height: 300
|
||||||
|
@ -30,6 +30,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluCheckBox{
|
code:'FluCheckBox{
|
||||||
text:"Text"
|
text:"Text"
|
||||||
}'
|
}'
|
||||||
|
@ -41,6 +41,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluColorView{
|
code:'FluColorView{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
@ -64,6 +65,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluColorPicker{
|
code:'FluColorPicker{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
|
@ -32,6 +32,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluDatePicker{
|
code:'FluDatePicker{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
@ -59,6 +60,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluDatePicker{
|
code:'FluDatePicker{
|
||||||
showYear:false
|
showYear:false
|
||||||
}'
|
}'
|
||||||
|
@ -29,6 +29,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluContentDialog{
|
code:'FluContentDialog{
|
||||||
id:dialog
|
id:dialog
|
||||||
title:"友情提示"
|
title:"友情提示"
|
||||||
|
@ -15,14 +15,14 @@ FluScrollablePage{
|
|||||||
|
|
||||||
FluArea{
|
FluArea{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
height: layout_column.height+40
|
height: layout_column.height+20
|
||||||
paddings: 10
|
paddings: 10
|
||||||
Layout.topMargin: 20
|
Layout.topMargin: 20
|
||||||
Column{
|
Column{
|
||||||
id:layout_column
|
id:layout_column
|
||||||
spacing: 15
|
spacing: 15
|
||||||
anchors{
|
anchors{
|
||||||
verticalCenter: parent.verticalCenter
|
top:parent.top
|
||||||
left:parent.left
|
left:parent.left
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,12 +77,12 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluExpander{
|
code:'FluExpander{
|
||||||
headerText:"打开一个单选框"
|
headerText:"打开一个单选框"
|
||||||
Item{
|
Item{
|
||||||
|
@ -44,6 +44,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluFlipView{
|
code:'FluFlipView{
|
||||||
Image{
|
Image{
|
||||||
source: "qrc:/res/image/banner_1.jpg"
|
source: "qrc:/res/image/banner_1.jpg"
|
||||||
@ -97,6 +98,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluFlipView{
|
code:'FluFlipView{
|
||||||
vertical:true
|
vertical:true
|
||||||
Image{
|
Image{
|
||||||
|
@ -52,6 +52,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'showInfo("这是一个Info样式的InfoBar")
|
code:'showInfo("这是一个Info样式的InfoBar")
|
||||||
|
|
||||||
showWarning("这是一个Warning样式的InfoBar")
|
showWarning("这是一个Warning样式的InfoBar")
|
||||||
|
@ -38,6 +38,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluMediaPlayer{
|
code:'FluMediaPlayer{
|
||||||
id:player
|
id:player
|
||||||
source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
|
source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
|
||||||
|
@ -53,6 +53,7 @@ FluScrollablePage{
|
|||||||
|
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluMenu{
|
code:'FluMenu{
|
||||||
id:menu
|
id:menu
|
||||||
FluMenuItem:{
|
FluMenuItem:{
|
||||||
|
@ -95,6 +95,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluWindow{
|
code:'FluWindow{
|
||||||
//launchMode: FluWindow.Standard
|
//launchMode: FluWindow.Standard
|
||||||
//launchMode: FluWindow.SingleTask
|
//launchMode: FluWindow.SingleTask
|
||||||
@ -128,6 +129,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluButton{
|
code:'FluButton{
|
||||||
text:"点击跳转"
|
text:"点击跳转"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -165,6 +167,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'property var loginPageRegister: registerForPageResult("/login")
|
code:'property var loginPageRegister: registerForPageResult("/login")
|
||||||
|
|
||||||
Connections{
|
Connections{
|
||||||
|
@ -50,6 +50,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluPivot{
|
code:'FluPivot{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
FluPivotItem:{
|
FluPivotItem:{
|
||||||
|
@ -47,6 +47,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluProgressBar{
|
code:'FluProgressBar{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,7 @@ FluScrollablePage{
|
|||||||
|
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluRatingControl{
|
code:'FluRatingControl{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
|
@ -134,6 +134,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluRectangle{
|
code:'FluRectangle{
|
||||||
radius: [25,25,25,25]
|
radius: [25,25,25,25]
|
||||||
width: 50
|
width: 50
|
||||||
|
@ -51,7 +51,7 @@ FluScrollablePage{
|
|||||||
FluArea{
|
FluArea{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: 20
|
Layout.topMargin: 20
|
||||||
height: 168
|
height: 80
|
||||||
paddings: 10
|
paddings: 10
|
||||||
|
|
||||||
ColumnLayout{
|
ColumnLayout{
|
||||||
|
@ -25,6 +25,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluSlider{
|
code:'FluSlider{
|
||||||
value:50
|
value:50
|
||||||
}'
|
}'
|
||||||
@ -46,6 +47,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluSlider{
|
code:'FluSlider{
|
||||||
vertical:true
|
vertical:true
|
||||||
value:50
|
value:50
|
||||||
|
@ -78,6 +78,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluStatusView{
|
code:'FluStatusView{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
statusMode: FluStatusView.Loading
|
statusMode: FluStatusView.Loading
|
||||||
|
@ -113,6 +113,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTabView{
|
code:'FluTabView{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
@ -45,6 +45,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTextBox{
|
code:'FluTextBox{
|
||||||
placeholderText:"单行输入框"
|
placeholderText:"单行输入框"
|
||||||
}'
|
}'
|
||||||
@ -83,6 +84,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluMultilineTextBox{
|
code:'FluMultilineTextBox{
|
||||||
placeholderText:"多行输入框"
|
placeholderText:"多行输入框"
|
||||||
}'
|
}'
|
||||||
@ -122,6 +124,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluAutoSuggestBox{
|
code:'FluAutoSuggestBox{
|
||||||
placeholderText:"AutoSuggestBox"
|
placeholderText:"AutoSuggestBox"
|
||||||
}'
|
}'
|
||||||
|
@ -76,12 +76,12 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTheme.primaryColor = FluColors.Orange
|
code:'FluTheme.primaryColor = FluColors.Orange
|
||||||
|
|
||||||
FluTheme.dark = true
|
FluTheme.dark = true
|
||||||
|
|
||||||
FluTheme.nativeText = true
|
FluTheme.nativeText = true'
|
||||||
'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTimePicker{
|
code:'FluTimePicker{
|
||||||
|
|
||||||
}'
|
}'
|
||||||
@ -67,6 +68,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTimePicker{
|
code:'FluTimePicker{
|
||||||
hourFormat:FluTimePicker.HH
|
hourFormat:FluTimePicker.HH
|
||||||
}'
|
}'
|
||||||
|
@ -30,6 +30,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluToggleSwitch{
|
code:'FluToggleSwitch{
|
||||||
text:"Text"
|
text:"Text"
|
||||||
}'
|
}'
|
||||||
|
@ -45,6 +45,7 @@ FluScrollablePage{
|
|||||||
}
|
}
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluIconButton{
|
code:'FluIconButton{
|
||||||
iconSource:FluentIcons.ChromeCloseContrast
|
iconSource:FluentIcons.ChromeCloseContrast
|
||||||
iconSize: 15
|
iconSize: 15
|
||||||
|
@ -142,6 +142,7 @@ FluScrollablePage {
|
|||||||
|
|
||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: -1
|
||||||
code:'FluTreeView{
|
code:'FluTreeView{
|
||||||
id:tree_view
|
id:tree_view
|
||||||
width:240
|
width:240
|
||||||
|
@ -76,6 +76,7 @@ Item {
|
|||||||
clip: true
|
clip: true
|
||||||
anchors{
|
anchors{
|
||||||
top: layout_header.bottom
|
top: layout_header.bottom
|
||||||
|
topMargin: -1
|
||||||
left: layout_header.left
|
left: layout_header.left
|
||||||
}
|
}
|
||||||
radius: 4
|
radius: 4
|
||||||
|
Loading…
Reference in New Issue
Block a user