|
libosmscout 1.1.1
|
#include <libosmscout-client-qt/include/osmscoutclientqt/ElevationChartWidget.h>


Public Slots | |
| void | onError (int requestId) |
| void | onElevationProfileAppend (ElevationModule::ElevationPoints points, int requestId) |
| void | onLoadingFinished (int requestId) |
Signals | |
| void | wayChanged () |
| void | loadingChanged () |
| void | elevationProfileRequest (std::shared_ptr< OverlayWay > way, int requestId, osmscout::BreakerRef breaker) |
| void | lineColorChanged () |
| void | lineWidthChanged () |
| void | gradientTopColorChanged () |
| void | gradientBottomColorChanged () |
| void | textColorChanged () |
| void | textPixelSizeChanged () |
| void | textPaddingChanged () |
| void | pointsUpdated () |
Public Member Functions | |
| ElevationChartWidget (QQuickItem *parent=nullptr) | |
| ~ElevationChartWidget () override | |
| void | paint (QPainter *painter) override |
| QObject * | getWay () const |
| void | setWay (QObject *o) |
| bool | isLoading () const |
| QColor | getLineColor () const |
| void | setLineColor (const QColor &color) |
| qreal | getLineWidth () const |
| void | setLineWidth (qreal w) |
| QColor | getGradientTopColor () const |
| void | setGradientTopColor (const QColor &c) |
| QColor | getGradientBottomColor () const |
| void | setGradientBottomColor (const QColor &c) |
| QColor | getTextColor () const |
| void | setTextColor (const QColor &c) |
| int | getTextPixelSize () const |
| void | setTextPixelSize (int size) |
| int | getTextPadding () const |
| void | setTextPadding (int size) |
| qint64 | getPointCount () const |
| double | getLowestElevation () const |
| double | getHighestElevation () const |
| double | getAscent () const |
| double | getDescent () const |
Protected Member Functions | |
| void | reset () |
Protected Attributes | |
| ElevationModule * | elevationModule =nullptr |
| std::shared_ptr< OverlayWay > | way |
| osmscout::BreakerRef | breaker |
| int | requestId =0 |
| ElevationModule::ElevationPoints | points |
| std::optional< ElevationPoint > | lowest |
| std::optional< ElevationPoint > | highest |
| osmscout::Distance | ascent |
| osmscout::Distance | descent |
| Locale | locale =Locale::ByEnvironmentSafe() |
Properties | |
| QObject * | way |
| bool | loading =false |
| QColor | lineColor =Qt::darkBlue |
| qreal | lineWidth =5 |
| QColor | gradientTopColor =QColor(lineColor.red(), lineColor.green(), lineColor.blue(), 0xA0) |
| QColor | gradientBottomColor =Qt::transparent |
| QColor | textColor =Qt::darkBlue |
| int | textPixelSize =14 |
| int | textPadding =4 |
| qint64 | pointCount |
| double | lowestElevation |
| double | highestElevation |
| double | ascent |
| double | descent |
|
explicit |
|
override |
|
signal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| QObject * osmscout::ElevationChartWidget::getWay | ( | ) | const |
|
signal |
|
signal |
|
inline |
|
signal |
|
signal |
|
signal |
|
slot |
|
slot |
|
slot |
|
override |
|
signal |
|
protected |
| void osmscout::ElevationChartWidget::setGradientBottomColor | ( | const QColor & | c | ) |
| void osmscout::ElevationChartWidget::setGradientTopColor | ( | const QColor & | c | ) |
| void osmscout::ElevationChartWidget::setLineColor | ( | const QColor & | color | ) |
| void osmscout::ElevationChartWidget::setLineWidth | ( | qreal | w | ) |
| void osmscout::ElevationChartWidget::setTextColor | ( | const QColor & | c | ) |
| void osmscout::ElevationChartWidget::setTextPadding | ( | int | size | ) |
| void osmscout::ElevationChartWidget::setTextPixelSize | ( | int | size | ) |
| void osmscout::ElevationChartWidget::setWay | ( | QObject * | o | ) |
|
signal |
|
signal |
|
signal |
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
read |
|
read |
|
readwrite |
|
readwrite |
|
read |
|
readwrite |
|
readwrite |
|
read |
|
read |
|
read |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |