revealJS presentations work sorta

I still have lots of bugs, but the groundwork is there. At least a
proof of concept.
This commit is contained in:
Chris Cochrun 2023-11-14 21:39:30 -06:00
parent 7d79c38c2a
commit e30066b101
6 changed files with 71 additions and 4 deletions

View file

@ -30,17 +30,38 @@ Item {
Controls.TextField {
id: presentationTitleField
Layout.preferredWidth: 300
implicitWidth: 300
placeholderText: "Title..."
text: presentation.title
padding: 10
onEditingFinished: updateTitle(text);
background: Presenter.TextBackground {
control: fontBox
}
}
Controls.ComboBox {
model: ["PRESENTATIONS", "Center", "Right", "Justify"]
implicitWidth: 100
hoverEnabled: true
background: Presenter.TextBackground {
control: fontBox
}
indicator: Kirigami.Icon {
anchors {right: parent.right
verticalCenter: parent.verticalCenter
rightMargin: 2}
source: "arrow-down"
rotation: fontBox.down ? 180 : 0
color: fontBox.pressed ? Kirigami.Theme.focusColor : Kirigami.Theme.textColor
Behavior on rotation {
NumberAnimation {
easing.type: Easing.OutCubic
duration: 300
}
}
}
}
Controls.ToolSeparator {}
Item { Layout.fillWidth: true }