#include <SetColValuesDialog.h>

Public Member Functions | |
| SetColValuesDialog (ScriptingEnv *env, QWidget *parent=0, Qt::WFlags fl=0) | |
| void | setCompleter (QCompleter *) |
| void | setTable (Table *w) |
Private Slots | |
| bool | apply () |
| void | insertCell () |
| void | insertCol () |
| void | insertExplain (int index) |
| void | insertFunction () |
| void | nextColumn () |
| void | prevColumn () |
| void | updateColumn (int sc) |
Private Member Functions | |
| void | customEvent (QEvent *e) |
| QSize | sizeHint () const |
Private Attributes | |
| QPushButton * | addCellButton |
| QComboBox * | boxColumn |
| QPushButton * | btnAddCol |
| QPushButton * | btnAddFunction |
| QPushButton * | btnApply |
| QPushButton * | btnCancel |
| QPushButton * | buttonNext |
| QPushButton * | buttonPrev |
| QLabel * | colNameLabel |
| ScriptEdit * | commands |
| QSpinBox * | end |
| QTextEdit * | explain |
| QComboBox * | functions |
| QSpinBox * | start |
| Table * | table |
| SetColValuesDialog::SetColValuesDialog | ( | ScriptingEnv * | env, | |
| QWidget * | parent = 0, |
|||
| Qt::WFlags | fl = 0 | |||
| ) |
References addCellButton, apply(), boxColumn, btnAddCol, btnAddFunction, btnApply, btnCancel, buttonNext, buttonPrev, colNameLabel, commands, end, explain, functions, insertCell(), insertCol(), insertExplain(), insertFunction(), ScriptingEnv::mathFunctions(), nextColumn(), prevColumn(), scripted::scriptEnv, and start.
| bool SetColValuesDialog::apply | ( | ) | [private, slot] |
References Table::calculate(), commands, end, Table::getCommands(), Table::numCols(), Table::selectedColumn(), Table::setCommand(), start, and table.
Referenced by SetColValuesDialog().
| void SetColValuesDialog::customEvent | ( | QEvent * | e | ) | [private] |
References SCRIPTING_CHANGE_EVENT, and scripted::scriptingChangeEvent().
| void SetColValuesDialog::insertCell | ( | ) | [private, slot] |
| void SetColValuesDialog::insertCol | ( | ) | [private, slot] |
| void SetColValuesDialog::insertExplain | ( | int | index | ) | [private, slot] |
References explain, functions, ScriptingEnv::mathFunctionDoc(), and scripted::scriptEnv.
Referenced by SetColValuesDialog().
| void SetColValuesDialog::insertFunction | ( | ) | [private, slot] |
References commands, functions, and ScriptEdit::insertFunction().
Referenced by SetColValuesDialog().
| void SetColValuesDialog::nextColumn | ( | ) | [private, slot] |
| void SetColValuesDialog::prevColumn | ( | ) | [private, slot] |
| void SetColValuesDialog::setCompleter | ( | QCompleter * | completer | ) |
References commands, and ScriptEdit::setCompleter().
Referenced by ApplicationWindow::showColumnValuesDialog().
| void SetColValuesDialog::setTable | ( | Table * | w | ) |
References boxColumn, Table::colNames(), commands, end, Table::numCols(), Table::numRows(), Table::selectedColumn(), ScriptEdit::setContext(), Table::setSelectedCol(), start, Table::table(), table, and updateColumn().
Referenced by ApplicationWindow::showColumnValuesDialog().
| QSize SetColValuesDialog::sizeHint | ( | ) | const [private] |
| void SetColValuesDialog::updateColumn | ( | int | sc | ) | [private, slot] |
References buttonNext, buttonPrev, Table::colLabel(), colNameLabel, commands, Table::getCommands(), Table::numCols(), Table::setSelectedCol(), Table::table(), and table.
Referenced by nextColumn(), prevColumn(), and setTable().
QPushButton* SetColValuesDialog::addCellButton [private] |
Referenced by SetColValuesDialog().
QComboBox* SetColValuesDialog::boxColumn [private] |
Referenced by insertCell(), insertCol(), SetColValuesDialog(), and setTable().
QPushButton* SetColValuesDialog::btnAddCol [private] |
Referenced by SetColValuesDialog().
QPushButton* SetColValuesDialog::btnAddFunction [private] |
Referenced by SetColValuesDialog().
QPushButton* SetColValuesDialog::btnApply [private] |
Referenced by SetColValuesDialog().
QPushButton* SetColValuesDialog::btnCancel [private] |
Referenced by SetColValuesDialog().
QPushButton* SetColValuesDialog::buttonNext [private] |
Referenced by SetColValuesDialog(), and updateColumn().
QPushButton* SetColValuesDialog::buttonPrev [private] |
Referenced by SetColValuesDialog(), and updateColumn().
QLabel* SetColValuesDialog::colNameLabel [private] |
Referenced by SetColValuesDialog(), and updateColumn().
ScriptEdit* SetColValuesDialog::commands [private] |
Referenced by apply(), insertCell(), insertCol(), insertFunction(), SetColValuesDialog(), setCompleter(), setTable(), and updateColumn().
QSpinBox * SetColValuesDialog::end [private] |
Referenced by apply(), SetColValuesDialog(), and setTable().
QTextEdit* SetColValuesDialog::explain [private] |
Referenced by insertExplain(), and SetColValuesDialog().
QComboBox* SetColValuesDialog::functions [private] |
Referenced by insertExplain(), insertFunction(), and SetColValuesDialog().
QSpinBox* SetColValuesDialog::start [private] |
Referenced by apply(), SetColValuesDialog(), and setTable().
Table* SetColValuesDialog::table [private] |
Referenced by apply(), nextColumn(), prevColumn(), setTable(), and updateColumn().
1.5.6