mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
Added settings, logout and improved error states
This commit is contained in:
parent
edb514bf2d
commit
67c8621d6f
11 changed files with 264 additions and 42 deletions
27
qml/components/IconListItem.qml
Normal file
27
qml/components/IconListItem.qml
Normal file
|
@ -0,0 +1,27 @@
|
|||
import QtQuick 2.0
|
||||
import Sailfish.Silica 1.0
|
||||
|
||||
BackgroundItem {
|
||||
property alias text: label.text
|
||||
property alias iconSource: icon.source
|
||||
HighlightImage {
|
||||
id: icon
|
||||
anchors {
|
||||
top: parent.top
|
||||
topMargin: Theme.paddingMedium
|
||||
left: parent.left
|
||||
leftMargin: Theme.horizontalPageMargin
|
||||
bottom: parent.bottom
|
||||
bottomMargin: Theme.paddingMedium
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
id: label
|
||||
anchors {
|
||||
left: icon.right
|
||||
leftMargin: Theme.paddingMedium
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,6 +7,7 @@ import Sailfish.Silica 1.0
|
|||
HighlightImage {
|
||||
property string fallbackImage
|
||||
property bool usingFallbackImage
|
||||
asynchronous: true
|
||||
|
||||
BusyIndicator {
|
||||
anchors.centerIn: parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue