Advertisement
frek

Untitled

Sep 19th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import QtQuick 2.12
  2. import QtQuick.Window 2.12
  3. import QtQuick.Controls 2.12
  4. import QtQuick.Layouts 1.12
  5.  
  6. ApplicationWindow {
  7.     id: appWin
  8.     visibility: Window.FullScreen
  9.  
  10.     Frame {
  11.         clip: true
  12.         anchors.fill: parent
  13.         anchors.margins: appWin.width / 25
  14.  
  15.         ColumnLayout {
  16.           Layout.fillWidth: true
  17.           Layout.fillHeight: true
  18.  
  19.             RowLayout {
  20.                 Layout.fillWidth: true
  21.  
  22.                 Button { text: qsTr("Name and Surname") }
  23.                 Button { text: qsTr("The Details of the Account") }
  24.                 Button { text: qsTr("General Details") }
  25.                 Button { text: qsTr("Status") }
  26.                 Button { text: qsTr("Close") }
  27.             }
  28.  
  29.             ListView {
  30.                 implicitWidth: appWin.width / 1.1
  31.                 implicitHeight: appWin.height / 1.2
  32.  
  33.                 model: 100
  34.  
  35.                 delegate: RowLayout {
  36.                     width: parent.width
  37.  
  38.                     Button { text: qsTr("The Full Name") }
  39.                     TextField { Layout.fillWidth: true }
  40.                     Button { text: qsTr("See the Details") }
  41.                     Button { text: qsTr("Deptor") }
  42.                     CheckBox { text: qsTr("End") }
  43.                 }
  44.             }
  45.         }
  46.     }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement