Advertisement
tasuku

Untitled

Jun 10th, 2014
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. import QtQuick 2.2
  2. import QtQuick.Controls 1.2
  3. import QtQuick.Layouts 1.0
  4. import Example.FizzBuzz 0.1
  5.  
  6. ApplicationWindow {
  7. title: 'FizzBuzz'
  8. GridLayout {
  9. anchors.fill: parent
  10. anchors.margins: 10
  11. columns: 2
  12. Label { text: 'Input' }
  13. TextField { id: input; focus: true }
  14. Label { text: 'Result' }
  15. Label { id: result; text: fizzBuzz.result }
  16. }
  17. FizzBuzz {
  18. id: fizzBuzz
  19. input: input.text
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement