1 # Form/Window View - Generated Source Code File
2 # Generated by the Ring 1.11 Form Designer
11 if IsMainSourceFile() {
14 new secondwindowView { win.show() }
19 class secondwindowView from WindowsViewParent
20 win = new MainWindow() {
23 setWindowTitle("The Second Window")
24 setstylesheet("background-color:#00007f;")
25 Button1 = new pushbutton(win) {
28 setstylesheet("color:black;background-color:#ffff7f;")
29 oFont = new qfont("",0,0,0)
30 oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0")
33 setText("Close Window")
34 setClickEvent(Method(:CloseWindow))
35 setBtnImage(Button1,"")
38 Label1 = new label(win) {
41 setstylesheet("color:#ffffff;background-color:;")
42 oFont = new qfont("",0,0,0)
43 oFont.fromstring("Arial")
47 setAlignment(Qt_AlignLeft | Qt_AlignVCenter)
49 Button3 = new pushbutton(win) {
52 setstylesheet("color:black;background-color:#ffff7f;")
53 oFont = new qfont("",0,0,0)
54 oFont.fromstring("MS Shell Dlg 2,16,-1,5,50,0,0,0,0,0")
57 setText("Message to First Window")
58 setClickEvent(Method(:sendMessage))
59 setBtnImage(Button3,"")
64 # End of the Generated Source Code File...