summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/main.rb
blob: 9559a92174b99338cf9ba3fb36f2e6ce21790260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby

require 'Qt'
require 'viewer'
$KCODE='u'


a = Qt::Application.new(ARGV)

textViewer = Viewer.new
textViewer.setCaption('QtRuby Example - Simple QFont Demo')
a.setMainWidget(textViewer)
textViewer.show
a.exec()