[Pkg-privacy-commits] [tails-installer] 15/210: Some more visual tweaks before connecting to the Python backend

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit 274441fe10b3e9e02096b539bc2d99920b849e99
Author: Martin Briza <mbriza at redhat.com>
Date:   Fri Feb 13 14:12:05 2015 +0100

    Some more visual tweaks before connecting to the Python backend
---
 liveusb/components/ImageList.qml | 7 ++++---
 liveusb/liveusb.qml              | 8 +++++---
 liveusb/liveusb.qmlproject.user  | 2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/liveusb/components/ImageList.qml b/liveusb/components/ImageList.qml
index 6ea805f..3881fe7 100644
--- a/liveusb/components/ImageList.qml
+++ b/liveusb/components/ImageList.qml
@@ -8,7 +8,7 @@ Item {
 
     property alias currentIndex: osListView.currentIndex
     property bool viewFullList: false
-    property real fadeDuration: 250
+    property real fadeDuration: 200
 
     signal stepForward(int index)
 
@@ -20,7 +20,7 @@ Item {
         opacity: root.viewFullList ? 1.0 : 0.0
         id: searchBox
         border {
-            color: "#c3c3c3"
+            color: searchInput.activeFocus ? "#4a90d9" : "#c3c3c3"
             width: 1
         }
         radius: 6
@@ -71,6 +71,7 @@ Item {
             }
         }
         TextInput {
+            id: searchInput
             anchors {
                 left: magnifyingGlass.right
                 top: parent.top
@@ -82,7 +83,7 @@ Item {
                 anchors.fill: parent
                 color: "light gray"
                 text: "find an operating system image"
-                visible: !parent.focus
+                visible: !parent.activeFocus && parent.text.length == 0
                 verticalAlignment: Text.AlignVCenter
             }
             verticalAlignment: TextInput.AlignVCenter
diff --git a/liveusb/liveusb.qml b/liveusb/liveusb.qml
index 3afa6a9..0fa9317 100644
--- a/liveusb/liveusb.qml
+++ b/liveusb/liveusb.qml
@@ -11,7 +11,7 @@ ApplicationWindow {
     minimumHeight: 480
     maximumHeight: minimumHeight
     maximumWidth: minimumWidth
-    title: "OS Boot imager"
+    title: "LiveUSB Creator"
 
     SystemPalette {
         id: palette
@@ -36,7 +36,7 @@ ApplicationWindow {
         ListElement {
             name: "Custom OS..."
             description: "<pick from file chooser>"
-            icon: ""
+            icon: "/usr/share/icons/Adwaita/64x64/actions/document-open-symbolic.symbolic.png"
             hasDetails: false
         }
         ListElement {
@@ -230,9 +230,11 @@ ApplicationWindow {
             }
             model: ["components/ImageList.qml", "components/ImageDetails.qml"]
             orientation: ListView.Horizontal
-            snapMode: ListView.SnapOneItem
+            snapMode: ListView.SnapToItem
+            highlightFollowsCurrentItem: true
             interactive: false
             highlightMoveVelocity: 3 * contentList.width
+            highlightResizeDuration: 0
             cacheBuffer: 2*width
             delegate: Item {
                 id: contentComponent
diff --git a/liveusb/liveusb.qmlproject.user b/liveusb/liveusb.qmlproject.user
index 1c1434b..0960a09 100644
--- a/liveusb/liveusb.qmlproject.user
+++ b/liveusb/liveusb.qmlproject.user
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 3.3.0, 2015-02-10T13:34:17. -->
+<!-- Written by QtCreator 3.3.0, 2015-02-12T15:41:44. -->
 <qtcreator>
  <data>
   <variable>EnvironmentId</variable>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list