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
+18
-28
@@ -1,47 +1,37 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "lts_base.h"
|
||||
#include "ltswidgets_export.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QObject>
|
||||
|
||||
namespace LtsWidgets
|
||||
{
|
||||
|
||||
|
||||
enum class Behaviour
|
||||
{
|
||||
Popup = 0,
|
||||
Modal,
|
||||
enum class Behaviour {
|
||||
Popup = 0,
|
||||
Modal,
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsFramelessDialog : public QDialog
|
||||
class LTSWIDGETS_EXPORT LtsFramelessDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
public:
|
||||
explicit LtsFramelessDialog(QWidget* parent = nullptr, const Behaviour& behaviour = Behaviour::Popup);
|
||||
virtual ~LtsFramelessDialog();
|
||||
|
||||
explicit LtsFramelessDialog(QWidget *parent = nullptr, const Behaviour &behaviour = Behaviour::Popup);
|
||||
virtual ~LtsFramelessDialog();
|
||||
public Q_SLOTS:
|
||||
void onUpdateGeometry();
|
||||
|
||||
public Q_SLOTS:
|
||||
void onUpdateGeometry();
|
||||
private:
|
||||
QRect screenRectFromPoint(const QPoint &pos) const;
|
||||
void addTouchScroll(QWidget *widget);
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
private:
|
||||
QRect screenRectFromPoint(const QPoint& pos) const;
|
||||
void addTouchScroll(QWidget* widget);
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent* event) override;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsWidgets
|
||||
Reference in new issue
Block a user