Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+56
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Interface of Polyline
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "abstract_multi_point_map_object.h"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
namespace SituationMap
|
||||
{
|
||||
|
||||
/**
|
||||
* @brief The Polyline class supports polylines.
|
||||
*/
|
||||
class Polyline : public virtual AbstractMultiPointMapObject
|
||||
{
|
||||
|
||||
using BaseClass = AbstractMultiPointMapObject;
|
||||
|
||||
public:
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Don't use "= default" because of bug in VS2015 JT 2016/11/7
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
Polyline() : BaseClass() {;} ///< Contructor
|
||||
|
||||
virtual ~Polyline() = default; ///< Destructor
|
||||
|
||||
/*! \name ArrowHeads */
|
||||
//@{
|
||||
virtual bool arrowHeadStart() const = 0;
|
||||
virtual void setArrowHeadStart(bool enable) = 0;
|
||||
|
||||
virtual bool arrowHeadEnd() const = 0;
|
||||
virtual void setArrowHeadEnd(bool enable) = 0;
|
||||
//@}
|
||||
|
||||
/*! \name Text on lineSegments */
|
||||
//@{
|
||||
virtual QString textOnSegment(uint segment) const = 0;
|
||||
virtual void setTextOnSegment(uint segment, const QString &segmentText) = 0;
|
||||
virtual void clearTextOnSegment(uint segment) = 0;
|
||||
//@}
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace SituationMap
|
||||
Reference in new issue
Block a user