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
+11
-19
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
|
||||
#include "lts_overlay_loading.h"
|
||||
|
||||
#include "ui_lts_overlay_loading.h"
|
||||
|
||||
#include <QHBoxLayout>
|
||||
@@ -9,37 +9,29 @@
|
||||
#include <QProgressBar>
|
||||
#include <QPushButton>
|
||||
|
||||
|
||||
namespace LtsWidgets
|
||||
{
|
||||
LtsOverlayLoading::LtsOverlayLoading(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
, m_ui(new Ui::LtsOverlayLoading)
|
||||
LtsOverlayLoading::LtsOverlayLoading(QWidget* parent) : QWidget(parent), m_ui(new Ui::LtsOverlayLoading)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
setCancelButtonVisible(false);
|
||||
connect(m_ui->pbCancel, &QPushButton::clicked,
|
||||
this, [this](){ setCancelButtonEnabled(false); });
|
||||
connect(m_ui->pbCancel, &QPushButton::clicked,
|
||||
this, &LtsOverlayLoading::cancel);
|
||||
m_ui->setupUi(this);
|
||||
setCancelButtonVisible(false);
|
||||
connect(m_ui->pbCancel, &QPushButton::clicked, this, [this]() { setCancelButtonEnabled(false); });
|
||||
connect(m_ui->pbCancel, &QPushButton::clicked, this, &LtsOverlayLoading::cancel);
|
||||
}
|
||||
|
||||
|
||||
void LtsOverlayLoading::setText(const QString &text)
|
||||
void LtsOverlayLoading::setText(const QString& text)
|
||||
{
|
||||
m_ui->label->setText(text);
|
||||
m_ui->label->setText(text);
|
||||
}
|
||||
|
||||
|
||||
void LtsOverlayLoading::setCancelButtonVisible(bool visible)
|
||||
{
|
||||
m_ui->pbCancel->setVisible(visible);
|
||||
m_ui->pbCancel->setVisible(visible);
|
||||
}
|
||||
|
||||
|
||||
void LtsOverlayLoading::setCancelButtonEnabled(bool enabled)
|
||||
{
|
||||
m_ui->pbCancel->setEnabled(enabled);
|
||||
m_ui->pbCancel->setEnabled(enabled);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace LtsWidgets
|
||||
Reference in new issue
Block a user