Class: OutputView

Inherits:
Shirka::Qt::TreeView show all
Defined in:
lib/troshka/output/view.rb

Instance Attribute Summary

Attributes inherited from Shirka::View

#controller, #data

Instance Method Summary collapse

Methods inherited from Shirka::Qt::TreeView

#build, #style, #widget_class

Methods inherited from Shirka::View

#build, #init, #initialize, #on_component_added, #on_view_added, #style, #widget, #widget_class

Methods included from Shirka::Eventalk

#add_watcher, #fire, #forward, #watch, #watchers

Constructor Details

This class inherits a constructor from Shirka::View

Instance Method Details

#labelObject



8
9
10
# File 'lib/troshka/output/view.rb', line 8

def label
  "Output"
end

#on_view_adding(view, slot = nil) ⇒ Object



2
3
4
5
6
# File 'lib/troshka/output/view.rb', line 2

def on_view_adding(view, slot=nil)
  super
  view.widget.setExpanded true
  widget.scrollToBottom
end