[sailfish] added a temporary cover - regards #67
This commit is contained in:
parent
0f9eae01b6
commit
e02ea44587
2 changed files with 30 additions and 24 deletions
|
|
@ -32,23 +32,29 @@ import QtQuick 2.0
|
|||
import Sailfish.Silica 1.0
|
||||
|
||||
CoverBackground {
|
||||
Label {
|
||||
id: label
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
text: "My Cover"
|
||||
}
|
||||
|
||||
CoverActionList {
|
||||
id: coverAction
|
||||
|
||||
CoverAction {
|
||||
iconSource: "image://theme/icon-cover-next"
|
||||
Image {
|
||||
source: '/usr/share/icons/hicolor/86x86/apps/harbour-ttrss.png'
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
CoverAction {
|
||||
iconSource: "image://theme/icon-cover-pause"
|
||||
Label {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: "Tiny Tiny RSS"
|
||||
}
|
||||
}
|
||||
|
||||
// CoverActionList {
|
||||
// id: coverAction
|
||||
|
||||
// CoverAction {
|
||||
// iconSource: "image://theme/icon-cover-next"
|
||||
// }
|
||||
|
||||
// CoverAction {
|
||||
// iconSource: "image://theme/icon-cover-pause"
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@ URL: http://example.org/
|
|||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source100: harbour-ttrss.yaml
|
||||
Requires: sailfishsilica-qt5 >= 0.10.9
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
BuildRequires: pkgconfig(Qt5Qml)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(sailfishapp) >= 0.0.10
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Qml)
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
|
|
@ -62,14 +62,14 @@ desktop-file-install --delete-original \
|
|||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
/usr/share/harbour-ttrss/qml
|
||||
%{_bindir}
|
||||
%{_datadir}/%{name}/qml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
|
||||
/usr/bin
|
||||
/usr/share/harbour-ttrss
|
||||
/usr/share/applications
|
||||
/usr/share/icons/hicolor/86x86/apps
|
||||
/usr/share/applications
|
||||
/usr/share/harbour-ttrss
|
||||
/usr/bin
|
||||
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/%{name}/qml
|
||||
%{_bindir}
|
||||
/usr/share/harbour-ttrss/qml
|
||||
# >> files
|
||||
# << files
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue