Advertisement
Guest User

SearchPage

a guest
Sep 19th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Felgo 3.0
  2. import QtQuick 2.0
  3. import VPlayApps 1.0
  4. import QtQuick.Layouts 1.3
  5.  
  6. Page {
  7.     id: searchPage
  8.     title: qsTr("Property Cross")
  9.  
  10.     rightBarItem: NavigationBarRow {
  11.         ActivityIndicatorBarItem {
  12.             visible: true
  13.         }
  14.         IconButtonBarItem {
  15.             icon: IconType.heart
  16.             title: qsTr("Favourites")
  17.         }
  18.     }
  19.  
  20.     Column {
  21.         id: contentCol
  22.         anchors.left: parent.left
  23.         anchors.top: parent.top
  24.         anchors.right: parent.right
  25.         anchors.margins: contentPadding
  26.         spacing: contentPadding
  27.         height: 200
  28.  
  29.  
  30.         AppText {
  31.             width: parent.width
  32.             wrapMode: Text.WrapAtWordBoundaryOrAnywhere
  33.             font.pixelSize: sp(12)
  34.             text: qsTr("Use the form below to search for ball torture in your area")
  35.         }
  36.  
  37.          AppText {
  38.              width: parent.width
  39.              font.pixelSize: sp(12)
  40.              color: Theme.secondaryTextColor
  41.              font.italic: true
  42.              text: qsTr("You can quickly aquire CBT by typing 'the name of any city close to you'...")
  43.              wrapMode: text.WrapAtWordBoundaryOrAnywhere
  44.              height: 200
  45.  
  46.          }
  47.  
  48.          AppTextField {
  49.              id: searchInput
  50.              width: parent.width
  51.              showClearButton: true
  52.              placeholderText: qsTr("Search...")
  53.              inputMethodHints: Qt.ImhNoPredictiveText
  54.              height: 200
  55.  
  56.  
  57.          }
  58.  
  59.          }
  60.      }
  61.  
  62.  
  63.  
  64.         Row {
  65.             spacing: contentPadding
  66.         }
  67.  
  68.     }
  69.  
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement