stevennathaniel

QT Creator: Window Sederhana & Tombol

May 11th, 2016
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import QtQuick 2.6
  2. import QtQuick.Window 2.2
  3. import QtQuick.Controls 1.2
  4.  
  5.  
  6. ApplicationWindow {
  7.  
  8.     id: applicationWindow2
  9.  
  10.     title: qsTr("Form 2")
  11.  
  12.     width: 640
  13.  
  14.     height: 480
  15.  
  16.  
  17.     Button {
  18.  
  19.         id: button2
  20.  
  21.         text: qsTr("Exit")
  22.  
  23.         width: 98
  24.  
  25.         height: 63
  26.  
  27.         anchors.horizontalCenter: parent.horizontalCenter
  28.     }
  29.  
  30. }
RAW Paste Data