#include <VaporTable.h>
|
| | VaporTable (QTableWidget *table, bool lastRowIsCheckboxes=false, bool lastColIsCheckboxes=false) |
| |
| void | Update (int rows, int columns, std::vector< int > values, std::vector< std::string > rowHeaders=std::vector< std::string >(), std::vector< std::string > colHeaders=std::vector< std::string >()) |
| |
| void | Update (int rows, int columns, std::vector< double > values, std::vector< std::string > rowHeaders=std::vector< std::string >(), std::vector< std::string > colHeaders=std::vector< std::string >()) |
| |
| void | Update (int rows, int columns, std::vector< std::string > values, std::vector< std::string > rowHeaders=std::vector< std::string >(), std::vector< std::string > colHeaders=std::vector< std::string >()) |
| |
| void | Reinit (ValidatorFlags vFlags, MutabilityFlags mFlags, HighlightFlags hFlags) |
| |
| Value | GetValue (int row, int col) |
| |
| std::string | GetStringValue (int row, int col) |
| |
| void | GetValues (std::vector< std::string > &vec) |
| |
| void | GetValues (std::vector< int > &vec) |
| |
| void | GetValues (std::vector< double > &vec) |
| |
| std::string | GetVerticalHeaderItem (int index) |
| |
| std::string | GetHorizontalHeaderItem (int index) |
| |
| void | SetCheckboxesInFinalColumn (bool enabled) |
| |
| void | SetCheckboxesInFinalRow (bool enabled) |
| |
| void | EnableDisableCheckboxes (bool enabled) |
| |
| void | SetCellMutability (int row, int col) |
| |
| int | RowCount () const |
| |
| int | ColumnCount () const |
| |
| QWidget * | CellWidget (int row, int col) |
| |
| int | GetActiveRow () const |
| |
| void | SetActiveRow (int row) |
| |
| void | SetAutoResizeHeight (bool val) |
| |
| bool | GetAutoResizeHeight () const |
| |
| void | StretchToColumn (int column) |
| |
| void | HideColumn (int column) |
| |
| void | ShowToolTips (bool showOrHide) |
| |
| bool | GetShowToolTips () const |
| |
| void | SetVerticalHeaderWidth (int width) |
| |
Definition at line 13 of file VaporTable.h.
◆ HighlightFlags
◆ MutabilityFlags
| Enumerator |
|---|
| MUTABLE | |
| IMMUTABLE | |
Definition at line 22 of file VaporTable.h.
◆ ValidatorFlags
| Enumerator |
|---|
| INT | |
| DOUBLE | |
| STRING | |
Definition at line 32 of file VaporTable.h.
◆ VaporTable()
| VaporTable::VaporTable |
( |
QTableWidget * |
table, |
|
|
bool |
lastRowIsCheckboxes = false, |
|
|
bool |
lastColIsCheckboxes = false |
|
) |
| |
◆ cellClicked
| void VaporTable::cellClicked |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
signal |
◆ CellWidget()
| QWidget * VaporTable::CellWidget |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inline |
◆ ColumnCount()
| int VaporTable::ColumnCount |
( |
| ) |
const |
|
inline |
◆ emitCellClicked
| void VaporTable::emitCellClicked |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
slot |
◆ emitReturnPressed
| void VaporTable::emitReturnPressed |
( |
| ) |
|
|
slot |
◆ emitValueChanged
| void VaporTable::emitValueChanged |
( |
int |
row = 0, |
|
|
int |
col = 0 |
|
) |
| |
|
slot |
◆ EnableDisableCheckboxes()
| void VaporTable::EnableDisableCheckboxes |
( |
bool |
enabled | ) |
|
◆ GetActiveRow()
| int VaporTable::GetActiveRow |
( |
| ) |
const |
◆ GetAutoResizeHeight()
| bool VaporTable::GetAutoResizeHeight |
( |
| ) |
const |
◆ GetHorizontalHeaderItem()
| std::string VaporTable::GetHorizontalHeaderItem |
( |
int |
index | ) |
|
◆ GetShowToolTips()
| bool VaporTable::GetShowToolTips |
( |
| ) |
const |
◆ GetStringValue()
| std::string VaporTable::GetStringValue |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
◆ GetValue()
| Value VaporTable::GetValue |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
◆ GetValues() [1/3]
| void VaporTable::GetValues |
( |
std::vector< double > & |
vec | ) |
|
◆ GetValues() [2/3]
| void VaporTable::GetValues |
( |
std::vector< int > & |
vec | ) |
|
◆ GetValues() [3/3]
| void VaporTable::GetValues |
( |
std::vector< std::string > & |
vec | ) |
|
◆ GetVerticalHeaderItem()
| std::string VaporTable::GetVerticalHeaderItem |
( |
int |
index | ) |
|
◆ HideColumn()
| void VaporTable::HideColumn |
( |
int |
column | ) |
|
◆ Reinit()
◆ returnPressed
| void VaporTable::returnPressed |
( |
| ) |
|
|
signal |
◆ RowCount()
| int VaporTable::RowCount |
( |
| ) |
const |
|
inline |
◆ SetActiveRow()
| void VaporTable::SetActiveRow |
( |
int |
row | ) |
|
◆ SetAutoResizeHeight()
| void VaporTable::SetAutoResizeHeight |
( |
bool |
val | ) |
|
◆ SetCellMutability()
| void VaporTable::SetCellMutability |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
◆ SetCheckboxesInFinalColumn()
| void VaporTable::SetCheckboxesInFinalColumn |
( |
bool |
enabled | ) |
|
◆ SetCheckboxesInFinalRow()
| void VaporTable::SetCheckboxesInFinalRow |
( |
bool |
enabled | ) |
|
◆ SetVerticalHeaderWidth()
| void VaporTable::SetVerticalHeaderWidth |
( |
int |
width | ) |
|
◆ ShowToolTips()
| void VaporTable::ShowToolTips |
( |
bool |
showOrHide | ) |
|
◆ StretchToColumn()
| void VaporTable::StretchToColumn |
( |
int |
column | ) |
|
◆ Update() [1/3]
| void VaporTable::Update |
( |
int |
rows, |
|
|
int |
columns, |
|
|
std::vector< double > |
values, |
|
|
std::vector< std::string > |
rowHeaders = std::vector< std::string >(), |
|
|
std::vector< std::string > |
colHeaders = std::vector< std::string >() |
|
) |
| |
◆ Update() [2/3]
| void VaporTable::Update |
( |
int |
rows, |
|
|
int |
columns, |
|
|
std::vector< int > |
values, |
|
|
std::vector< std::string > |
rowHeaders = std::vector< std::string >(), |
|
|
std::vector< std::string > |
colHeaders = std::vector< std::string >() |
|
) |
| |
◆ Update() [3/3]
| void VaporTable::Update |
( |
int |
rows, |
|
|
int |
columns, |
|
|
std::vector< std::string > |
values, |
|
|
std::vector< std::string > |
rowHeaders = std::vector< std::string >(), |
|
|
std::vector< std::string > |
colHeaders = std::vector< std::string >() |
|
) |
| |
◆ valueChanged
| void VaporTable::valueChanged |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
signal |
The documentation for this class was generated from the following file: