Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPanelTanksCalibrationTableEditor Class Reference

#include <CPanelTanksCalibrationTableEditor.hpp>

Inheritance diagram for CPanelTanksCalibrationTableEditor:
[legend]
Collaboration diagram for CPanelTanksCalibrationTableEditor:
[legend]

Public Member Functions

 CPanelTanksCalibrationTableEditor (const std::weak_ptr< iv::tanks::TankCalibrationData > &calibrationData, std::string_view tankName)
 
 ~CPanelTanksCalibrationTableEditor () override=default
 
AbstractComponentGUIbuildPanel (CDialog *dialogFather) override
 
void update () override
 

Private Member Functions

AbstractComponentGUIprvBuildButtonsLayout (const std::shared_ptr< AbstractSheetModel > &sheetModel, CSheet *sheet)
 
std::shared_ptr< AbstractSheetModelprvCreateSheetModel ()
 
void prvUpdateSheetModel () const
 

Private Attributes

const std::string m_tankName
 
CComboBoxm_trimSelection
 
double m_displayingTrim
 
uint32_t m_selectedTrim
 
std::weak_ptr< iv::tanks::TankCalibrationDatam_calibrationData
 
std::shared_ptr< AbstractSheetModelm_sheetModelRef
 
CSheetm_sheetRef
 

Constructor & Destructor Documentation

◆ CPanelTanksCalibrationTableEditor()

CPanelTanksCalibrationTableEditor::CPanelTanksCalibrationTableEditor ( const std::weak_ptr< iv::tanks::TankCalibrationData > & calibrationData,
std::string_view tankName )
explicit

◆ ~CPanelTanksCalibrationTableEditor()

CPanelTanksCalibrationTableEditor::~CPanelTanksCalibrationTableEditor ( )
overridedefault

Member Function Documentation

◆ buildPanel()

AbstractComponentGUI * CPanelTanksCalibrationTableEditor::buildPanel ( CDialog * dialogFather)
overridevirtual

◆ prvBuildButtonsLayout()

AbstractComponentGUI * CPanelTanksCalibrationTableEditor::prvBuildButtonsLayout ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
CSheet * sheet )
private

◆ prvCreateSheetModel()

std::shared_ptr< AbstractSheetModel > CPanelTanksCalibrationTableEditor::prvCreateSheetModel ( )
private

◆ prvUpdateSheetModel()

void CPanelTanksCalibrationTableEditor::prvUpdateSheetModel ( ) const
private

◆ update()

void CPanelTanksCalibrationTableEditor::update ( )
overridevirtual

Member Data Documentation

◆ m_calibrationData

std::weak_ptr<iv::tanks::TankCalibrationData> CPanelTanksCalibrationTableEditor::m_calibrationData
private

◆ m_displayingTrim

double CPanelTanksCalibrationTableEditor::m_displayingTrim
private

◆ m_selectedTrim

uint32_t CPanelTanksCalibrationTableEditor::m_selectedTrim
private

◆ m_sheetModelRef

std::shared_ptr<AbstractSheetModel> CPanelTanksCalibrationTableEditor::m_sheetModelRef
private

◆ m_sheetRef

CSheet* CPanelTanksCalibrationTableEditor::m_sheetRef
private

◆ m_tankName

const std::string CPanelTanksCalibrationTableEditor::m_tankName
private

◆ m_trimSelection

CComboBox* CPanelTanksCalibrationTableEditor::m_trimSelection
private

The documentation for this class was generated from the following files: