Class: Qt::SortFilterProxyModel

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

Direct Known Subclasses

Ruber::FilteredOutputWidget::FilterModel, Ruber::OpenFileInProjectDlg::FilterModel

Instance Method Summary (collapse)

Instance Method Details

- (Object) each

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