summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/checklists/main.rb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:32:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:32:44 -0600
commitae2858133ebe92da16e5aab05f0b138de7cf514c (patch)
treef7cb1727753b8e1ada00d9194e11a8b7ed5ccfea /qtruby/rubylib/examples/qt-examples/checklists/main.rb
parentf902ad354515ca9294d4fd1b3dcf75953574f1bb (diff)
downloadtdebindings-ae2858133ebe92da16e5aab05f0b138de7cf514c.tar.gz
tdebindings-ae2858133ebe92da16e5aab05f0b138de7cf514c.zip
Fix prior commit
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/checklists/main.rb')
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/checklists/main.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/checklists/main.rb b/qtruby/rubylib/examples/qt-examples/checklists/main.rb
new file mode 100755
index 00000000..364f5cb7
--- /dev/null
+++ b/qtruby/rubylib/examples/qt-examples/checklists/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()