- 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>
46 lines
683 B
C++
46 lines
683 B
C++
|
|
#pragma once
|
|
#include <LtsAppDescriptor/lts_app_descriptor.h>
|
|
#include <QObject>
|
|
#include <QWidget>
|
|
|
|
namespace Ui
|
|
{
|
|
class AppChooser;
|
|
}
|
|
|
|
namespace LtsAppManager
|
|
{
|
|
|
|
class AppChooserModel;
|
|
|
|
class AppChooser : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AppChooser();
|
|
~AppChooser();
|
|
|
|
private:
|
|
Ui::AppChooser* m_ui;
|
|
AppChooserModel* m_model;
|
|
bool m_madeSelection;
|
|
bool m_alreadyCloseEmitted{false};
|
|
|
|
void enaDisa();
|
|
|
|
protected:
|
|
void closeEvent(QCloseEvent*);
|
|
|
|
signals:
|
|
void signalAppSelected(LtsAppDescriptor::App appId);
|
|
void signalLogout();
|
|
|
|
private slots:
|
|
void slotAppSelected();
|
|
void slotQuit();
|
|
};
|
|
|
|
} // namespace LtsAppManager
|