Quick GUI: Improve a few details
This commit is contained in:
parent
f4cc381cf4
commit
2d249b210a
|
@ -169,6 +169,7 @@ Kirigami.ScrollablePage {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
text: model.name
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -23,7 +23,7 @@ static Controller *controllerForAndroid = nullptr;
|
|||
|
||||
void applyThemingForAndroid()
|
||||
{
|
||||
QtAndroid::androidActivity().callObjectMethod("applyTheming", "()");
|
||||
QtAndroid::androidActivity().callMethod<void>("applyTheming", "()");
|
||||
}
|
||||
|
||||
void registerControllerForAndroid(Controller *controller)
|
||||
|
|
Loading…
Reference in New Issue