summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/chectdelists/main.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/chectdelists/main.rb')
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/chectdelists/main.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/chectdelists/main.rb b/qtruby/rubylib/examples/qt-examples/chectdelists/main.rb
new file mode 100755
index 00000000..364f5cb7
--- /dev/null
+++ b/qtruby/rubylib/examples/qt-examples/chectdelists/main.rb
@@ -0,0 +1,15 @@
+#!/usr/bin/env ruby
+
+require 'Qt'
+
+require 'checklists'
+
+a = TQt::Application.new(ARGV)
+
+checklists = CheckLists.new
+checklists.resize(650, 350)
+checklists.setCaption('QtRuby Example - CheckLists')
+a.setMainWidget(checklists)
+checklists.show
+
+a.exec()