qmlinneractiveads.qml 771 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import QtQuick 1.0
  2. Rectangle {
  3. width: 360
  4. height: 500
  5. Text {
  6. anchors.centerIn: parent
  7. text: "Hello World"
  8. }
  9. Component.onCompleted: ad.loadAd();
  10. /*
  11. InnerActiveAd {
  12. id: ad
  13. width: 360
  14. height: 100
  15. x: 0
  16. y: 0
  17. appid: "blah"
  18. }
  19. */
  20. /*
  21. InnerActiveAdInterstitial {
  22. id: interstitial
  23. width: parent.width
  24. height: parent.height
  25. appid: "blah"
  26. skipIn: 20
  27. }
  28. */
  29. InnerActiveAdRotate {
  30. id: rotateAd
  31. width: 360
  32. height: 200
  33. x: 0
  34. y: 0
  35. screenWidth: 360
  36. screenHeight: 640
  37. interval: 5
  38. appid: "blah"
  39. }
  40. }