examples/itemviews/frozencolumn/freezetablewidget.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    54 
    54 
    55 
    55 
    56 protected:
    56 protected:
    57       virtual void resizeEvent(QResizeEvent *event);
    57       virtual void resizeEvent(QResizeEvent *event);
    58       virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
    58       virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
       
    59       void scrollTo (const QModelIndex & index, ScrollHint hint = EnsureVisible);
    59 
    60 
    60 private:
    61 private:
    61       QTableView *frozenTableView;
    62       QTableView *frozenTableView;
    62       void init();
    63       void init();
    63       void updateFrozenTableGeometry();
    64       void updateFrozenTableGeometry();