Class: Qt::SortFilterProxyModel

Inherits:
Object
  • Object
show all
Includes:
QtEnumerable
Defined in:
lib/ruber/qt_sugar.rb

Instance Method Summary collapse

Instance Method Details

#eachObject

Calls the block for each top-level item



507
508
509
510
511
# File 'lib/ruber/qt_sugar.rb', line 507

def each
  rowCount.times do |r|
    columnCount.times{|c| yield index(r,c)}
  end
end