Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
+69
@@ -0,0 +1,69 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
#include <QtCore/QVector>
|
||||
#include <QtCore/QPointF>
|
||||
#include <QtCore/QPair>
|
||||
|
||||
#include "lts_widgets_export.h"
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsHeightPlotWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsHeightPlotWidget(QWidget *parent = nullptr);
|
||||
virtual ~LtsHeightPlotWidget();
|
||||
|
||||
void clearView();
|
||||
|
||||
|
||||
|
||||
void setData(const QVector<QPair<QPointF, double> > &data);
|
||||
|
||||
|
||||
void setMarks(const QVector<QPointF> &data);
|
||||
|
||||
|
||||
|
||||
void setBackgroundBrush(const QBrush &brush);
|
||||
|
||||
|
||||
void setTextFont(const QFont &f);
|
||||
|
||||
|
||||
void setAxisPen(const QPen &pen);
|
||||
|
||||
|
||||
void setPositionPen(const QPen &pen);
|
||||
|
||||
|
||||
void setViewLinePen(const QPen &pen);
|
||||
|
||||
|
||||
void setContourBrush(const QBrush &brush);
|
||||
|
||||
|
||||
void setMarkerPen(const QPen &pen);
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
|
||||
void mousePositionChanged(const QPointF &curPoint, double curHeight, double mouseHeight);
|
||||
|
||||
|
||||
void startLineOfSight(const QPointF &startPoint);
|
||||
|
||||
|
||||
void stopLineOfSight();
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
void mouseMoveEvent(QMouseEvent *e) override;
|
||||
void mouseReleaseEvent(QMouseEvent *e) override;
|
||||
|
||||
class Private;
|
||||
Private *const d;
|
||||
};
|
||||
Reference in new issue
Block a user