Commit a1d293cf authored by Camilo higuita's avatar Camilo higuita

update for new mauikit piebutton

parent fedee74c
......@@ -84,26 +84,29 @@ Maui.ApplicationWindow
id: addButton
iconName: "list-add"
iconColor: altColorText
model: ListModel
{
ListElement {iconName: "view-notes"; mid: "note"}
ListElement {iconName: "view-links"; mid: "link"}
ListElement {iconName: "view-books"; mid: "page"}
}
onItemClicked:
{
if(item.mid === "note")
newNote()
else if(item.mid === "link")
newLink()
}
barHeight: footBar.height
content: [
Maui.ToolButton
{
iconName: "view-notes"
onClicked: newNote()
},
Maui.ToolButton
{
iconName: "view-links"
onClicked: newLink()
},
Maui.ToolButton
{
iconName: "view-books"
}
]
}
]
// /***** COMPONENTS *****/
// /***** COMPONENTS *****/
Connections
{
......@@ -134,7 +137,7 @@ Maui.ApplicationWindow
onLinkSaved: owl.insertLink(link)
}
// /***** VIEWS *****/
// /***** VIEWS *****/
SwipeView
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment