19 #ifndef QVCT_CCHARTCONTROL_HPP
20 #define QVCT_CCHARTCONTROL_HPP
23 #include <QPushButton>
120 void stepScale(
bool _bIncrease,
bool _bBigStep =
true );
128 void setElevation(
bool _bHasElevation,
bool _bShowElevation );
[UI] Chart control user-interface
void slotScaleTo(int _iValue)
[UI:Slot] Slot to trigger scaling to the given value
QPushButton * pqPushButtonElevation
[UI:Button] Elevation model
void enableControls(bool _bEnable)
Enables/disables all chart controls.
void slotScaleIn()
[UI:Slot] Slot to trigger scale in (zoom out)
QSlider * pqSliderScale
[UI:Button] Scale slider
void stepScale(bool _bIncrease, bool _bBigStep=true)
Increases/decreases the scale by discrete steps.
void enablePointer(bool _bEnable)
Enables/disables pointer actions.
void slotElevation(bool _bAddOrShow)
[UI:Slot] Slot to manage elevation model (add, view, hide)
void slotPositionLock(bool _bLock)
[UI:Slot] Slot to modify the position lock/unlock status
QPushButton * pqPushButtonMeasure
[UI:Button] Ongoing measurements
bool bPointerEnable
Pointer actions activation status.
QPushButton * pqPushButtonScaleIn
[UI:Button] Scale in (zoom out)
void slotScaleLock(bool _bLock)
[UI:Slot] Slot to modify the scale lock/unlock status
void constructLayout()
Constructs the layout of the user-interface.
void slotElevationAdd()
[UI:Slot] Slot to add elevation model
void setScale(double _fdScale)
Sets the scale at the given value.
QPushButton * pqPushButtonScaleFit
[UI:Button] Scale fit
void slotScaleOut()
[UI:Slot] Slot to trigger scale out (zoom in)
QPushButton * pqPushButtonScaleLock
[UI:Button] Lock/unlock scale
void enableMeasureSingle(bool _bEnable)
Enables/disables single measurement.
void setElevation(bool _bHasElevation, bool _bShowElevation)
Sets elevation status.
void lockScale(bool _bLock)
Sets the scale lock/unlock status.
QPushButton * pqPushButtonPositionLock
[UI:Button] Lock/unlock position
void enableTarget(bool _bEnable)
Enables/disables target.
CChartControl(QWidget *_pqParent=0)
QPushButton * pqPushButtonScaleActual
[UI:Button] Scale actual
void enableMeasure(bool _bEnable)
Enables/disables ongoing measurements.
QPushButton * pqPushButtonTarget
[UI:Button] Target
QPushButton * pqPushButtonMeasureSingle
[UI:Button] Single measurement
void lockPosition(bool _bLock)
Sets the position lock/unlock status.
QPushButton * pqPushButtonScaleOut
[UI:Button] Scale out (zoom in)
[UI] Virtual "chart table" (view)