#include <table.h>
Inheritance diagram for Table:

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 |
| OctaveConnection * | octave_connection |
| QString | matrix |
| QMenu * | menu |
| Table::Table | ( | QWidget * | parent = 0 |
) |
| 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] |
| 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] |
QString Table::matrix [private] |
QMenu* Table::menu [private] |
OctaveConnection* Table::octave_connection [private] |
TableForm* Table::table_form [private] |
1.4.7