1 # Form/Window View - Generated Source Code File
2 # Generated by the Ring 1.11 Form Designer
11 if IsMainSourceFile() {
14 new labelandbuttoncolorsView { win.show() }
19 class labelandbuttoncolorsView from WindowsViewParent
20 win = new MainWindow() {
23 setWindowTitle("Label and Button Colors")
24 setstylesheet("background-color:;")
25 Label1 = new label(win) {
28 setstylesheet("color:#00007f;background-color:#00ff7f;")
29 oFont = new qfont("",0,0,0)
30 oFont.fromstring("MS Shell Dlg 2,18,-1,5,50,0,0,0,0,0")
33 setText("Hello, World!")
34 setAlignment(Qt_AlignHCenter | Qt_AlignVCenter)
36 Button1 = new pushbutton(win) {
39 setstylesheet("color:black;background-color:#ffff00;")
40 oFont = new qfont("",0,0,0)
41 oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0")
45 setClickEvent(Method(:CloseWindow))
46 setBtnImage(Button1,"")
51 # End of the Generated Source Code File...