Commit b2bb9af7 authored by Camilo higuita's avatar Camilo higuita

latest changes

parent 06331885
......@@ -154,36 +154,36 @@ Maui.ApplicationWindow
headBar.visible: !fullScreen
// headBar.leftContent: Maui.ToolButton
// {
// id: _indicatorButton
// iconName: switch(currentView)
// {
// case views.store:
// _storeButton.iconName; break;
// case views.cloud:
// _cloudButton.iconName; break;
// case views.tags:
// _tagsButton.iconName; break;
// }
// onClicked: switch(iconName)
// {
// case _storeButton.iconName:
// currentView = views.store; break;
// case _cloudButton.iconName:
// currentView = views.cloud; break;
// case _tagsButton.iconName:
// currentView = views.tags; break;
// }
// }
// headBar.leftContent: Maui.ToolButton
// {
// id: _indicatorButton
// iconName: switch(currentView)
// {
// case views.store:
// _storeButton.iconName; break;
// case views.cloud:
// _cloudButton.iconName; break;
// case views.tags:
// _tagsButton.iconName; break;
// }
// onClicked: switch(iconName)
// {
// case _storeButton.iconName:
// currentView = views.store; break;
// case _cloudButton.iconName:
// currentView = views.cloud; break;
// case _tagsButton.iconName:
// currentView = views.tags; break;
// }
// }
headBar.middleContent: [
Maui.ToolButton
{
// text: qsTr("Viewer")
text: qsTr("Viewer")
visible: !pixViewer.holder.visible
iconColor: currentView === views.viewer ? highlightColor : headBarFGColor
iconName: "image"
......@@ -192,7 +192,7 @@ Maui.ApplicationWindow
Maui.ToolButton
{
// text: qsTr("Gallery")
text: qsTr("Gallery")
iconColor: currentView === views.gallery? highlightColor : headBarFGColor
iconName: "image-multiple"
onClicked: currentView = views.gallery
......@@ -200,7 +200,7 @@ Maui.ApplicationWindow
Maui.ToolButton
{
// text: qsTr("Folders")
text: qsTr("Folders")
iconColor: currentView === views.folders? highlightColor : headBarFGColor
iconName: "image-folder-view"
onClicked: currentView = views.folders
......@@ -208,7 +208,7 @@ Maui.ApplicationWindow
Maui.ToolButton
{
// text: qsTr("Albums")
text: qsTr("Albums")
iconColor: currentView === views.albums? highlightColor : headBarFGColor
iconName: "image-frames"
onClicked: currentView = views.albums
......
......@@ -2,7 +2,7 @@
Cloud::Cloud(QObject *parent) : BaseList (parent)
{
this->fm = FM::getInstance();
this->fm = new FM(this);
this->setList();
connect(this->fm, &FM::cloudServerContentReady, [this](const FMH::MODEL_LIST &list, const QString &url)
......
......@@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtGraphicalEffects 1.0
import org.kde.kirigami 2.5 as Kirigami
import org.kde.kirigami 2.4 as Kirigami
Flickable
{
......
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