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
+37
-39
@@ -1,61 +1,59 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QObject>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class PictureEditing;
|
||||
}
|
||||
|
||||
namespace LtsWidgets{
|
||||
class LtsPictureView;
|
||||
namespace LtsWidgets
|
||||
{
|
||||
class LtsPictureView;
|
||||
}
|
||||
|
||||
|
||||
class LtsPictureEditing : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit LtsPictureEditing(QWidget *parent = nullptr);
|
||||
~LtsPictureEditing();
|
||||
public:
|
||||
explicit LtsPictureEditing(QWidget* parent = nullptr);
|
||||
~LtsPictureEditing();
|
||||
|
||||
private:
|
||||
QImage m_grayImage;
|
||||
QImage m_image;
|
||||
private:
|
||||
QImage m_grayImage;
|
||||
QImage m_image;
|
||||
|
||||
LtsWidgets::LtsPictureView *m_gvPicture;
|
||||
LtsWidgets::LtsPictureView* m_gvPicture;
|
||||
|
||||
Ui::PictureEditing *m_ui;
|
||||
Ui::PictureEditing* m_ui;
|
||||
|
||||
private:
|
||||
void setSpinboxLimits(const QSize &picSize, bool setValues = true);
|
||||
void clear();
|
||||
void addViewToFrame();
|
||||
void initRatio();
|
||||
private:
|
||||
void setSpinboxLimits(const QSize& picSize, bool setValues = true);
|
||||
void clear();
|
||||
void addViewToFrame();
|
||||
void initRatio();
|
||||
|
||||
private slots:
|
||||
void onOpenImage();
|
||||
void onSetSize();
|
||||
void setSpinboxValues(const QRect &picRect);
|
||||
void onRatioChanged();
|
||||
void onRatioClicked();
|
||||
void onSavePicture();
|
||||
void onLeftChanged(int left);
|
||||
void onRightChanged(int right);
|
||||
void onTopChanged(int top);
|
||||
void onBottomChanged(int bottom);
|
||||
private slots:
|
||||
void onOpenImage();
|
||||
void onSetSize();
|
||||
void setSpinboxValues(const QRect& picRect);
|
||||
void onRatioChanged();
|
||||
void onRatioClicked();
|
||||
void onSavePicture();
|
||||
void onLeftChanged(int left);
|
||||
void onRightChanged(int right);
|
||||
void onTopChanged(int top);
|
||||
void onBottomChanged(int bottom);
|
||||
|
||||
signals:
|
||||
void setPicture(const QImage &, const QPoint &, const bool flag);
|
||||
void setAspectRatio(double ratio);
|
||||
void ratioClicked(bool enabled);
|
||||
int leftChanged(int left);
|
||||
int rightChanged(int right);
|
||||
int topChanged(int top);
|
||||
int bottomChanged(int bottom);
|
||||
signals:
|
||||
void setPicture(const QImage&, const QPoint&, const bool flag);
|
||||
void setAspectRatio(double ratio);
|
||||
void ratioClicked(bool enabled);
|
||||
int leftChanged(int left);
|
||||
int rightChanged(int right);
|
||||
int topChanged(int top);
|
||||
int bottomChanged(int bottom);
|
||||
};
|
||||
Reference in new issue
Block a user