Update ring/samples/UsingQSS/usingqss.ring
@@ -3,17 +3,17 @@ load "guilib.ring"
C_COFFEE_STYLE = read("coffee.qss")
-new qApp {
+new QApp {
- win = new qWidget() {
- setWindowtitle("Using QSS File")
- setStylesheet(C_COFFEE_STYLE)
+ win = new QWidget() {
+ setWindowTitle("Using QSS File")
+ setStyleSheet(C_COFFEE_STYLE)
resize(600,600)
for t = 1 to 10
- new qPushbutton(win) {
+ new QPushbutton(win) {
setText("Test" + t) move(10,40*t) resize(200,30)
}
- new qLineEdit(win) {
+ new QLineEdit(win) {
setText("Test" + t) move(250,40*t) resize(200,30)
}
next
