[vlmc-devel] TrackContainer.qml: Cosmetics
Yikai Lu
git at videolan.org
Sat Jul 29 16:39:55 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul 29 22:29:21 2017 +0900| [692be05722c829fd014f3cf0c559c3416c289478] | committer: Yikai Lu
TrackContainer.qml: Cosmetics
> https://code.videolan.org/videolan/vlmc/commit/692be05722c829fd014f3cf0c559c3416c289478
---
src/Gui/timeline/TrackContainer.qml | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/Gui/timeline/TrackContainer.qml b/src/Gui/timeline/TrackContainer.qml
index 895e2cec..1900ed38 100644
--- a/src/Gui/timeline/TrackContainer.qml
+++ b/src/Gui/timeline/TrackContainer.qml
@@ -2,15 +2,9 @@ import QtQuick 2.0
ListView {
id: container
-
- property bool isUpward
- property string type
- property ListModel tracks
-
width: parent.width
height: tracks.count * trackHeight
verticalLayoutDirection: isUpward ? ListView.BottomToTop : ListView.TopToBottom
-
interactive: false
focus: true
model: tracks
@@ -19,5 +13,9 @@ ListView {
type: container.type
clips: model["clips"]
}
+
+ property bool isUpward
+ property string type
+ property ListModel tracks
}
More information about the Vlmc-devel
mailing list