#include <SheetModelStationsFactory.hpp>
|
static std::shared_ptr< AbstractSheetModel > | createSheetModelStations () |
|
static void | updateSheetModelStations (const std::shared_ptr< AbstractSheetModel > &sheetModel) |
|
static void | addRowToSheetModelStations (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId) |
|
static std::string | getSheetModelStationsColumnName (iv::gui::sheets::ColumnId columnId, bool shortName=true) |
|
static void | addColumnDefinitionToSheetModel (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::ColumnId &columnId, uint32_t columnPosition, const std::string &columnTitle, const std::string &columnTooltip, uint16_t columnWidth, bool isVisible) |
|
static void | removeColumnDefinitionFromSheetModel (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::ColumnId &columnId) |
|
static void | addCommonCellDefinitionListeners (iv::gui::sheets::CellDefinition &cellDefinition) |
|
static void | addRowDefinitionToSheetModel (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId, uint32_t rowPosition, bool isVisible) |
|
static bool | findLowerBoundRow (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowIdReference, iv::gui::sheets::RowId *resultRowId) |
|
static void | removeRow (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId) |
|
static void | updateRowTitles (const std::shared_ptr< AbstractSheetModel > &sheetModel) |
|
static bool | findLowerBoundRowCheckingInAscendingPositionOrder (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowIdReference, iv::gui::sheets::RowId *resultRowId) |
|
static std::shared_ptr< AbstractSheetModel > | createCSheetModelTankCalibrationTable (const std::shared_ptr< iv::tanks::TankCalibrationData > &calibrationDataRef, double *selectedTrim) |
|
static void | updateCSheetModelTankCalibrationTable (const std::shared_ptr< AbstractSheetModel > &sheetModel, const std::shared_ptr< iv::tanks::TrimCalibrationData > &calibrationDataRef) |
|
static void | addRowToCSheetModelTankCalibrationTable (const std::shared_ptr< iv::tanks::TrimCalibrationData > &calibrationDataRef, const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId) |
|
static std::string | getCSheetModelTankCalibrationTableColumnName (iv::gui::sheets::ColumnId columnId, bool shortName=true) |
|
static iv::gui::sheets::CellDefinition | prvCreateButtonCellDefinition (const std::string &text) |
|
◆ addColumnDefinitionToSheetModel()
void CSheetModelFactory::addColumnDefinitionToSheetModel |
( |
const std::shared_ptr< AbstractSheetModel > & | sheetModel, |
|
|
const iv::gui::sheets::ColumnId & | columnId, |
|
|
uint32_t | columnPosition, |
|
|
const std::string & | columnTitle, |
|
|
const std::string & | columnTooltip, |
|
|
uint16_t | columnWidth, |
|
|
bool | isVisible ) |
|
staticinherited |
◆ addCommonCellDefinitionListeners()
◆ addRowDefinitionToSheetModel()
◆ addRowToCSheetModelTankCalibrationTable()
◆ addRowToSheetModelStations()
◆ createCSheetModelTankCalibrationTable()
◆ createSheetModelStations()
std::shared_ptr< AbstractSheetModel > iv::gui::factory::SheetModelStationsFactory::createSheetModelStations |
( |
| ) |
|
|
static |
◆ findLowerBoundRow()
Finds the first row that is not considered to go before rowIdReference (i.e., either it is equivalent or goes after).
- Parameters
-
[in] | sheetModel | AbstractSheetModel to work with |
[in] | rowIdReference | Row (unitId, channelId) as a reference in the search. #param[out] resultRowId First row that is not considered to go before rowIdReference. |
◆ findLowerBoundRowCheckingInAscendingPositionOrder()
◆ getCSheetModelTankCalibrationTableColumnName()
std::string CSheetModelFactory::getCSheetModelTankCalibrationTableColumnName |
( |
iv::gui::sheets::ColumnId | columnId, |
|
|
bool | shortName = true ) |
|
staticinherited |
◆ getSheetModelStationsColumnName()
std::string iv::gui::factory::SheetModelStationsFactory::getSheetModelStationsColumnName |
( |
iv::gui::sheets::ColumnId | columnId, |
|
|
bool | shortName = true ) |
|
static |
◆ prvCreateButtonCellDefinition()
◆ removeColumnDefinitionFromSheetModel()
◆ removeRow()
◆ updateCSheetModelTankCalibrationTable()
◆ updateRowTitles()
void CSheetModelFactory::updateRowTitles |
( |
const std::shared_ptr< AbstractSheetModel > & | sheetModel | ) |
|
|
staticinherited |
◆ updateSheetModelStations()
void iv::gui::factory::SheetModelStationsFactory::updateSheetModelStations |
( |
const std::shared_ptr< AbstractSheetModel > & | sheetModel | ) |
|
|
static |
◆ kDefaultLanguageColumnPosition
const int32_t CSheetModelFactory::kDefaultLanguageColumnPosition = 9 |
|
inlinestaticinherited |
◆ kNoId
const int32_t CSheetModelFactory::kNoId = 0 |
|
inlinestaticinherited |
The documentation for this class was generated from the following files: