Class: Shirka::Qt::App
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from App
Instance Method Summary collapse
Methods inherited from App
#init, #initialize, #load, #start, #starting
Methods included from Eventalk
#add_watcher, #fire, #forward, #watch, #watchers
Constructor Details
This class inherits a constructor from Shirka::App
Instance Method Details
#icon=(path) ⇒ Object
15 16 17 |
# File 'lib/shirka/qt/app.rb', line 15 def icon=(path) @qt_app.setWindowIcon ::Qt::Icon.new(path) end |
#setup ⇒ Object
5 6 7 |
# File 'lib/shirka/qt/app.rb', line 5 def setup @qt_app = ::Qt::Application.new [] end |
#started ⇒ Object
9 10 11 12 13 |
# File 'lib/shirka/qt/app.rb', line 9 def started fire :starting fire :started @qt_app.exec end |