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
+17
-25
@@ -1,14 +1,11 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
#include "ltstimeline_export.h"
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
#include <QObject>
|
||||
#include <QPushButton>
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
namespace LtsTimeline
|
||||
{
|
||||
@@ -16,33 +13,28 @@ namespace LtsTimeline
|
||||
class TimelineView;
|
||||
class TimelineModel;
|
||||
|
||||
|
||||
class LTSTIMELINE_EXPORT ItemDelegate : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ItemDelegate(TimelineView *parent = nullptr);
|
||||
~ItemDelegate();
|
||||
public:
|
||||
ItemDelegate(TimelineView* parent = nullptr);
|
||||
~ItemDelegate();
|
||||
|
||||
|
||||
QSize sizeHint(const QStyleOptionViewItem& option = {}, const QModelIndex& index = {}) const override;
|
||||
|
||||
QSize sizeHint(const QStyleOptionViewItem &option = {}, const QModelIndex &index = {}) const override;
|
||||
virtual void paintDragItems(QPainter* painter) const;
|
||||
virtual void paintTrackButtons(QPainter* painter, const QStyleOptionViewItem& option,
|
||||
const QModelIndex& index) const;
|
||||
|
||||
|
||||
protected:
|
||||
virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
|
||||
|
||||
virtual void paintDragItems(QPainter *painter) const;
|
||||
virtual void paintTrackButtons(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
|
||||
protected:
|
||||
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||
|
||||
protected:
|
||||
TimelineView *m_view { nullptr };
|
||||
|
||||
QPushButton *m_pushButton { nullptr };
|
||||
QPushButton *m_pushButtonPressed { nullptr };
|
||||
protected:
|
||||
TimelineView* m_view{nullptr};
|
||||
|
||||
QPushButton* m_pushButton{nullptr};
|
||||
QPushButton* m_pushButtonPressed{nullptr};
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsTimeline
|
||||
Reference in new issue
Block a user