Table Class Reference

#include <table.h>

Inheritance diagram for Table:

BaseWidget List of all members.

Detailed Description

Shows QTable with spreadsheet.

Spreadsheet's data are from given matrix. When spreadsheet is modificated, matrix is modificated.


Public Slots

void windowActivated (QWidget *w)
void windowActivated ()
void line_ready (QString line)
 Callback to line_ready signal from OctaveConnection.
void cellChanged (int row, int col)
void rows_changed ()
void cols_changed ()
void order_changed ()
void copy_cb ()
void copy_matrix_cb ()
void paste_cb ()
void delete_rows_cb ()
void delete_columns_cb ()
void insert_column_right_cb ()
void insert_column_left_cb ()
void insert_row_down_cb ()
void insert_row_up_cb ()

Public Member Functions

 Table (QWidget *parent=0)
void setOctaveConnection (OctaveConnection *octave_connection)
void setMatrix (QString matrix)
QString getMatrix ()

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)

Private Member Functions

void change_rows ()
void change_cols ()
void build_menu ()

Private Attributes

TableForm * table_form
OctaveConnectionoctave_connection
QString matrix
QMenu * menu


Constructor & Destructor Documentation

Table::Table ( QWidget *  parent = 0  ) 


Member Function Documentation

void Table::build_menu (  )  [private]

void Table::cellChanged ( int  row,
int  col 
) [slot]

void Table::change_cols (  )  [private]

void Table::change_rows (  )  [private]

void Table::cols_changed (  )  [slot]

void Table::contextMenuEvent ( QContextMenuEvent *  event  )  [protected]

void Table::copy_cb (  )  [slot]

void Table::copy_matrix_cb (  )  [slot]

void Table::delete_columns_cb (  )  [slot]

void Table::delete_rows_cb (  )  [slot]

QString Table::getMatrix (  ) 

void Table::insert_column_left_cb (  )  [slot]

void Table::insert_column_right_cb (  )  [slot]

void Table::insert_row_down_cb (  )  [slot]

void Table::insert_row_up_cb (  )  [slot]

void Table::line_ready ( QString  line  )  [slot]

Callback to line_ready signal from OctaveConnection.

Parameters:
line line from Octave.

void Table::order_changed (  )  [slot]

void Table::paste_cb (  )  [slot]

void Table::rows_changed (  )  [slot]

void Table::setMatrix ( QString  matrix  ) 

void Table::setOctaveConnection ( OctaveConnection octave_connection  ) 

void Table::windowActivated (  )  [slot]

void Table::windowActivated ( QWidget *  w  )  [slot]


Member Data Documentation

QString Table::matrix [private]

QMenu* Table::menu [private]

OctaveConnection* Table::octave_connection [private]

TableForm* Table::table_form [private]


The documentation for this class was generated from the following files:
Generated on Wed Mar 21 10:32:51 2007 for QtOctave by  doxygen 1.4.7