attempting to make main ui more consistent
This commit is contained in:
parent
066ec9eb1a
commit
be59eadc58
1 changed files with 123 additions and 116 deletions
|
@ -36,7 +36,7 @@ FocusScope {
|
|||
|
||||
GridLayout {
|
||||
anchors.fill: parent
|
||||
/* anchors.bottomMargin: 40 */
|
||||
anchors.bottomMargin: 50
|
||||
columns: 3
|
||||
rowSpacing: 5
|
||||
columnSpacing: 0
|
||||
|
@ -82,11 +82,17 @@ FocusScope {
|
|||
Layout.columnSpan: 3
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 3
|
||||
|
||||
Kirigami.Icon {
|
||||
source: "arrow-left"
|
||||
Layout.preferredWidth: 100
|
||||
Layout.preferredHeight: 200
|
||||
Layout.alignment: Qt.AlignRight
|
||||
implicitWidth: 100
|
||||
implicitHeight: 200
|
||||
anchors.right: previewSlide.left
|
||||
/* Layout.alignment: Qt.AlignRight */
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onPressed: previousSlideAction()
|
||||
|
@ -96,10 +102,10 @@ FocusScope {
|
|||
|
||||
Presenter.Slide {
|
||||
id: previewSlide
|
||||
Layout.preferredWidth: 700
|
||||
Layout.preferredHeight: width / 16 * 9
|
||||
Layout.minimumWidth: 300
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
implicitWidth: 700
|
||||
implicitHeight: width / 16 * 9
|
||||
/* minimumWidth: 300 */
|
||||
anchors.centerIn: parent
|
||||
textSize: width / 15
|
||||
itemType: root.itemType
|
||||
imageSource: imagebackground
|
||||
|
@ -113,9 +119,10 @@ FocusScope {
|
|||
|
||||
Kirigami.Icon {
|
||||
source: "arrow-right"
|
||||
Layout.preferredWidth: 100
|
||||
Layout.preferredHeight: 200
|
||||
Layout.alignment: Qt.AlignLeft
|
||||
implicitWidth: 100
|
||||
implicitHeight: 200
|
||||
anchors.left: previewSlide.right
|
||||
/* Layout.alignment: Qt.AlignLeft */
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onPressed: nextSlideAction()
|
||||
|
@ -123,6 +130,8 @@ FocusScope {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
@ -175,11 +184,18 @@ FocusScope {
|
|||
Layout.columnSpan: 3
|
||||
}
|
||||
|
||||
/* Item { */
|
||||
/* /\* Layout.preferredHeight: 20 *\/ */
|
||||
/* Layout.fillHeight: true */
|
||||
/* Layout.fillWidth: true */
|
||||
/* Layout.columnSpan: 3 */
|
||||
/* } */
|
||||
|
||||
}
|
||||
|
||||
ListView {
|
||||
id: previewSlidesList
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.columnSpan: 3
|
||||
anchors.bottom: parent.bottom
|
||||
orientation: ListView.Horizontal
|
||||
cacheBuffer: 900
|
||||
reuseItems: true
|
||||
|
@ -247,15 +263,6 @@ FocusScope {
|
|||
}
|
||||
|
||||
}
|
||||
Item {
|
||||
/* Layout.preferredHeight: 20 */
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 3
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: SlideObject
|
||||
function onVideoBackgroundChanged() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue