diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 17:32:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 17:32:44 -0600 |
commit | ae2858133ebe92da16e5aab05f0b138de7cf514c (patch) | |
tree | f7cb1727753b8e1ada00d9194e11a8b7ed5ccfea /qtruby/rubylib/examples/qt-examples/checklists/main.rb | |
parent | f902ad354515ca9294d4fd1b3dcf75953574f1bb (diff) | |
download | tdebindings-ae2858133ebe92da16e5aab05f0b138de7cf514c.tar.gz tdebindings-ae2858133ebe92da16e5aab05f0b138de7cf514c.zip |
Fix prior commit
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/checklists/main.rb')
-rwxr-xr-x | qtruby/rubylib/examples/qt-examples/checklists/main.rb | 15 |
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() |