OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Member Functions
SequenceTableView Class Reference

#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)

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)
protectedvirtual
virtual void mouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual
virtual void mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual
void MouseWheelEvent ( QWheelEvent *  event)
signal
virtual QModelIndex moveCursor ( CursorAction  cursorAction,
Qt::KeyboardModifiers  modifiers 
)
protectedvirtual
void resizeColumnsToContents ( )
slot
virtual void resizeEvent ( QResizeEvent *  event)
protectedvirtual
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 void wheelEvent ( QWheelEvent *  event)
protectedvirtual

The documentation for this class was generated from the following file: