Experimentation with QML. Plan to revert to a non-QML setup for now.
This commit is contained in:
parent
f209dc1d87
commit
fff98a41df
|
@ -1,9 +1,10 @@
|
|||
import sys
|
||||
|
||||
from PySide.QtCore import *
|
||||
from PySide.QtGui import *
|
||||
from PySide.QtCore import QUrl
|
||||
from PySide.QtGui import QApplication
|
||||
from PySide.QtDeclarative import QDeclarativeView
|
||||
|
||||
|
||||
def main():
|
||||
# Create app
|
||||
app = QApplication(sys.argv)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import QtQuick 1.0
|
||||
|
||||
Rectangle {
|
||||
width: 200
|
||||
height: 200
|
||||
width: 800
|
||||
height: 600
|
||||
color: "red"
|
||||
|
||||
Text {
|
||||
text: "justCheckers"
|
||||
text: ""
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue