Qt Virtual Chart Table (QVCT)
CSettings Class Reference

[UI] Container for the application's settings More...

#include <settings/CSettings.hpp>

Inheritance diagram for CSettings:

Public Member Functions

 CSettings ()
 
virtual ~CSettings ()
 
void setPathWorkingDirectory (const QString &_rqsPathWorkingDirectory)
 [Path] Sets the current working directory More...
 
void setMainWindowGeometry (const QString &_rqsMainWindowGeometry)
 [Misc] Sets the main window geometry (Base64-encoded binary data) More...
 
void setMainWindowState (const QString &_rqsMainWindowState)
 [Misc] Sets the main window state (Base64-encoded binary data) More...
 
QString getPathWorkingDirectory ()
 [Path] Returns the current working directory More...
 
QString getPathSymbolsDirectory ()
 [Path] Returns the symbols directory More...
 
CUnitDate::EUnit getUnitDate ()
 [Unit] Returns the date format/unit More...
 
CUnitTime::EUnit getUnitTime ()
 [Unit] Returns the time format/unit More...
 
CUnitTimeDelta::EUnit getUnitTimeDelta ()
 [Unit] Returns the time difference format/unit More...
 
CUnitTimeZone::EUnit getUnitTimeZone ()
 [Unit] Returns the timezone format/unit More...
 
CUnitPosition::EUnit getUnitPosition ()
 [Unit] Returns the position format/unit More...
 
CUnitBearing::EUnit getUnitBearing ()
 [Unit] Returns the bearing format/unit More...
 
CUnitDistance::EUnit getUnitDistance ()
 [Unit] Returns the distance format/unit More...
 
CUnitSpeed::EUnit getUnitSpeed ()
 [Unit] Returns the speed format/unit More...
 
CUnitElevation::EUnit getUnitElevation ()
 [Unit] Returns the elevation format/unit More...
 
CUnitSpeedVertical::EUnit getUnitSpeedVertical ()
 [Unit] Returns the vertical speed format/unit More...
 
int getPrecisionTime ()
 [Precision] Returns the time decimal precision More...
 
int getPrecisionTimeDelta ()
 [Precision] Returns the time difference decimal precision More...
 
int getPrecisionPosition ()
 [Precision] Returns the position decimal precision More...
 
int getPrecisionBearing ()
 [Precision] Returns the bearing decimal precision More...
 
int getPrecisionDistance ()
 [Precision] Returns the distance decimal precision More...
 
int getPrecisionSpeed ()
 [Precision] Returns the speed decimal precision More...
 
int getPrecisionElevation ()
 [Precision] Returns the elevation decimal precision More...
 
int getPrecisionSpeedVertical ()
 [Precision] Returns the vertical speed decimal precision More...
 
double getMinValuePosition ()
 [MinValue] Returns the minimum (absolute) position (delta), in meters More...
 
double getMinValueBearing ()
 [MinValue] Returns the minimum (absolute) bearing (delta), in meters More...
 
double getMinValueSpeed ()
 [MinValue] Returns the minimum (absolute) horizontal speed, in meters per second More...
 
double getMinValueSpeedVertical ()
 [MinValue] Returns the minimum (absolute) vertical speed, in meters per second More...
 
double getMaxErrorPosition ()
 [MaxError] Returns the position's maximum error, in meters More...
 
double getMaxErrorElevation ()
 [MaxError] Returns the elevation's maximum error, in meters More...
 
double getMaxErrorTime ()
 [MaxError] Returns the time's maximum error, in seconds More...
 
double getMaxErrorBearing ()
 [MaxError] Returns the bearing's maximum error, in degrees More...
 
double getMaxErrorSpeed ()
 [MaxError] Returns the horizontal speed's maximum error, in meters per second More...
 
double getMaxErrorSpeedVertical ()
 [MaxError] Returns the vertical speed's maximum error, in meters per second More...
 
double getMaxAgePosition ()
 [MaxAge] Returns the position's maximum error, in seconds More...
 
double getMaxAgeElevation ()
 [MaxAge] Returns the elevation's maximum error, in seconds More...
 
double getMaxAgeTime ()
 [MaxAge] Returns the time's maximum error, in seconds More...
 
double getMaxAgeBearing ()
 [MaxAge] Returns the bearing's maximum error, in seconds More...
 
double getMaxAgeSpeed ()
 [MaxAge] Returns the horizontal speed's maximum error, in seconds More...
 
double getMaxAgeSpeedVertical ()
 [MaxAge] Returns the vertical speed's maximum error, in seconds More...
 
QColor getColorPointer ()
 [Color] Returns the pointer overlay's base color More...
 
QColor getColorLandmark ()
 [Color] Returns the landmark overlay's base color More...
 
QColor getColorRoute ()
 [Color] Returns the route overlay's base color More...
 
QColor getColorTrack ()
 [Color] Returns the track overlay's base color More...
 
QColor getColorVessel ()
 [Color] Returns the vessel overlay's base color More...
 
QColor getColorSelected ()
 [Color] Returns the selected objects base color More...
 
QString getMainWindowGeometry ()
 [Misc] Returns the main window geometry (Base64-encoded binary data) More...
 
QString getMainWindowState ()
 [Misc] Returns the main window state (Base64-encoded binary data) More...
 
int getScreenDpi ()
 [Misc] Returns the screen Dots-per-Inch (DPI) More...
 
bool isScreenGestures ()
 [Misc] Returns the screen (multitouch) gestures activation status More...
 
int getRateRefresh ()
 [Misc] Returns the content refresh rate, in milliseconds More...
 
int getRateRedraw ()
 [Misc] Returns the content redraw rate, in seconds More...
 
int getChartOpacity ()
 [Misc] Returns the chart opacity [0,100] More...
 
bool isVisibleSymbols ()
 [Misc] Returns the symbols visibility (on chart) More...
 
bool isPrintHighRes ()
 [Misc] Returns the high-resolution printing status More...
 
void save (const QString &_rqsFilename) const
 Store all parameters to the given file. More...
 
void load (const QString &_rqsFilename)
 Restore all parameters from the given file. More...
 
void dumpQVCT (QXmlStreamWriter &_rqXmlStreamWriter, bool _bProjectDump=false) const
 Stores parameters to the given QVCT destination (file) More...
 
void parseQVCT (const QDomElement &_rqDomElement)
 Retrieves parameters from the given QVCT source (file) More...
 

Protected Member Functions

void validate ()
 Verifies and validates all parameters. More...
 

Private Slots

void slotPathWorkingDirectory (const QString &_rqsPathWorkingDirectory)
 [Path] Slot to modify the current working directory More...
 
void slotPathSymbolsDirectory (const QString &_rqsPathSymbolsDirectory)
 [Path] Slot to modify the symbols directory More...
 
void slotUnitDate (const QString &_rqsSymbol)
 [Unit] Slot to modify the date format/unit More...
 
void slotUnitTime (const QString &_rqsSymbol)
 [Unit] Slot to modify the time format/unit More...
 
void slotUnitTimeDelta (const QString &_rqsSymbol)
 [Unit] Slot to modify the time difference format/unit More...
 
void slotUnitTimeZone (const QString &_rqsSymbol)
 [Unit] Slot to modify the timezone format/unit More...
 
void slotUnitPosition (const QString &_rqsSymbol)
 [Unit] Slot to modify the position format/unit More...
 
void slotUnitBearing (const QString &_rqsSymbol)
 [Unit] Slot to modify the bearing format/unit More...
 
void slotUnitDistance (const QString &_rqsSymbol)
 [Unit] Slot to modify the distance format/unit More...
 
void slotUnitSpeed (const QString &_rqsSymbol)
 [Unit] Slot to modify the speed format/unit More...
 
void slotUnitElevation (const QString &_rqsSymbol)
 [Unit] Slot to modify the elevation format/unit More...
 
void slotUnitSpeedVertical (const QString &_rqsSymbol)
 [Unit] Slot to modify the vertical speed format/unit More...
 
void slotPrecisionTime (int _iPrecision)
 [Precision] Slot to modify the time decimal precision More...
 

Private Member Functions

void slotPrecisionTimeDelta (int _iPrecision)
 [Precision] Slot to modify the time difference decimal precision More...
 
void slotPrecisionPosition (int _iPrecision)
 [Precision] Slot to modify the position decimal precision More...
 
void slotPrecisionBearing (int _iPrecision)
 [Precision] Slot to modify the bearing decimal precision More...
 
void slotPrecisionDistance (int _iPrecision)
 [Precision] Slot to modify the distance decimal precision More...
 
void slotPrecisionSpeed (int _iPrecision)
 [Precision] Slot to modify the speed decimal precision More...
 
void slotPrecisionElevation (int _iPrecision)
 [Precision] Slot to modify the elevation decimal precision More...
 
void slotPrecisionSpeedVertical (int _iPrecision)
 [Precision] Slot to modify the vertical speed decimal precision More...
 
void slotMinValuePosition (const QString &_rqsMinValue)
 [MinValue] Slot to modify the minimum (absolute) position (delta) More...
 
void slotMinValueBearing (const QString &_rqsMinValue)
 [MinValue] Slot to modify the minimum (absolute) bearing (delta) More...
 
void slotMinValueSpeed (const QString &_rqsMinValue)
 [MinValue] Slot to modify the minimum (absolute) horizontal speed More...
 
void slotMinValueSpeedVertical (const QString &_rqsMinValue)
 [MinValue] Slot to modify the minimum (absolute) vertical speed More...
 
void slotMaxErrorPosition (const QString &_rqsMaxError)
 [MaxError] Slot to modify the position maximum error More...
 
void slotMaxErrorElevation (const QString &_rqsMaxError)
 [MaxError] Slot to modify the elevation maximum error More...
 
void slotMaxErrorTime (const QString &_rqsMaxError)
 [MaxError] Slot to modify the time maximum error More...
 
void slotMaxErrorBearing (const QString &_rqsMaxError)
 [MaxError] Slot to modify the bearing maximum error More...
 
void slotMaxErrorSpeed (const QString &_rqsMaxError)
 [MaxError] Slot to modify the horizontal speed maximum error More...
 
void slotMaxErrorSpeedVertical (const QString &_rqsMaxError)
 [MaxError] Slot to modify the vertical speed maximum error More...
 
void slotMaxAgePosition (const QString &_rqsMaxAge)
 [MaxAge] Slot to modify the position maximum age More...
 
void slotMaxAgeElevation (const QString &_rqsMaxAge)
 [MaxAge] Slot to modify the elevation maximum age More...
 
void slotMaxAgeTime (const QString &_rqsMaxAge)
 [MaxAge] Slot to modify the time maximum age More...
 
void slotMaxAgeBearing (const QString &_rqsMaxAge)
 [MaxAge] Slot to modify the bearing maximum age More...
 
void slotMaxAgeSpeed (const QString &_rqsMaxAge)
 [MaxAge] Slot to modify the horizontal speed maximum age More...
 
void slotMaxAgeSpeedVertical (const QString &_rqsMaxAge)
 [MaxAge] Slot to modify the vertical speed maximum age More...
 
void slotScreenDpi (int _iScreenDpi)
 [Misc] Slot to modify the screen Dots-per-Inch (DPI) More...
 
void slotScreenGestures (int _iScreenGestures)
 [Misc] Slot to modify the (multitouch) screen gestures activation status More...
 
void slotRateRefresh (int _iRateRefresh)
 [Misc] Slot to modify the content refresh rate More...
 
void slotRateRedraw (int _iRateRedraw)
 [Misc] Slot to modify the content redraw rate More...
 
void slotChartOpacity (int _iChartOpacity)
 [Misc] Slot to modify the chart opacity More...
 
void slotVisibleSymbols (int _iVisibleSymbols)
 [Misc] Slot to modify the symbols visibility (on chart) More...
 
void slotPrintHighRes (int _iPrintHighRes)
 [Misc] Slot to modify the high-resolution printing status More...
 

Private Attributes

QString qsPathWorkingDirectory
 [Path] Current working directory More...
 
QString qsPathSymbolsDirectory
 [Path] Symbols directory More...
 
CUnitDate::EUnit eUnitDate
 [Unit] Date format/unit More...
 
CUnitTime::EUnit eUnitTime
 [Unit] Time format/unit More...
 
CUnitTimeDelta::EUnit eUnitTimeDelta
 [Unit] Time difference format/unit More...
 
CUnitTimeZone::EUnit eUnitTimeZone
 [Unit] timezone format/unit More...
 
CUnitPosition::EUnit eUnitPosition
 [Unit] Position format/unit More...
 
CUnitBearing::EUnit eUnitBearing
 [Unit] Bearing format/unit More...
 
CUnitDistance::EUnit eUnitDistance
 [Unit] Distance format/unit More...
 
CUnitSpeed::EUnit eUnitSpeed
 [Unit] Speed format/unit More...
 
CUnitElevation::EUnit eUnitElevation
 [Unit] Elevation format/unit More...
 
CUnitSpeedVertical::EUnit eUnitSpeedVertical
 [Unit] Vertical speed format/unit More...
 
int iPrecisionTime
 [Precision] Time decimal precision More...
 
int iPrecisionTimeDelta
 [Precision] Time difference decimal precision More...
 
int iPrecisionPosition
 [Precision] Position decimal precision More...
 
int iPrecisionBearing
 [Precision] Bearing decimal precision More...
 
int iPrecisionDistance
 [Precision] Distance decimal precision More...
 
int iPrecisionSpeed
 [Precision] Speed decimal precision More...
 
int iPrecisionElevation
 [Precision] Elevation decimal precision More...
 
int iPrecisionSpeedVertical
 [Precision] Vertical speed decimal precision More...
 
double fdMinValuePosition
 [MinValue] Minimum (absolute) position (delta), in meters More...
 
double fdMinValueBearing
 [MinValue] Minimum (absolute) bearing (delta), in degrees More...
 
double fdMinValueSpeed
 [MinValue] Minimum (absolute) horizontal speed, in meters per second More...
 
double fdMinValueSpeedVertical
 [MinValue] Minimum (absolute) vertical speed, in meters per second More...
 
double fdMaxErrorPosition
 [MaxError] Position maximum error, in meters More...
 
double fdMaxErrorElevation
 [MaxError] Elevation maximum error, in meters More...
 
double fdMaxErrorTime
 [MaxError] Time maximum error, in seconds More...
 
double fdMaxErrorBearing
 [MaxError] Bearing maximum error, in degrees More...
 
double fdMaxErrorSpeed
 [MaxError] Horizontal speed maximum error, in meters per second More...
 
double fdMaxErrorSpeedVertical
 [MaxError] Vertical speed maximum error, in meters per second More...
 
double fdMaxAgePosition
 [MaxAge] Position maximum age, in seconds More...
 
double fdMaxAgeElevation
 [MaxAge] Elevation maximum age, in seconds More...
 
double fdMaxAgeTime
 [MaxAge] Time maximum age, in seconds More...
 
double fdMaxAgeBearing
 [MaxAge] Bearing maximum age, in seconds More...
 
double fdMaxAgeSpeed
 [MaxAge] Horizontal speed maximum age, in seconds More...
 
double fdMaxAgeSpeedVertical
 [MaxAge] Vertical speed maximum age, in seconds More...
 
QColor qColorPointer
 [Color] Pointer overlay's base color More...
 
QColor qColorLandmark
 [Color] Landmark overlay's base color More...
 
QColor qColorRoute
 [Color] Route overlay's base color More...
 
QColor qColorTrack
 [Color] Track overlay's base color More...
 
QColor qColorVessel
 [Color] Vessel overlay's base color More...
 
QColor qColorSelected
 [Color] Selected objects base color More...
 
QString qsMainWindowGeometry
 [Misc] Main window geometry (Base64-encoded binary data) More...
 
QString qsMainWindowState
 [Misc] Main window state (Base64-encoded binary data) More...
 
int iScreenDpi
 [Misc] Screen Dots-per-Inch (DPI) More...
 
bool bScreenGestures
 [Misc] Screen (multitouch) gestures (activation status) More...
 
int iRateRefresh
 [Misc] Content refresh rate, in milliseconds More...
 
int iRateRedraw
 [Misc] Content redraw rate, in seconds More...
 
int iChartOpacity
 [Misc] Chart opacity [0,100] More...
 
bool bVisibleSymbols
 [Misc] Symbols visibility (on chart) More...
 
bool bPrintHighRes
 [Misc] High-resolution printing More...
 

Detailed Description

[UI] Container for the application's settings

This class gathers all the parameters that allows the user to modify the application's behavior.

Author
Cedric Dufour http://cedric.dufour.name

Definition at line 50 of file CSettings.hpp.

Constructor & Destructor Documentation

◆ CSettings()

CSettings::CSettings ( )

Definition at line 37 of file CSettings.cpp.

◆ ~CSettings()

virtual CSettings::~CSettings ( )
inlinevirtual

Definition at line 213 of file CSettings.hpp.

Member Function Documentation

◆ slotPathWorkingDirectory

void CSettings::slotPathWorkingDirectory ( const QString &  _rqsPathWorkingDirectory)
privateslot

[Path] Slot to modify the current working directory

Definition at line 101 of file CSettings.cpp.

◆ slotPathSymbolsDirectory

void CSettings::slotPathSymbolsDirectory ( const QString &  _rqsPathSymbolsDirectory)
privateslot

[Path] Slot to modify the symbols directory

Definition at line 106 of file CSettings.cpp.

◆ slotUnitDate

void CSettings::slotUnitDate ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the date format/unit

Definition at line 111 of file CSettings.cpp.

◆ slotUnitTime

void CSettings::slotUnitTime ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the time format/unit

Definition at line 116 of file CSettings.cpp.

◆ slotUnitTimeDelta

void CSettings::slotUnitTimeDelta ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the time difference format/unit

Definition at line 121 of file CSettings.cpp.

◆ slotUnitTimeZone

void CSettings::slotUnitTimeZone ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the timezone format/unit

Definition at line 126 of file CSettings.cpp.

◆ slotUnitPosition

void CSettings::slotUnitPosition ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the position format/unit

Definition at line 131 of file CSettings.cpp.

◆ slotUnitBearing

void CSettings::slotUnitBearing ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the bearing format/unit

Definition at line 136 of file CSettings.cpp.

◆ slotUnitDistance

void CSettings::slotUnitDistance ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the distance format/unit

Definition at line 141 of file CSettings.cpp.

◆ slotUnitSpeed

void CSettings::slotUnitSpeed ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the speed format/unit

Definition at line 146 of file CSettings.cpp.

◆ slotUnitElevation

void CSettings::slotUnitElevation ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the elevation format/unit

Definition at line 151 of file CSettings.cpp.

◆ slotUnitSpeedVertical

void CSettings::slotUnitSpeedVertical ( const QString &  _rqsSymbol)
privateslot

[Unit] Slot to modify the vertical speed format/unit

Definition at line 156 of file CSettings.cpp.

◆ slotPrecisionTime

void CSettings::slotPrecisionTime ( int  _iPrecision)
inlineprivateslot

[Precision] Slot to modify the time decimal precision

Definition at line 251 of file CSettings.hpp.

◆ slotPrecisionTimeDelta()

void CSettings::slotPrecisionTimeDelta ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the time difference decimal precision

Definition at line 253 of file CSettings.hpp.

◆ slotPrecisionPosition()

void CSettings::slotPrecisionPosition ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the position decimal precision

Definition at line 255 of file CSettings.hpp.

◆ slotPrecisionBearing()

void CSettings::slotPrecisionBearing ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the bearing decimal precision

Definition at line 257 of file CSettings.hpp.

◆ slotPrecisionDistance()

void CSettings::slotPrecisionDistance ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the distance decimal precision

Definition at line 259 of file CSettings.hpp.

◆ slotPrecisionSpeed()

void CSettings::slotPrecisionSpeed ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the speed decimal precision

Definition at line 261 of file CSettings.hpp.

◆ slotPrecisionElevation()

void CSettings::slotPrecisionElevation ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the elevation decimal precision

Definition at line 263 of file CSettings.hpp.

◆ slotPrecisionSpeedVertical()

void CSettings::slotPrecisionSpeedVertical ( int  _iPrecision)
inlineprivate

[Precision] Slot to modify the vertical speed decimal precision

Definition at line 265 of file CSettings.hpp.

◆ slotMinValuePosition()

void CSettings::slotMinValuePosition ( const QString &  _rqsMinValue)
private

[MinValue] Slot to modify the minimum (absolute) position (delta)

Definition at line 166 of file CSettings.cpp.

◆ slotMinValueBearing()

void CSettings::slotMinValueBearing ( const QString &  _rqsMinValue)
private

[MinValue] Slot to modify the minimum (absolute) bearing (delta)

Definition at line 161 of file CSettings.cpp.

◆ slotMinValueSpeed()

void CSettings::slotMinValueSpeed ( const QString &  _rqsMinValue)
private

[MinValue] Slot to modify the minimum (absolute) horizontal speed

Definition at line 171 of file CSettings.cpp.

◆ slotMinValueSpeedVertical()

void CSettings::slotMinValueSpeedVertical ( const QString &  _rqsMinValue)
private

[MinValue] Slot to modify the minimum (absolute) vertical speed

Definition at line 176 of file CSettings.cpp.

◆ slotMaxErrorPosition()

void CSettings::slotMaxErrorPosition ( const QString &  _rqsMaxError)
private

[MaxError] Slot to modify the position maximum error

Definition at line 181 of file CSettings.cpp.

◆ slotMaxErrorElevation()

void CSettings::slotMaxErrorElevation ( const QString &  _rqsMaxError)
private

[MaxError] Slot to modify the elevation maximum error

Definition at line 186 of file CSettings.cpp.

◆ slotMaxErrorTime()

void CSettings::slotMaxErrorTime ( const QString &  _rqsMaxError)
private

[MaxError] Slot to modify the time maximum error

Definition at line 191 of file CSettings.cpp.

◆ slotMaxErrorBearing()

void CSettings::slotMaxErrorBearing ( const QString &  _rqsMaxError)
private

[MaxError] Slot to modify the bearing maximum error

Definition at line 196 of file CSettings.cpp.

◆ slotMaxErrorSpeed()

void CSettings::slotMaxErrorSpeed ( const QString &  _rqsMaxError)
private

[MaxError] Slot to modify the horizontal speed maximum error

Definition at line 201 of file CSettings.cpp.

◆ slotMaxErrorSpeedVertical()

void CSettings::slotMaxErrorSpeedVertical ( const QString &  _rqsMaxError)
private

[MaxError] Slot to modify the vertical speed maximum error

Definition at line 206 of file CSettings.cpp.

◆ slotMaxAgePosition()

void CSettings::slotMaxAgePosition ( const QString &  _rqsMaxAge)
private

[MaxAge] Slot to modify the position maximum age

Definition at line 211 of file CSettings.cpp.

◆ slotMaxAgeElevation()

void CSettings::slotMaxAgeElevation ( const QString &  _rqsMaxAge)
private

[MaxAge] Slot to modify the elevation maximum age

Definition at line 216 of file CSettings.cpp.

◆ slotMaxAgeTime()

void CSettings::slotMaxAgeTime ( const QString &  _rqsMaxAge)
private

[MaxAge] Slot to modify the time maximum age

Definition at line 221 of file CSettings.cpp.

◆ slotMaxAgeBearing()

void CSettings::slotMaxAgeBearing ( const QString &  _rqsMaxAge)
private

[MaxAge] Slot to modify the bearing maximum age

Definition at line 226 of file CSettings.cpp.

◆ slotMaxAgeSpeed()

void CSettings::slotMaxAgeSpeed ( const QString &  _rqsMaxAge)
private

[MaxAge] Slot to modify the horizontal speed maximum age

Definition at line 231 of file CSettings.cpp.

◆ slotMaxAgeSpeedVertical()

void CSettings::slotMaxAgeSpeedVertical ( const QString &  _rqsMaxAge)
private

[MaxAge] Slot to modify the vertical speed maximum age

Definition at line 236 of file CSettings.cpp.

◆ slotScreenDpi()

void CSettings::slotScreenDpi ( int  _iScreenDpi)
private

[Misc] Slot to modify the screen Dots-per-Inch (DPI)

Definition at line 241 of file CSettings.cpp.

◆ slotScreenGestures()

void CSettings::slotScreenGestures ( int  _iScreenGestures)
private

[Misc] Slot to modify the (multitouch) screen gestures activation status

Definition at line 246 of file CSettings.cpp.

◆ slotRateRefresh()

void CSettings::slotRateRefresh ( int  _iRateRefresh)
private

[Misc] Slot to modify the content refresh rate

Definition at line 251 of file CSettings.cpp.

◆ slotRateRedraw()

void CSettings::slotRateRedraw ( int  _iRateRedraw)
private

[Misc] Slot to modify the content redraw rate

Definition at line 256 of file CSettings.cpp.

◆ slotChartOpacity()

void CSettings::slotChartOpacity ( int  _iChartOpacity)
private

[Misc] Slot to modify the chart opacity

Definition at line 261 of file CSettings.cpp.

◆ slotVisibleSymbols()

void CSettings::slotVisibleSymbols ( int  _iVisibleSymbols)
private

[Misc] Slot to modify the symbols visibility (on chart)

Definition at line 266 of file CSettings.cpp.

◆ slotPrintHighRes()

void CSettings::slotPrintHighRes ( int  _iPrintHighRes)
private

[Misc] Slot to modify the high-resolution printing status

Definition at line 271 of file CSettings.cpp.

◆ setPathWorkingDirectory()

void CSettings::setPathWorkingDirectory ( const QString &  _rqsPathWorkingDirectory)
inline

[Path] Sets the current working directory

Definition at line 322 of file CSettings.hpp.

◆ setMainWindowGeometry()

void CSettings::setMainWindowGeometry ( const QString &  _rqsMainWindowGeometry)
inline

[Misc] Sets the main window geometry (Base64-encoded binary data)

Definition at line 325 of file CSettings.hpp.

◆ setMainWindowState()

void CSettings::setMainWindowState ( const QString &  _rqsMainWindowState)
inline

[Misc] Sets the main window state (Base64-encoded binary data)

Definition at line 327 of file CSettings.hpp.

◆ getPathWorkingDirectory()

QString CSettings::getPathWorkingDirectory ( )
inline

[Path] Returns the current working directory

Definition at line 334 of file CSettings.hpp.

◆ getPathSymbolsDirectory()

QString CSettings::getPathSymbolsDirectory ( )
inline

[Path] Returns the symbols directory

Definition at line 336 of file CSettings.hpp.

◆ getUnitDate()

CUnitDate::EUnit CSettings::getUnitDate ( )
inline

[Unit] Returns the date format/unit

Definition at line 339 of file CSettings.hpp.

◆ getUnitTime()

CUnitTime::EUnit CSettings::getUnitTime ( )
inline

[Unit] Returns the time format/unit

Definition at line 341 of file CSettings.hpp.

◆ getUnitTimeDelta()

CUnitTimeDelta::EUnit CSettings::getUnitTimeDelta ( )
inline

[Unit] Returns the time difference format/unit

Definition at line 343 of file CSettings.hpp.

◆ getUnitTimeZone()

CUnitTimeZone::EUnit CSettings::getUnitTimeZone ( )
inline

[Unit] Returns the timezone format/unit

Definition at line 345 of file CSettings.hpp.

◆ getUnitPosition()

CUnitPosition::EUnit CSettings::getUnitPosition ( )
inline

[Unit] Returns the position format/unit

Definition at line 347 of file CSettings.hpp.

◆ getUnitBearing()

CUnitBearing::EUnit CSettings::getUnitBearing ( )
inline

[Unit] Returns the bearing format/unit

Definition at line 349 of file CSettings.hpp.

◆ getUnitDistance()

CUnitDistance::EUnit CSettings::getUnitDistance ( )
inline

[Unit] Returns the distance format/unit

Definition at line 351 of file CSettings.hpp.

◆ getUnitSpeed()

CUnitSpeed::EUnit CSettings::getUnitSpeed ( )
inline

[Unit] Returns the speed format/unit

Definition at line 353 of file CSettings.hpp.

◆ getUnitElevation()

CUnitElevation::EUnit CSettings::getUnitElevation ( )
inline

[Unit] Returns the elevation format/unit

Definition at line 355 of file CSettings.hpp.

◆ getUnitSpeedVertical()

CUnitSpeedVertical::EUnit CSettings::getUnitSpeedVertical ( )
inline

[Unit] Returns the vertical speed format/unit

Definition at line 357 of file CSettings.hpp.

◆ getPrecisionTime()

int CSettings::getPrecisionTime ( )
inline

[Precision] Returns the time decimal precision

Definition at line 360 of file CSettings.hpp.

◆ getPrecisionTimeDelta()

int CSettings::getPrecisionTimeDelta ( )
inline

[Precision] Returns the time difference decimal precision

Definition at line 362 of file CSettings.hpp.

◆ getPrecisionPosition()

int CSettings::getPrecisionPosition ( )
inline

[Precision] Returns the position decimal precision

Definition at line 364 of file CSettings.hpp.

◆ getPrecisionBearing()

int CSettings::getPrecisionBearing ( )
inline

[Precision] Returns the bearing decimal precision

Definition at line 366 of file CSettings.hpp.

◆ getPrecisionDistance()

int CSettings::getPrecisionDistance ( )
inline

[Precision] Returns the distance decimal precision

Definition at line 368 of file CSettings.hpp.

◆ getPrecisionSpeed()

int CSettings::getPrecisionSpeed ( )
inline

[Precision] Returns the speed decimal precision

Definition at line 370 of file CSettings.hpp.

◆ getPrecisionElevation()

int CSettings::getPrecisionElevation ( )
inline

[Precision] Returns the elevation decimal precision

Definition at line 372 of file CSettings.hpp.

◆ getPrecisionSpeedVertical()

int CSettings::getPrecisionSpeedVertical ( )
inline

[Precision] Returns the vertical speed decimal precision

Definition at line 374 of file CSettings.hpp.

◆ getMinValuePosition()

double CSettings::getMinValuePosition ( )
inline

[MinValue] Returns the minimum (absolute) position (delta), in meters

Definition at line 377 of file CSettings.hpp.

◆ getMinValueBearing()

double CSettings::getMinValueBearing ( )
inline

[MinValue] Returns the minimum (absolute) bearing (delta), in meters

Definition at line 379 of file CSettings.hpp.

◆ getMinValueSpeed()

double CSettings::getMinValueSpeed ( )
inline

[MinValue] Returns the minimum (absolute) horizontal speed, in meters per second

Definition at line 381 of file CSettings.hpp.

◆ getMinValueSpeedVertical()

double CSettings::getMinValueSpeedVertical ( )
inline

[MinValue] Returns the minimum (absolute) vertical speed, in meters per second

Definition at line 383 of file CSettings.hpp.

◆ getMaxErrorPosition()

double CSettings::getMaxErrorPosition ( )
inline

[MaxError] Returns the position's maximum error, in meters

Definition at line 386 of file CSettings.hpp.

◆ getMaxErrorElevation()

double CSettings::getMaxErrorElevation ( )
inline

[MaxError] Returns the elevation's maximum error, in meters

Definition at line 388 of file CSettings.hpp.

◆ getMaxErrorTime()

double CSettings::getMaxErrorTime ( )
inline

[MaxError] Returns the time's maximum error, in seconds

Definition at line 390 of file CSettings.hpp.

◆ getMaxErrorBearing()

double CSettings::getMaxErrorBearing ( )
inline

[MaxError] Returns the bearing's maximum error, in degrees

Definition at line 392 of file CSettings.hpp.

◆ getMaxErrorSpeed()

double CSettings::getMaxErrorSpeed ( )
inline

[MaxError] Returns the horizontal speed's maximum error, in meters per second

Definition at line 394 of file CSettings.hpp.

◆ getMaxErrorSpeedVertical()

double CSettings::getMaxErrorSpeedVertical ( )
inline

[MaxError] Returns the vertical speed's maximum error, in meters per second

Definition at line 396 of file CSettings.hpp.

◆ getMaxAgePosition()

double CSettings::getMaxAgePosition ( )
inline

[MaxAge] Returns the position's maximum error, in seconds

Definition at line 399 of file CSettings.hpp.

◆ getMaxAgeElevation()

double CSettings::getMaxAgeElevation ( )
inline

[MaxAge] Returns the elevation's maximum error, in seconds

Definition at line 401 of file CSettings.hpp.

◆ getMaxAgeTime()

double CSettings::getMaxAgeTime ( )
inline

[MaxAge] Returns the time's maximum error, in seconds

Definition at line 403 of file CSettings.hpp.

◆ getMaxAgeBearing()

double CSettings::getMaxAgeBearing ( )
inline

[MaxAge] Returns the bearing's maximum error, in seconds

Definition at line 405 of file CSettings.hpp.

◆ getMaxAgeSpeed()

double CSettings::getMaxAgeSpeed ( )
inline

[MaxAge] Returns the horizontal speed's maximum error, in seconds

Definition at line 407 of file CSettings.hpp.

◆ getMaxAgeSpeedVertical()

double CSettings::getMaxAgeSpeedVertical ( )
inline

[MaxAge] Returns the vertical speed's maximum error, in seconds

Definition at line 409 of file CSettings.hpp.

◆ getColorPointer()

QColor CSettings::getColorPointer ( )
inline

[Color] Returns the pointer overlay's base color

Definition at line 412 of file CSettings.hpp.

◆ getColorLandmark()

QColor CSettings::getColorLandmark ( )
inline

[Color] Returns the landmark overlay's base color

Definition at line 414 of file CSettings.hpp.

◆ getColorRoute()

QColor CSettings::getColorRoute ( )
inline

[Color] Returns the route overlay's base color

Definition at line 416 of file CSettings.hpp.

◆ getColorTrack()

QColor CSettings::getColorTrack ( )
inline

[Color] Returns the track overlay's base color

Definition at line 418 of file CSettings.hpp.

◆ getColorVessel()

QColor CSettings::getColorVessel ( )
inline

[Color] Returns the vessel overlay's base color

Definition at line 420 of file CSettings.hpp.

◆ getColorSelected()

QColor CSettings::getColorSelected ( )
inline

[Color] Returns the selected objects base color

Definition at line 422 of file CSettings.hpp.

◆ getMainWindowGeometry()

QString CSettings::getMainWindowGeometry ( )
inline

[Misc] Returns the main window geometry (Base64-encoded binary data)

Definition at line 425 of file CSettings.hpp.

◆ getMainWindowState()

QString CSettings::getMainWindowState ( )
inline

[Misc] Returns the main window state (Base64-encoded binary data)

Definition at line 427 of file CSettings.hpp.

◆ getScreenDpi()

int CSettings::getScreenDpi ( )
inline

[Misc] Returns the screen Dots-per-Inch (DPI)

Definition at line 429 of file CSettings.hpp.

◆ isScreenGestures()

bool CSettings::isScreenGestures ( )
inline

[Misc] Returns the screen (multitouch) gestures activation status

Definition at line 431 of file CSettings.hpp.

◆ getRateRefresh()

int CSettings::getRateRefresh ( )
inline

[Misc] Returns the content refresh rate, in milliseconds

Definition at line 433 of file CSettings.hpp.

◆ getRateRedraw()

int CSettings::getRateRedraw ( )
inline

[Misc] Returns the content redraw rate, in seconds

Definition at line 435 of file CSettings.hpp.

◆ getChartOpacity()

int CSettings::getChartOpacity ( )
inline

[Misc] Returns the chart opacity [0,100]

Definition at line 437 of file CSettings.hpp.

◆ isVisibleSymbols()

bool CSettings::isVisibleSymbols ( )
inline

[Misc] Returns the symbols visibility (on chart)

Definition at line 439 of file CSettings.hpp.

◆ isPrintHighRes()

bool CSettings::isPrintHighRes ( )
inline

[Misc] Returns the high-resolution printing status

Definition at line 441 of file CSettings.hpp.

◆ validate()

void CSettings::validate ( )
protected

Verifies and validates all parameters.

Definition at line 280 of file CSettings.cpp.

◆ save()

void CSettings::save ( const QString &  _rqsFilename) const

Store all parameters to the given file.

Definition at line 364 of file CSettings.cpp.

◆ load()

void CSettings::load ( const QString &  _rqsFilename)

Restore all parameters from the given file.

Definition at line 592 of file CSettings.cpp.

◆ dumpQVCT()

void CSettings::dumpQVCT ( QXmlStreamWriter &  _rqXmlStreamWriter,
bool  _bProjectDump = false 
) const

Stores parameters to the given QVCT destination (file)

Definition at line 396 of file CSettings.cpp.

◆ parseQVCT()

void CSettings::parseQVCT ( const QDomElement &  _rqDomElement)

Retrieves parameters from the given QVCT source (file)

Definition at line 628 of file CSettings.cpp.

Member Data Documentation

◆ qsPathWorkingDirectory

QString CSettings::qsPathWorkingDirectory
private

[Path] Current working directory

See also
slotPathWorkingDirectory(), setPathWorkingDirectory(), getPathWorkingDirectory()

Definition at line 61 of file CSettings.hpp.

◆ qsPathSymbolsDirectory

QString CSettings::qsPathSymbolsDirectory
private

[Path] Symbols directory

See also
slotPathSymbolsDirectory(), getPathSymbolsDirectory()

Definition at line 65 of file CSettings.hpp.

◆ eUnitDate

CUnitDate::EUnit CSettings::eUnitDate
private

[Unit] Date format/unit

See also
slotUnitDate(), getUnitDate()

Definition at line 69 of file CSettings.hpp.

◆ eUnitTime

CUnitTime::EUnit CSettings::eUnitTime
private

[Unit] Time format/unit

See also
slotUnitTime(), getUnitTime()

Definition at line 72 of file CSettings.hpp.

◆ eUnitTimeDelta

CUnitTimeDelta::EUnit CSettings::eUnitTimeDelta
private

[Unit] Time difference format/unit

See also
slotUnitTimeDelta(), getUnitTimeDelta()

Definition at line 75 of file CSettings.hpp.

◆ eUnitTimeZone

CUnitTimeZone::EUnit CSettings::eUnitTimeZone
private

[Unit] timezone format/unit

See also
slotUnitTimeZone(), getUnitTimeZone()

Definition at line 78 of file CSettings.hpp.

◆ eUnitPosition

CUnitPosition::EUnit CSettings::eUnitPosition
private

[Unit] Position format/unit

See also
slotUnitPosition(), getUnitPosition()

Definition at line 81 of file CSettings.hpp.

◆ eUnitBearing

CUnitBearing::EUnit CSettings::eUnitBearing
private

[Unit] Bearing format/unit

See also
slotUnitBearing(), getUnitBearing()

Definition at line 84 of file CSettings.hpp.

◆ eUnitDistance

CUnitDistance::EUnit CSettings::eUnitDistance
private

[Unit] Distance format/unit

See also
slotUnitDistance(), getUnitDistance()

Definition at line 87 of file CSettings.hpp.

◆ eUnitSpeed

CUnitSpeed::EUnit CSettings::eUnitSpeed
private

[Unit] Speed format/unit

See also
slotUnitSpeed(), getUnitSpeed()

Definition at line 90 of file CSettings.hpp.

◆ eUnitElevation

CUnitElevation::EUnit CSettings::eUnitElevation
private

[Unit] Elevation format/unit

See also
slotUnitElevation(), getUnitElevation()

Definition at line 93 of file CSettings.hpp.

◆ eUnitSpeedVertical

CUnitSpeedVertical::EUnit CSettings::eUnitSpeedVertical
private

[Unit] Vertical speed format/unit

See also
slotUnitSpeedVertical(), getUnitSpeedVertical()

Definition at line 96 of file CSettings.hpp.

◆ iPrecisionTime

int CSettings::iPrecisionTime
private

[Precision] Time decimal precision

See also
slotPrecisionTime(), getPrecisionTime()

Definition at line 100 of file CSettings.hpp.

◆ iPrecisionTimeDelta

int CSettings::iPrecisionTimeDelta
private

[Precision] Time difference decimal precision

See also
slotPrecisionTimeDelta(), getPrecisionTimeDelta()

Definition at line 103 of file CSettings.hpp.

◆ iPrecisionPosition

int CSettings::iPrecisionPosition
private

[Precision] Position decimal precision

See also
slotPrecisionPosition(), getPrecisionPosition()

Definition at line 106 of file CSettings.hpp.

◆ iPrecisionBearing

int CSettings::iPrecisionBearing
private

[Precision] Bearing decimal precision

See also
slotPrecisionBearing(), getPrecisionBearing()

Definition at line 109 of file CSettings.hpp.

◆ iPrecisionDistance

int CSettings::iPrecisionDistance
private

[Precision] Distance decimal precision

See also
slotPrecisionDistance(), getPrecisionDistance()

Definition at line 112 of file CSettings.hpp.

◆ iPrecisionSpeed

int CSettings::iPrecisionSpeed
private

[Precision] Speed decimal precision

See also
slotPrecisionSpeed(), getPrecisionSpeed()

Definition at line 115 of file CSettings.hpp.

◆ iPrecisionElevation

int CSettings::iPrecisionElevation
private

[Precision] Elevation decimal precision

See also
slotPrecisionElevation(), getPrecisionElevation()

Definition at line 118 of file CSettings.hpp.

◆ iPrecisionSpeedVertical

int CSettings::iPrecisionSpeedVertical
private

[Precision] Vertical speed decimal precision

See also
slotPrecisionSpeedVertical(), getPrecisionSpeedVertical()

Definition at line 121 of file CSettings.hpp.

◆ fdMinValuePosition

double CSettings::fdMinValuePosition
private

[MinValue] Minimum (absolute) position (delta), in meters

Definition at line 124 of file CSettings.hpp.

◆ fdMinValueBearing

double CSettings::fdMinValueBearing
private

[MinValue] Minimum (absolute) bearing (delta), in degrees

Definition at line 126 of file CSettings.hpp.

◆ fdMinValueSpeed

double CSettings::fdMinValueSpeed
private

[MinValue] Minimum (absolute) horizontal speed, in meters per second

Definition at line 128 of file CSettings.hpp.

◆ fdMinValueSpeedVertical

double CSettings::fdMinValueSpeedVertical
private

[MinValue] Minimum (absolute) vertical speed, in meters per second

Definition at line 130 of file CSettings.hpp.

◆ fdMaxErrorPosition

double CSettings::fdMaxErrorPosition
private

[MaxError] Position maximum error, in meters

Definition at line 133 of file CSettings.hpp.

◆ fdMaxErrorElevation

double CSettings::fdMaxErrorElevation
private

[MaxError] Elevation maximum error, in meters

Definition at line 135 of file CSettings.hpp.

◆ fdMaxErrorTime

double CSettings::fdMaxErrorTime
private

[MaxError] Time maximum error, in seconds

Definition at line 137 of file CSettings.hpp.

◆ fdMaxErrorBearing

double CSettings::fdMaxErrorBearing
private

[MaxError] Bearing maximum error, in degrees

Definition at line 139 of file CSettings.hpp.

◆ fdMaxErrorSpeed

double CSettings::fdMaxErrorSpeed
private

[MaxError] Horizontal speed maximum error, in meters per second

Definition at line 141 of file CSettings.hpp.

◆ fdMaxErrorSpeedVertical

double CSettings::fdMaxErrorSpeedVertical
private

[MaxError] Vertical speed maximum error, in meters per second

Definition at line 143 of file CSettings.hpp.

◆ fdMaxAgePosition

double CSettings::fdMaxAgePosition
private

[MaxAge] Position maximum age, in seconds

Definition at line 146 of file CSettings.hpp.

◆ fdMaxAgeElevation

double CSettings::fdMaxAgeElevation
private

[MaxAge] Elevation maximum age, in seconds

Definition at line 148 of file CSettings.hpp.

◆ fdMaxAgeTime

double CSettings::fdMaxAgeTime
private

[MaxAge] Time maximum age, in seconds

Definition at line 150 of file CSettings.hpp.

◆ fdMaxAgeBearing

double CSettings::fdMaxAgeBearing
private

[MaxAge] Bearing maximum age, in seconds

Definition at line 152 of file CSettings.hpp.

◆ fdMaxAgeSpeed

double CSettings::fdMaxAgeSpeed
private

[MaxAge] Horizontal speed maximum age, in seconds

Definition at line 154 of file CSettings.hpp.

◆ fdMaxAgeSpeedVertical

double CSettings::fdMaxAgeSpeedVertical
private

[MaxAge] Vertical speed maximum age, in seconds

Definition at line 156 of file CSettings.hpp.

◆ qColorPointer

QColor CSettings::qColorPointer
private

[Color] Pointer overlay's base color

See also
slotColorPointer(), getColorPointer()

Definition at line 160 of file CSettings.hpp.

◆ qColorLandmark

QColor CSettings::qColorLandmark
private

[Color] Landmark overlay's base color

See also
slotColorLandmark(), getColorLandmark()

Definition at line 163 of file CSettings.hpp.

◆ qColorRoute

QColor CSettings::qColorRoute
private

[Color] Route overlay's base color

See also
slotColorRoute(), getColorRoute()

Definition at line 166 of file CSettings.hpp.

◆ qColorTrack

QColor CSettings::qColorTrack
private

[Color] Track overlay's base color

See also
slotColorTrack(), getColorTrack()

Definition at line 169 of file CSettings.hpp.

◆ qColorVessel

QColor CSettings::qColorVessel
private

[Color] Vessel overlay's base color

See also
slotColorVessel(), getColorVessel()

Definition at line 172 of file CSettings.hpp.

◆ qColorSelected

QColor CSettings::qColorSelected
private

[Color] Selected objects base color

See also
slotColorSelected(), getColorSelected()

Definition at line 175 of file CSettings.hpp.

◆ qsMainWindowGeometry

QString CSettings::qsMainWindowGeometry
private

[Misc] Main window geometry (Base64-encoded binary data)

See also
setMainWindowGeometry(), getMainWindowGeometry()

Definition at line 179 of file CSettings.hpp.

◆ qsMainWindowState

QString CSettings::qsMainWindowState
private

[Misc] Main window state (Base64-encoded binary data)

See also
setMainWindowState(), getMainWindowState()

Definition at line 182 of file CSettings.hpp.

◆ iScreenDpi

int CSettings::iScreenDpi
private

[Misc] Screen Dots-per-Inch (DPI)

See also
slotScreenDpi(), getScreenDpi()

Definition at line 186 of file CSettings.hpp.

◆ bScreenGestures

bool CSettings::bScreenGestures
private

[Misc] Screen (multitouch) gestures (activation status)

See also
slotScreenGestures(), isScreenGestures()

Definition at line 189 of file CSettings.hpp.

◆ iRateRefresh

int CSettings::iRateRefresh
private

[Misc] Content refresh rate, in milliseconds

See also
slotRateRefresh(), getRateRefresh()

Definition at line 192 of file CSettings.hpp.

◆ iRateRedraw

int CSettings::iRateRedraw
private

[Misc] Content redraw rate, in seconds

See also
slotRateRedraw(), getRateRedraw()

Definition at line 195 of file CSettings.hpp.

◆ iChartOpacity

int CSettings::iChartOpacity
private

[Misc] Chart opacity [0,100]

See also
slotChartOpacity(), getChartOpacity()

Definition at line 198 of file CSettings.hpp.

◆ bVisibleSymbols

bool CSettings::bVisibleSymbols
private

[Misc] Symbols visibility (on chart)

See also
slotVisibleSymbols(), isVisibleSymbols()

Definition at line 201 of file CSettings.hpp.

◆ bPrintHighRes

bool CSettings::bPrintHighRes
private

[Misc] High-resolution printing

See also
slotPrintHighRes(), isPrintHighRes()

Definition at line 204 of file CSettings.hpp.


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