Experimentation with QML. Plan to revert to a non-QML setup for now.

This commit is contained in:
Dorian 2014-07-10 08:08:37 -04:00
parent f209dc1d87
commit fff98a41df
2 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,10 @@
import sys import sys
from PySide.QtCore import * from PySide.QtCore import QUrl
from PySide.QtGui import * from PySide.QtGui import QApplication
from PySide.QtDeclarative import QDeclarativeView from PySide.QtDeclarative import QDeclarativeView
def main(): def main():
# Create app # Create app
app = QApplication(sys.argv) app = QApplication(sys.argv)

View File

@ -1,12 +1,12 @@
import QtQuick 1.0 import QtQuick 1.0
Rectangle { Rectangle {
width: 200 width: 800
height: 200 height: 600
color: "red" color: "red"
Text { Text {
text: "justCheckers" text: ""
anchors.centerIn: parent anchors.centerIn: parent
} }
} }