Class: ConsoleDialog
- Defined in:
- lib/tmis/interface/forms/console.rb
Overview
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Instance Attribute Summary collapse
-
#browser ⇒ Object
Returns the value of attribute browser.
Instance Method Summary collapse
- #closeEvent(event) ⇒ Object
-
#initialize(parent = nil) ⇒ ConsoleDialog
constructor
A new instance of ConsoleDialog.
Constructor Details
#initialize(parent = nil) ⇒ ConsoleDialog
Returns a new instance of ConsoleDialog.
16 17 18 19 20 21 |
# File 'lib/tmis/interface/forms/console.rb', line 16 def initialize(parent = nil) super parent @ui = Ui::ConsoleDialog.new @ui.setup_ui self @browser = @ui.textBrowser end |
Instance Attribute Details
#browser ⇒ Object
Returns the value of attribute browser.
14 15 16 |
# File 'lib/tmis/interface/forms/console.rb', line 14 def browser @browser end |
Instance Method Details
#closeEvent(event) ⇒ Object
23 24 25 26 |
# File 'lib/tmis/interface/forms/console.rb', line 23 def closeEvent(event) emit dialogClosed event.accept end |