diff options
-rw-r--r-- | qml/mw-ui.qml | 58 |
1 files changed, 24 insertions, 34 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index a36cc49..5519618 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -445,12 +445,10 @@ Rectangle { Loader { sourceComponent: slidebackground ; anchors.fill: parent} Column { - //anchors.left: parent.left - //anchors.verticalCenter: parent.verticalCenter - x:10; y: 30 Label { text: qsTr("Install and remove software") - width: slideshow.width * .9 + width: slideshow.width + topPadding: 30; leftPadding: 20; padding: 10 font.bold: true wrapMode: Text.WordWrap @@ -458,31 +456,46 @@ Rectangle { } Label { text: qsTr("With Mageia, you will find the software in the media repositories. Mageia users simply access these media via one of the Software Managers."); - width: slideshow.width * .9; - padding: 10 + width: slideshow.width + padding: 20 wrapMode: Text.WordWrap textFormat: Text.RichText color: "white" } + Button { + id: rpmdrake + anchors.left: parent.left; anchors.leftMargin: 20; + objectName: "launch" + onClicked: { + launch.command(["rpmdrake",])} + style: ButtonStyle { + label: Label { + text: qsTr("RPMdrake")+" *"; + width: slideshow.width * .35 + wrapMode: Text.WordWrap + color: "black" + } + } + } Label { text: qsTr("The next slide shows a small selection of popular applications - any of which may be installed at this point.<BR/>"); - width: slideshow.width * .9; - padding: 10 + width: slideshow.width + padding: 20 wrapMode: Text.WordWrap textFormat: Text.RichText color: "white" } Label { text: qsTr("You can find a more detailed list here:"); - width: slideshow.width * .9; - padding: 10 + width: slideshow.width + padding: 20 wrapMode: Text.WordWrap textFormat: Text.RichText color: "white" } Button { id: listApplicationsWiki - x: 10 + anchors.left: parent.left; anchors.leftMargin: 20 objectName: "link" //: Translate only if the link is to a specific page for your language onClicked: { link.weblink(qsTr("https://wiki.mageia.org/en/List_of_applications"))} @@ -495,29 +508,6 @@ Rectangle { } } } - Label { - text: "<BR />"+qsTr("You can find details of how to contact the community by selecting the <i>More information</i> tab."); - width: slideshow.width * .9; - padding: 10 - wrapMode: Text.WordWrap - textFormat: Text.RichText - color: "white" - } - Button { - id: rpmdrake - x: 10 - objectName: "launch" - onClicked: { - launch.command(["rpmdrake",])} - style: ButtonStyle { - label: Label { - text: qsTr("RPMdrake")+" *"; - width: slideshow.width * .35 - wrapMode: Text.WordWrap - color: "black" - } - } - } } Label { anchors {top: parent.bottom; topMargin: 3; horizontalCenter: parent.left; horizontalCenterOffset: parent.width * .4 } |