Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.64 KB | None | 0 0
  1. import QtQuick 2.0
  2. import QtQuick.Controls 2.0
  3. import QtQuick.Controls.Material 2.0
  4. import QtQuick.Layouts 1.0
  5. import QtQuick.Window 2.0
  6. import QtCharts 2.1
  7.  
  8.  
  9. ApplicationWindow {
  10.     visible: true
  11.     width: 640
  12.     height: 480
  13.     title: qsTr("Money Holder")
  14.     Material.accent: Material.Grey
  15.     Material.theme: Material.Dark
  16.     ChartView {
  17.         width: 400
  18.         height: 300
  19.         theme: ChartView.ChartThemeBrownSand
  20.         antialiasing: true
  21.  
  22.         PieSeries {
  23.             id: pieSeries
  24.             PieSlice { label: "eaten"; value: 94.9 }
  25.             PieSlice { label: "not yet eaten"; value: 5.1 }
  26.         }
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement