preparing for a settings module
This commit is contained in:
parent
09f5e23612
commit
e4e3e581ea
2 changed files with 27 additions and 2 deletions
|
@ -5,12 +5,12 @@ import QtQuick.Layouts 1.2
|
|||
import org.kde.kirigami 2.13 as Kirigami
|
||||
import "./" as Presenter
|
||||
import org.presenter 1.0
|
||||
import Qt.labs.settings 1.0
|
||||
|
||||
Kirigami.OverlaySheet {
|
||||
|
||||
id: root
|
||||
property ListModel theModel
|
||||
|
||||
id: root
|
||||
header: Kirigami.Heading {
|
||||
text: "Settings"
|
||||
}
|
||||
|
@ -29,5 +29,12 @@ Kirigami.OverlaySheet {
|
|||
presentationScreen = screens[currentIndex];
|
||||
}
|
||||
}
|
||||
Controls.ToolButton {
|
||||
id: soundEffectBut
|
||||
Kirigami.FormData.label: i18nc("@label:button", "Sound Effect:")
|
||||
text: "Sound Effect"
|
||||
onClicked: soundFileDialog.open()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue