Method: Qt::VBoxLayout#bind

Defined in:
lib/extensions/qt/widgets/qt_layout.rb

#bind(options) ⇒ Object



58
59
60
61
62
63
64
# File 'lib/extensions/qt/widgets/qt_layout.rb', line 58

def bind(options)
  if options[:property].to_sym == :elements
    @viewmodel          = (options[:element].to_s + "_element_view_model").to_sym
    options[:force]     = true
  end
  super(options)
end