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
+57
-65
@@ -1,27 +1,21 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
#include "ltstimeline_export.h"
|
||||
#include "timeline_utils.h"
|
||||
|
||||
#include "ltstimeline_export.h"
|
||||
#include <NGLLogger/INGLLogger.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
|
||||
|
||||
class QScrollBar;
|
||||
class QAbstractItemModel;
|
||||
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class Timeline;
|
||||
}
|
||||
|
||||
|
||||
namespace LtsTimeline
|
||||
{
|
||||
|
||||
@@ -29,87 +23,85 @@ class TimelineView;
|
||||
class TimelineHeaderView;
|
||||
class TimelineModel;
|
||||
|
||||
|
||||
class LTSTIMELINE_EXPORT TimelineWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TimelineWidget(QWidget *parent = nullptr);
|
||||
~TimelineWidget();
|
||||
public:
|
||||
explicit TimelineWidget(QWidget* parent = nullptr);
|
||||
~TimelineWidget();
|
||||
|
||||
TimelineView *view();
|
||||
TimelineView* view();
|
||||
|
||||
TimelineHeaderView *header();
|
||||
TimelineHeaderView* header();
|
||||
|
||||
TimelineModel *timelineModel();
|
||||
void setModel(QAbstractItemModel *model);
|
||||
TimelineModel* timelineModel();
|
||||
void setModel(QAbstractItemModel* model);
|
||||
|
||||
QScrollBar *slider();
|
||||
QScrollBar* slider();
|
||||
|
||||
ZoomFactor zoomFactor() const;
|
||||
void setZoomFactor(ZoomFactor factor);
|
||||
ZoomFactor zoomFactor() const;
|
||||
void setZoomFactor(ZoomFactor factor);
|
||||
|
||||
ZoomFactor minimumZoomFactor() const;
|
||||
void setMinimumZoomFactor(ZoomFactor factor);
|
||||
ZoomFactor minimumZoomFactor() const;
|
||||
void setMinimumZoomFactor(ZoomFactor factor);
|
||||
|
||||
ZoomFactor maximumZoomFactor() const;
|
||||
void setMaximumZoomFactor(ZoomFactor factor);
|
||||
ZoomFactor maximumZoomFactor() const;
|
||||
void setMaximumZoomFactor(ZoomFactor factor);
|
||||
|
||||
qint64 startTime() const;
|
||||
void setStartTime(qint64 time);
|
||||
qint64 startTime() const;
|
||||
void setStartTime(qint64 time);
|
||||
|
||||
qint64 currentTime() const;
|
||||
void setCurrentTime(qint64 time);
|
||||
qint64 currentTime() const;
|
||||
void setCurrentTime(qint64 time);
|
||||
|
||||
qint64 endTime() const;
|
||||
void setEndTime(qint64 time);
|
||||
qint64 endTime() const;
|
||||
void setEndTime(qint64 time);
|
||||
|
||||
int duration() const;
|
||||
void setDuration(int duration);
|
||||
int duration() const;
|
||||
void setDuration(int duration);
|
||||
|
||||
bool isCursorTextVisible() const;
|
||||
void setCursorTextVisible(bool visible);
|
||||
void setCursorText(const QString &text);
|
||||
void setCursorText(const QStringList &texts);
|
||||
bool isCursorTextVisible() const;
|
||||
void setCursorTextVisible(bool visible);
|
||||
void setCursorText(const QString& text);
|
||||
void setCursorText(const QStringList& texts);
|
||||
|
||||
bool isSnapEnabled() const;
|
||||
void setSnapEnabled(bool enabled);
|
||||
void enableSnap();
|
||||
void disableSnap();
|
||||
void triggerSnap();
|
||||
bool isSnapEnabled() const;
|
||||
void setSnapEnabled(bool enabled);
|
||||
void enableSnap();
|
||||
void disableSnap();
|
||||
void triggerSnap();
|
||||
|
||||
void setZoomInIcon(QIcon icon);
|
||||
void setZoomOutIcon(QIcon icon);
|
||||
void setZoomInIcon(QIcon icon);
|
||||
void setZoomOutIcon(QIcon icon);
|
||||
|
||||
QWidget *placeholder();
|
||||
void setPlaceholder(QWidget *widget);
|
||||
QWidget* placeholder();
|
||||
void setPlaceholder(QWidget* widget);
|
||||
|
||||
void showDebugWidget();
|
||||
void hideDebugWidget();
|
||||
void showDebugWidget();
|
||||
void hideDebugWidget();
|
||||
|
||||
private:
|
||||
private:
|
||||
NGL::INGLLogger& m_logger;
|
||||
void populateZoomFactorComboBox();
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
void populateZoomFactorComboBox();
|
||||
public:
|
||||
void onUpdateZoomButtons();
|
||||
|
||||
public:
|
||||
void onUpdateZoomButtons();
|
||||
private slots:
|
||||
void onSectionResized(int logicalIndex, int oldSize, int newSize);
|
||||
void onSliderValueChanged(int value);
|
||||
void onZoomChanged(ZoomFactor factor);
|
||||
void onZoomSelected();
|
||||
void onZoomIn();
|
||||
void onZoomOut();
|
||||
|
||||
private slots:
|
||||
void onSectionResized(int logicalIndex, int oldSize, int newSize);
|
||||
void onSliderValueChanged(int value);
|
||||
void onZoomChanged(ZoomFactor factor);
|
||||
void onZoomSelected();
|
||||
void onZoomIn();
|
||||
void onZoomOut();
|
||||
void onUpdateDebugInfo();
|
||||
|
||||
void onUpdateDebugInfo();
|
||||
signals:
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
Ui::Timeline *m_ui{nullptr};
|
||||
private:
|
||||
Ui::Timeline* m_ui{nullptr};
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsTimeline
|
||||
Reference in new issue
Block a user