My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module QtHelloWorld

open com.trolltech.qt.gui

let main() =
QApplication.initialize [||]
let btn = QPushButton "Hello World!"
btn.setWindowTitle "Hello World Title"
btn.resize(320,240)
btn.show()
QApplication.exec() |> ignore
()

main()

Change log

r23 by cameron.taggart on Dec 22, 2009   Diff
moving blog code in 2009 to be under
tags/blog-2009
Go to: 
Project members, sign in to write a code review

Older revisions

r9 by cameron.taggart on Dec 17, 2009   Diff
fixed typo, it isn't "Hell World" :)
r7 by cameron.taggart on Dec 16, 2009   Diff
Qt from F# for today's blog post
All revisions of this file

File info

Size: 267 bytes, 14 lines
Powered by Google Project Hosting