SequenceTableView Class Reference

QTableView with first column not moving. More...

#include <sequence_table_view.hh>

Public Slots

void columnCountChanged (const QModelIndex &index, int old_count, int new_count)
void rowCountChanged (const QModelIndex &index, int old_count, int new_count)
void resizeColumnsToContents ()
void resizeRowsToContents ()

Signals

void MouseWheelEvent (QWheelEvent *event)
void CopyEvent (QKeyEvent *event)
void AlignmentChanged ()

Public Member Functions

 SequenceTableView (QAbstractItemModel *model)
QTableView * GetStaticRow ()
QTableView * GetStaticColumn ()
QTableView * GetStaticField ()
 ~SequenceTableView ()
void SetSingleAlignment (bool flag)
bool IsSingleAlignment () const

Protected Member Functions

virtual void mouseDoubleClickEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void resizeEvent (QResizeEvent *event)
virtual void wheelEvent (QWheelEvent *event)
virtual void keyPressEvent (QKeyEvent *event)
virtual QModelIndex moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
void scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible)
virtual int sizeHintForColumn (int column) const
virtual int sizeHintForRow (int row) const

Detailed Description

QTableView with first column not moving.

Definition at line 36 of file sequence_table_view.hh.


Constructor & Destructor Documentation

SequenceTableView ( QAbstractItemModel *  model  ) 

Member Function Documentation

void AlignmentChanged (  )  [signal]
void columnCountChanged ( const QModelIndex &  index,
int  old_count,
int  new_count 
) [slot]
void CopyEvent ( QKeyEvent *  event  )  [signal]
QTableView* GetStaticColumn (  ) 
QTableView* GetStaticField (  ) 
QTableView* GetStaticRow (  ) 
bool IsSingleAlignment (  )  const [inline]

Definition at line 48 of file sequence_table_view.hh.

virtual void keyPressEvent ( QKeyEvent *  event  )  [protected, virtual]
virtual void mouseDoubleClickEvent ( QMouseEvent *  event  )  [protected, virtual]
virtual void mouseReleaseEvent ( QMouseEvent *  event  )  [protected, virtual]
void MouseWheelEvent ( QWheelEvent *  event  )  [signal]
virtual QModelIndex moveCursor ( CursorAction  cursorAction,
Qt::KeyboardModifiers  modifiers 
) [protected, virtual]
void resizeColumnsToContents (  )  [slot]
virtual void resizeEvent ( QResizeEvent *  event  )  [protected, virtual]
void resizeRowsToContents (  )  [slot]
void rowCountChanged ( const QModelIndex &  index,
int  old_count,
int  new_count 
) [slot]
void scrollTo ( const QModelIndex &  index,
ScrollHint  hint = EnsureVisible 
) [protected]
void SetSingleAlignment ( bool  flag  )  [inline]

Definition at line 46 of file sequence_table_view.hh.

virtual int sizeHintForColumn ( int  column  )  const [protected, virtual]
virtual int sizeHintForRow ( int  row  )  const [protected, virtual]
virtual void wheelEvent ( QWheelEvent *  event  )  [protected, virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1