Apply clang-format to Lts/Common and DTC/enum headers
- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
848 files changed
+89305
-100020
No files matched your search
Executable → Regular
+31
-46
@@ -1,70 +1,55 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
#include <QWidget>
|
||||
#include <QtCore/QVector>
|
||||
#include <QtCore/QPointF>
|
||||
#include <QtCore/QPair>
|
||||
|
||||
#include "ltswidgets_export.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <QtCore/QPair>
|
||||
#include <QtCore/QPointF>
|
||||
#include <QtCore/QVector>
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsHeightPlotWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsHeightPlotWidget(QWidget *parent = nullptr);
|
||||
virtual ~LtsHeightPlotWidget();
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsHeightPlotWidget(QWidget* parent = nullptr);
|
||||
virtual ~LtsHeightPlotWidget();
|
||||
|
||||
void clearView();
|
||||
void clearView();
|
||||
|
||||
|
||||
void setData(const QVector<QPair<QPointF, double>>& data);
|
||||
|
||||
void setData(const QVector<QPair<QPointF, double> > &data);
|
||||
|
||||
void setMarks(const QVector<QPointF>& data);
|
||||
|
||||
void setMarks(const QVector<QPointF> &data);
|
||||
void setBackgroundBrush(const QBrush& brush);
|
||||
|
||||
|
||||
void setTextFont(const QFont& f);
|
||||
|
||||
void setBackgroundBrush(const QBrush &brush);
|
||||
|
||||
void setAxisPen(const QPen& pen);
|
||||
|
||||
void setTextFont(const QFont &f);
|
||||
|
||||
void setPositionPen(const QPen& pen);
|
||||
|
||||
void setAxisPen(const QPen &pen);
|
||||
|
||||
void setViewLinePen(const QPen& pen);
|
||||
|
||||
void setPositionPen(const QPen &pen);
|
||||
|
||||
void setContourBrush(const QBrush& brush);
|
||||
|
||||
void setViewLinePen(const QPen &pen);
|
||||
|
||||
void setMarkerPen(const QPen& pen);
|
||||
|
||||
void setContourBrush(const QBrush &brush);
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
void setMarkerPen(const QPen &pen);
|
||||
void mousePositionChanged(const QPointF& curPoint, double curHeight, double mouseHeight);
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
void startLineOfSight(const QPointF& startPoint);
|
||||
|
||||
void mousePositionChanged(const QPointF &curPoint, double curHeight, double mouseHeight);
|
||||
|
||||
void stopLineOfSight();
|
||||
|
||||
void startLineOfSight(const QPointF &startPoint);
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent* e) override;
|
||||
void paintEvent(QPaintEvent* e) override;
|
||||
void mouseMoveEvent(QMouseEvent* e) override;
|
||||
void mouseReleaseEvent(QMouseEvent* e) override;
|
||||
|
||||
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;
|
||||
class Private;
|
||||
Private* const d;
|
||||
};
|
||||
Reference in new issue
Block a user