You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
232 B
15 lines
232 B
15 years ago
|
#!/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()
|