19 #ifndef OST_SEQUENCE_VIEWER_SEQUENCE_VIEWER
20 #define OST_SEQUENCE_VIEWER_SEQUENCE_VIEWER
39 #include <QActionGroup>
41 #include <QModelIndex>
42 #include <QItemSelection>
51 class SequenceTableView;
59 const QString& title=
"Sequence Viewer",
60 QWidget* parent=NULL);
75 virtual bool Restore(
const QString&){
return true; };
76 virtual bool Save(
const QString&){
return true; };
78 virtual const QStringList& GetDisplayModes();
80 virtual const QStringList& GetDisplayModes(
const gfx::EntityP& entity);
82 virtual const QString& GetCurrentDisplayMode();
84 virtual const QString& GetCurrentDisplayMode(
const gfx::EntityP& entity);
88 void AlignmentChanged();
90 void ChangeDisplayMode(
const QString&);
92 void ChangeDisplayMode(
const gfx::EntityP&,
const QString&);
95 void OnSearchBarUpdate(
const QString&,
bool,
const QString&);
100 void FitToContents();
103 void InitSearchBar();
105 void UpdateSearchBar();
106 void SelectList(
const QModelIndexList& list);
114 QActionGroup* display_mode_actions_;
117 void ChangeDisplayMode();
118 void FindInSequence();
119 void SelectionModelChanged(
const QItemSelection&,
const QItemSelection&);
120 void DoubleClicked(
const QModelIndex& index);
121 void MouseWheelEvent(QWheelEvent* event);
122 void CopyEvent(QKeyEvent* event);
QTableView with first column not moving.
boost::shared_ptr< GfxObj > GfxObjP
void SetObserveScene(bool flag)
boost::shared_ptr< Entity > EntityP
Interface for observing graphical objects.
#define DLLEXPORT_OST_GUI
QList< QAction * > ActionList
virtual bool Save(const QString &)
search bar to search in multiple sequence alignment
bool IsObservingScene() const
virtual bool Restore(const QString &)
boost::shared_ptr< GfxNode > GfxNodeP
representation of a multiple sequence alignemnt consisting of two or more sequences ...
QTableView with first column not moving.