mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 03:10:10 +08:00
update
This commit is contained in:
parent
5a1b10fef8
commit
036450f0a3
@ -46,13 +46,15 @@ FluScrollablePage{
|
||||
headerText:"打开一个滑动文本框"
|
||||
Item{
|
||||
anchors.fill: parent
|
||||
ScrollView{
|
||||
Flickable{
|
||||
id:scrollview
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
contentWidth: parent.width
|
||||
contentWidth: width
|
||||
contentHeight: text_info.height
|
||||
ScrollBar.vertical: FluScrollBar {}
|
||||
FluText{
|
||||
id:test
|
||||
id:text_info
|
||||
width: scrollview.width
|
||||
wrapMode: Text.WrapAnywhere
|
||||
padding: 14
|
||||
|
@ -30,17 +30,13 @@ FluScrollablePage{
|
||||
verticalCenter: parent.verticalCenter
|
||||
left:parent.left
|
||||
}
|
||||
|
||||
FluMediaPlayer{
|
||||
id:player
|
||||
// source:"http://mirror.aarnet.edu.au/pub/TED-talks/911Mothers_2010W-480p.mp4"
|
||||
source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
|
||||
// source:"http://video.chinanews.com/flv/2019/04/23/400/111773_web.mp4"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,6 @@ import QtQuick.Window 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
import QtGraphicalEffects 1.15
|
||||
|
||||
import FluentUI 1.0
|
||||
|
||||
FluWindow {
|
||||
@ -12,7 +11,7 @@ FluWindow {
|
||||
height: 640
|
||||
title: "FluentUI"
|
||||
minimumWidth: 520
|
||||
minimumHeight: 400
|
||||
minimumHeight: 460
|
||||
|
||||
FluAppBar{
|
||||
id:appbar
|
||||
|
@ -48,6 +48,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
x: r
|
||||
y: r
|
||||
preventStealing: true
|
||||
function handleMouse(mouse) {
|
||||
if (mouse.buttons & Qt.LeftButton) {
|
||||
|
||||
|
@ -17,6 +17,7 @@ Rectangle {
|
||||
|
||||
MouseArea{
|
||||
anchors.fill: parent
|
||||
preventStealing: true
|
||||
onClicked: {
|
||||
showControl = !showControl
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user