Quick GUI: Improve a few details

This commit is contained in:
Martchus 2018-12-03 00:30:55 +01:00
parent f4cc381cf4
commit 2d249b210a
3 changed files with 11 additions and 2 deletions

View File

@ -169,6 +169,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
Layout.fillHeight: true
text: model.name
verticalAlignment: Text.AlignVCenter
}
}
MouseArea {

View File

@ -89,7 +89,14 @@ Kirigami.ScrollablePage {
oldIndex, 1,
fieldsListView.model.index(-1, 0),
newIndex)
opacity: fieldRow.isLast ? 0 : 100
visible: !fieldRow.isLast
}
Kirigami.Icon {
width: Kirigami.Units.iconSizes.smallMedium
height: width
source: "list-add"
opacity: 0.6
visible: fieldRow.isLast
}
Item {
Layout.fillWidth: true
@ -114,6 +121,7 @@ Kirigami.ScrollablePage {
return pieces.join(": ")
}
color: fieldRow.isLast ? "gray" : palette.text
verticalAlignment: Text.AlignVCenter
}
}
MouseArea {

View File

@ -23,7 +23,7 @@ static Controller *controllerForAndroid = nullptr;
void applyThemingForAndroid()
{
QtAndroid::androidActivity().callObjectMethod("applyTheming", "()");
QtAndroid::androidActivity().callMethod<void>("applyTheming", "()");
}
void registerControllerForAndroid(Controller *controller)