#include <ModelDataTableDialog.h>

Inheritance diagram for ModelDataTableDialog:
Inheritance graph
Collaboration diagram for ModelDataTableDialog:
Collaboration graph

Public Slots

void userScrolledToFrame (sv_frame_t frame)
 
void playbackScrolledToFrame (sv_frame_t frame)
 
void addCommand (Command *)
 

Signals

void scrollToFrame (sv_frame_t frame)
 

Public Member Functions

 ModelDataTableDialog (ModelId tabularModelId, QString title, QWidget *parent=0)
 
 ~ModelDataTableDialog ()
 
QToolBar * getPlayToolbar ()
 

Protected Slots

void viewClicked (const QModelIndex &)
 
void viewPressed (const QModelIndex &)
 
void currentChanged (const QModelIndex &, const QModelIndex &)
 
void currentChangedThroughResort (const QModelIndex &)
 
void searchTextChanged (const QString &)
 
void searchRepeated ()
 
void insertRow ()
 
void deleteRows ()
 
void editRow ()
 
void togglePlayTracking ()
 
void modelRemoved ()
 

Protected Member Functions

void makeCurrent (int row)
 

Protected Attributes

ModelDataTableModel * m_table
 
QToolBar * m_playToolbar
 
QTableView * m_tableView
 
QLineEdit * m_find
 
int m_currentRow
 
bool m_trackPlayback
 

Detailed Description

Definition at line 32 of file ModelDataTableDialog.h.

Constructor & Destructor Documentation

ModelDataTableDialog::~ModelDataTableDialog ( )

Definition at line 159 of file ModelDataTableDialog.cpp.

References m_table.

Member Function Documentation

void ModelDataTableDialog::scrollToFrame ( sv_frame_t  frame)
signal

Referenced by getPlayToolbar(), and viewClicked().

void ModelDataTableDialog::userScrolledToFrame ( sv_frame_t  frame)
slot

Definition at line 165 of file ModelDataTableDialog.cpp.

References m_currentRow, m_table, and makeCurrent().

Referenced by getPlayToolbar().

void ModelDataTableDialog::playbackScrolledToFrame ( sv_frame_t  frame)
slot

Definition at line 192 of file ModelDataTableDialog.cpp.

References m_table, m_trackPlayback, and makeCurrent().

Referenced by getPlayToolbar().

void ModelDataTableDialog::addCommand ( Command *  command)
slot
void ModelDataTableDialog::viewClicked ( const QModelIndex &  index)
protectedslot

Definition at line 264 of file ModelDataTableDialog.cpp.

References m_table, and scrollToFrame().

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::viewPressed ( const QModelIndex &  )
protectedslot

Definition at line 274 of file ModelDataTableDialog.cpp.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::currentChanged ( const QModelIndex &  current,
const QModelIndex &  previous 
)
protectedslot

Definition at line 282 of file ModelDataTableDialog.cpp.

References m_currentRow, and m_table.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::currentChangedThroughResort ( const QModelIndex &  index)
protectedslot

Definition at line 340 of file ModelDataTableDialog.cpp.

References makeCurrent().

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::searchTextChanged ( const QString &  text)
protectedslot

Definition at line 201 of file ModelDataTableDialog.cpp.

References m_table, m_tableView, and makeCurrent().

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::searchRepeated ( )
protectedslot

Definition at line 212 of file ModelDataTableDialog.cpp.

References m_find, m_table, m_tableView, and makeCurrent().

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::insertRow ( )
protectedslot

Definition at line 298 of file ModelDataTableDialog.cpp.

References m_currentRow, and m_table.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::deleteRows ( )
protectedslot

Definition at line 304 of file ModelDataTableDialog.cpp.

References m_table, and m_tableView.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::editRow ( )
protectedslot

Definition at line 323 of file ModelDataTableDialog.cpp.

Referenced by getPlayToolbar().

void ModelDataTableDialog::togglePlayTracking ( )
protectedslot

Definition at line 334 of file ModelDataTableDialog.cpp.

References m_trackPlayback.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::modelRemoved ( )
protectedslot

Definition at line 349 of file ModelDataTableDialog.cpp.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

void ModelDataTableDialog::makeCurrent ( int  row)
protected

Member Data Documentation

QToolBar* ModelDataTableDialog::m_playToolbar
protected

Definition at line 69 of file ModelDataTableDialog.h.

Referenced by getPlayToolbar(), and ModelDataTableDialog().

QTableView* ModelDataTableDialog::m_tableView
protected
QLineEdit* ModelDataTableDialog::m_find
protected

Definition at line 71 of file ModelDataTableDialog.h.

Referenced by ModelDataTableDialog(), and searchRepeated().

int ModelDataTableDialog::m_currentRow
protected

Definition at line 72 of file ModelDataTableDialog.h.

Referenced by currentChanged(), insertRow(), and userScrolledToFrame().

bool ModelDataTableDialog::m_trackPlayback
protected

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