- 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>
26 lines
617 B
C++
26 lines
617 B
C++
|
|
#pragma once
|
|
#include <LtsAppDescriptor/lts_app_descriptor.h>
|
|
#include <LtsWidgets/lts_abstract_table_model.h>
|
|
#include <QObject>
|
|
|
|
namespace LtsAppManager
|
|
{
|
|
class AppChooserModel final : public LtsWidgets::LtsAbstractTableModel<LtsAppDescriptor::AppDescription>
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
enum Columns {
|
|
Name = 0,
|
|
Visible,
|
|
};
|
|
|
|
explicit AppChooserModel(QObject* parent = nullptr);
|
|
|
|
bool initModel(const LtsAppDescriptor::AppDescriptionVector& availableApps);
|
|
|
|
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override final;
|
|
};
|
|
} // namespace LtsAppManager
|