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
+30
-34
@@ -1,6 +1,5 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ltswidgets_export.h"
|
||||
@@ -15,52 +14,49 @@ namespace LtsWidgets
|
||||
{
|
||||
class LtsFramelessDialog;
|
||||
|
||||
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsProgressDialogHelper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
public:
|
||||
enum class ReplyResult {
|
||||
Close = 0,
|
||||
Success,
|
||||
Failure,
|
||||
TimeOut,
|
||||
};
|
||||
|
||||
enum class ReplyResult
|
||||
{
|
||||
Close = 0,
|
||||
Success,
|
||||
Failure,
|
||||
TimeOut,
|
||||
};
|
||||
explicit LtsProgressDialogHelper(QWidget* parent = nullptr);
|
||||
~LtsProgressDialogHelper();
|
||||
|
||||
explicit LtsProgressDialogHelper(QWidget *parent = nullptr);
|
||||
~LtsProgressDialogHelper();
|
||||
bool isShown() const { return !!m_waitDlg; }
|
||||
void setCustomText(const QString &customText = QString());
|
||||
bool isShown() const
|
||||
{
|
||||
return !!m_waitDlg;
|
||||
}
|
||||
|
||||
void setParentWidget(QWidget *newParent);
|
||||
void setCustomText(const QString& customText = QString());
|
||||
|
||||
public slots:
|
||||
|
||||
void setParentWidget(QWidget* newParent);
|
||||
|
||||
void slotShowWaitForReplyWindow();
|
||||
public slots:
|
||||
|
||||
|
||||
void slotShowWaitForReplyWindow();
|
||||
|
||||
void slotStopWaitForReplyWindow(const LtsWidgets::LtsProgressDialogHelper::ReplyResult &replyResult = ReplyResult::Close ,
|
||||
const QString &replyString = QString());
|
||||
void
|
||||
slotStopWaitForReplyWindow(const LtsWidgets::LtsProgressDialogHelper::ReplyResult& replyResult = ReplyResult::Close,
|
||||
const QString& replyString = QString());
|
||||
|
||||
private:
|
||||
QPointer<LtsFramelessDialog> m_waitDlg;
|
||||
QWidget *m_parentWidget;
|
||||
QPointer<QLabel> m_textLabel;
|
||||
private:
|
||||
QPointer<LtsFramelessDialog> m_waitDlg;
|
||||
QWidget* m_parentWidget;
|
||||
QPointer<QLabel> m_textLabel;
|
||||
|
||||
signals:
|
||||
|
||||
signals:
|
||||
|
||||
void accepted();
|
||||
void accepted();
|
||||
|
||||
private slots:
|
||||
void accept();
|
||||
private slots:
|
||||
void accept();
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsWidgets
|
||||
Reference in new issue
Block a user