COPASI API
4.16.103
|
#include <CQCurrentValueTable.h>
Signals | |
void | valueChanged (int row) |
Public Member Functions | |
CQCurrentValueTable (QWidget *parent=0) | |
std::string | getKeyForRow (int row) const |
bool | getValueForRow (int row) const |
int | numRows () const |
void | setNumCols (int columns) |
void | setNumRows (int rows) |
void | setRowInTable (int row, std::string key, std::string s, C_FLOAT64 val) |
void | updateRowInTable (int row, C_FLOAT64 val) |
QHeaderView * | verticalHeader () |
~CQCurrentValueTable () | |
Protected Member Functions | |
void | init () |
void | setAllBoxesChecked (bool checked=true) |
void | setAllBoxesUnchecked () |
void | setKeyIndex (std::string key, int row) |
void | setValue (int row, C_FLOAT64 val) |
Protected Attributes | |
std::map< int, std::string > | mIndexMap |
QPushButton * | mpCheckAllButton |
QTableWidget * | mpTable |
QPushButton * | mpUncheckAllButton |
Private Slots | |
void | slotCheckAllClicked () |
void | slotUncheckAllClicked () |
void | tableValueChanged (int row, int column) |
Definition at line 26 of file CQCurrentValueTable.h.
CQCurrentValueTable::CQCurrentValueTable | ( | QWidget * | parent = 0 | ) |
CQCurrentValueTable::~CQCurrentValueTable | ( | ) |
Definition at line 63 of file CQCurrentValueTable.cpp.
std::string CQCurrentValueTable::getKeyForRow | ( | int | row | ) | const |
Definition at line 144 of file CQCurrentValueTable.cpp.
References mIndexMap.
Referenced by CQLayoutMainWindow::parameterTableValueChanged(), and setAllBoxesChecked().
bool CQCurrentValueTable::getValueForRow | ( | int | row | ) | const |
Definition at line 158 of file CQCurrentValueTable.cpp.
References mpTable.
Referenced by CQLayoutMainWindow::parameterTableValueChanged().
|
protected |
Definition at line 34 of file CQCurrentValueTable.cpp.
References mpCheckAllButton, mpTable, mpUncheckAllButton, slotCheckAllClicked(), slotUncheckAllClicked(), tableValueChanged(), and verticalHeader().
Referenced by CQCurrentValueTable().
int CQCurrentValueTable::numRows | ( | ) | const |
Definition at line 185 of file CQCurrentValueTable.cpp.
References mpTable.
Referenced by CQLayoutMainWindow::updateValueTable().
|
protected |
Definition at line 100 of file CQCurrentValueTable.cpp.
References CQLayoutMainWindow::addItemInAnimation(), getKeyForRow(), mpTable, and CQLayoutMainWindow::removeItemInAnimation().
Referenced by setAllBoxesUnchecked(), and slotCheckAllClicked().
|
protected |
Definition at line 131 of file CQCurrentValueTable.cpp.
References setAllBoxesChecked().
Referenced by slotUncheckAllClicked().
|
protected |
Definition at line 137 of file CQCurrentValueTable.cpp.
References mIndexMap.
Referenced by setRowInTable().
void CQCurrentValueTable::setNumCols | ( | int | columns | ) |
Definition at line 180 of file CQCurrentValueTable.cpp.
References mpTable.
Referenced by CQLayoutMainWindow::insertValueTable().
void CQCurrentValueTable::setNumRows | ( | int | rows | ) |
Definition at line 175 of file CQCurrentValueTable.cpp.
References mpTable.
Referenced by CQLayoutMainWindow::insertValueTable().
Definition at line 67 of file CQCurrentValueTable.cpp.
References FROM_UTF8, mpTable, and setKeyIndex().
Referenced by CQLayoutMainWindow::insertValueTable().
Definition at line 95 of file CQCurrentValueTable.cpp.
References updateRowInTable().
|
privateslot |
Definition at line 165 of file CQCurrentValueTable.cpp.
References setAllBoxesChecked().
Referenced by init().
|
privateslot |
Definition at line 170 of file CQCurrentValueTable.cpp.
References setAllBoxesUnchecked().
Referenced by init().
|
privateslot |
This slot is caled whenever a value in the table changes, i.e. whenever a species is activated or deactived by it's checkbox. This information is broadcasted by emitting another signal which contains the row number.
Definition at line 200 of file CQCurrentValueTable.cpp.
References valueChanged().
Referenced by init().
Definition at line 80 of file CQCurrentValueTable.cpp.
References mpTable.
Referenced by setValue(), and CQLayoutMainWindow::updateValueTable().
|
signal |
Referenced by tableValueChanged().
QHeaderView * CQCurrentValueTable::verticalHeader | ( | ) |
|
protected |
Definition at line 32 of file CQCurrentValueTable.h.
Referenced by getKeyForRow(), and setKeyIndex().
|
protected |
Definition at line 34 of file CQCurrentValueTable.h.
Referenced by init().
|
protected |
Definition at line 33 of file CQCurrentValueTable.h.
Referenced by getValueForRow(), init(), numRows(), setAllBoxesChecked(), setNumCols(), setNumRows(), setRowInTable(), updateRowInTable(), and verticalHeader().
|
protected |
Definition at line 35 of file CQCurrentValueTable.h.
Referenced by init().