Commit 909e33ae authored by camilo higuita's avatar camilo higuita

now start working on the plasmo efforts

parent 14ad3bd2
......@@ -32,47 +32,7 @@ Maui.Page
margins: 0
colorScheme.backgroundColor: viewerBackgroundColor
headBarExit: false
allowRiseContent: false
headBar.drawBorder: false
headBarTitle: currentPic.title ? currentPic.title : ""
headBar.rightContent: [
Maui.ToolButton
{
iconName: "object-rotate-left"
onClicked: viewer.currentItem.rotateLeft()
},
Maui.ToolButton
{
iconName: "object-rotate-right"
onClicked: viewer.currentItem.rotateRight()
},
Maui.ToolButton
{
iconName: "overflow-menu"
onClicked: viewerMenu.popup()
}
]
headBar.leftContent: [
Maui.ToolButton
{
iconName: "document-share"
onClicked:
{
if(isAndroid)
Maui.Android.shareDialog([pixViewer.currentPic.url])
else
{
dialogLoader.sourceComponent = shareDialogComponent
dialog.show([pixViewer.currentPic.url])
}
}
}
]
// Connections
// {
......@@ -96,9 +56,6 @@ Maui.Page
// id: editTools
// }
floatingBar: true
footBarOverlap: true
PixMenu
{
id: _picMenu
......@@ -111,8 +68,79 @@ Maui.Page
list: GalleryList {}
}
floatingBar: false
footBarOverlap: true
allowRiseContent: false
headBar.visible: false
headBarExit: false
footBar.rightContent: [
Maui.ToolButton
{
iconName: "document-share"
onClicked:
{
if(isAndroid)
Maui.Android.shareDialog([pixViewer.currentPic.url])
else
{
dialogLoader.sourceComponent = shareDialogComponent
dialog.show([pixViewer.currentPic.url])
}
}
},
Maui.ToolButton
{
iconName: "object-rotate-left"
onClicked: viewer.currentItem.rotateLeft()
},
Maui.ToolButton
{
iconName: "object-rotate-right"
onClicked: viewer.currentItem.rotateRight()
},
Maui.ToolButton
{
iconName: "overflow-menu"
onClicked: viewerMenu.popup()
}
]
footBar.colorScheme.backgroundColor: accentColor
footBar.colorScheme.textColor: altColorText
// footBar.colorScheme.borderColor: accentColor
footBar.leftContent: [
Maui.ToolButton
{
iconName: "go-previous"
iconColor: altColorText
onClicked: VIEWER.previous()
},
Maui.ToolButton
{
iconName: "love"
colorScheme.highlightColor: "#ff557f";
iconColor: pixViewer.currentPicFav ? colorScheme.highlightColor : colorScheme.textColor
onClicked: pixViewer.currentPicFav = VIEWER.fav([pixViewer.currentPic.url])
},
Maui.ToolButton
{
iconName: "go-next"
iconColor: altColorText
onClicked: VIEWER.next()
}
]
ColumnLayout
{
height: parent.height
......@@ -124,36 +152,6 @@ Maui.Page
Layout.fillHeight: true
Layout.fillWidth: true
footBar.colorScheme.backgroundColor: accentColor
footBar.colorScheme.textColor: altColorText
// footBar.colorScheme.borderColor: accentColor
footBar.middleContent: [
Maui.ToolButton
{
iconName: "go-previous"
iconColor: altColorText
onClicked: VIEWER.previous()
},
Maui.ToolButton
{
iconName: "love"
colorScheme.highlightColor: "#ff557f";
iconColor: pixViewer.currentPicFav ? colorScheme.highlightColor : colorScheme.textColor
onClicked: pixViewer.currentPicFav = VIEWER.fav([pixViewer.currentPic.url])
},
Maui.ToolButton
{
iconName: "go-next"
iconColor: altColorText
onClicked: VIEWER.next()
}
]
Maui.Holder
{
id: holder
......
......@@ -16,14 +16,10 @@ Maui.Page
property alias count : viewerList.count
property alias currentIndex : viewerList.currentIndex
property alias currentItem: viewerList.currentItem
headBar.visible: false
clip: true
focus: true
floatingBar: true
// footBarOverlap: true
// allowRiseContent: false
headBar.visible: false
colorScheme.backgroundColor: viewerBackgroundColor
ListView
......
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