1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/QtClient/JoplinQtClient/AddButton.qml
2016-12-29 20:19:00 +01:00

43 lines
633 B
QML
Executable File

import QtQuick 2.0
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.1
Item {
id: root
width: 120
height: 100
signal addNoteButtonClicked
signal addFolderButtonClicked
ColumnLayout {
anchors.fill: parent
spacing: 2
Button {
id: addNoteButton
text: "Add note"
Layout.fillWidth: true
Layout.fillHeight: true
onClicked: root.addNoteButtonClicked()
}
Button {
id: addFolderButton
text: "Add folder"
Layout.fillWidth: true
Layout.fillHeight: true
onClicked: root.addFolderButtonClicked()
}
Button {
text: "ADD"
Layout.fillWidth: true
Layout.fillHeight: true
}
}
}