Put advanced media stuff in a sub-menu

This commit is contained in:
Anton Thomasson 2021-07-09 22:46:21 +02:00
parent c0fdb31483
commit c4b8fd0b74
9 changed files with 37 additions and 1 deletions

View file

@ -31,7 +31,7 @@ BackgroundItem {
Label {
id: label
leftPadding: Theme.paddingLarge
leftPadding: Theme.paddingLarge*2
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
color: barButton.highlighted ? Theme.highlightColor : Theme.primaryColor

View file

@ -162,19 +162,27 @@ Page {
name: "document-format"
prettyName: qsTr("Transfer format")
}
BarButton {
id: mediaButton
text: qsTr("Media")
}
ChoiceSetting {
visible: mediaButton.active
tag: IppMsg.Keyword
name: "media-type"
subkey: "media-col"
prettyName: qsTr("Media type")
}
ChoiceSetting {
visible: mediaButton.active
tag: IppMsg.Keyword
name: "media-source"
subkey: "media-col"
prettyName: qsTr("Media source")
}
ChoiceSetting {
visible: mediaButton.active
tag: IppMsg.Keyword
name: "output-bin"
prettyName: qsTr("Output bin")

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>

View file

@ -511,6 +511,10 @@
<source>Scaling</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Media</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RangeSetting</name>