summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/chectdelists/main.rb
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 17:25:42 -0600
committerTimothy Pearson <[email protected]>2013-02-01 17:25:42 -0600
commitf902ad354515ca9294d4fd1b3dcf75953574f1bb (patch)
tree72e8efee08afa003192031e27113158fb7c298a0 /qtruby/rubylib/examples/qt-examples/chectdelists/main.rb
parent3ed7c09d22a5f310a97516f5bab6068e5688a813 (diff)
downloadtdebindings-f902ad354515ca9294d4fd1b3dcf75953574f1bb.tar.gz
tdebindings-f902ad354515ca9294d4fd1b3dcf75953574f1bb.zip
Fix FTBFS
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()