SimCenterCommon
Common functionality used within different SimCenter projects
|
#include <SimpleSpreadsheetWidget.h>
Public Slots | |
void | clear (void) |
Public Member Functions | |
SimpleSpreadsheetWidget (int colCount, int rowCount, QStringList, QList< int >, QWidget *parent=0) | |
~SimpleSpreadsheetWidget () | |
void | outputToJSON (QJsonArray &rvArray) |
void | inputFromJSON (QJsonArray &rvArray) |
int | getNumRows () |
int | getNumColumns () |
bool | getString (int row, int col, QString &) |
bool | getDouble (int row, int col, double &) |
bool | getInt (int row, int col, int &) |
int | setString (int row, int col, QString &) |
int | setDouble (int row, int col, double) |
int | setInt (int row, int col, int) |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) |
Definition at line 17 of file SimpleSpreadsheetWidget.h.
|
explicit |
Definition at line 11 of file SimpleSpreadsheetWidget.cpp.
SimpleSpreadsheetWidget::~SimpleSpreadsheetWidget | ( | ) |
Definition at line 19 of file SimpleSpreadsheetWidget.cpp.
|
slot |
Definition at line 24 of file SimpleSpreadsheetWidget.cpp.
Definition at line 46 of file SimpleSpreadsheetWidget.cpp.
Definition at line 56 of file SimpleSpreadsheetWidget.cpp.
int SimpleSpreadsheetWidget::getNumColumns | ( | ) |
Definition at line 33 of file SimpleSpreadsheetWidget.cpp.
int SimpleSpreadsheetWidget::getNumRows | ( | ) |
Definition at line 30 of file SimpleSpreadsheetWidget.cpp.
Definition at line 37 of file SimpleSpreadsheetWidget.cpp.
void SimpleSpreadsheetWidget::inputFromJSON | ( | QJsonArray & | rvArray | ) |
Definition at line 137 of file SimpleSpreadsheetWidget.cpp.
|
protected |
Definition at line 141 of file SimpleSpreadsheetWidget.cpp.
void SimpleSpreadsheetWidget::outputToJSON | ( | QJsonArray & | rvArray | ) |
Definition at line 102 of file SimpleSpreadsheetWidget.cpp.
Definition at line 77 of file SimpleSpreadsheetWidget.cpp.
Definition at line 89 of file SimpleSpreadsheetWidget.cpp.
Definition at line 65 of file SimpleSpreadsheetWidget.cpp.