- 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>
33 lines
567 B
C++
33 lines
567 B
C++
|
|
|
|
#include "app.h"
|
|
|
|
#include "AppChooser/app_chooser_model.h"
|
|
#include "ui_app.h"
|
|
|
|
namespace LtsAppManager
|
|
{
|
|
|
|
CustomViewApp::CustomViewApp(QWidget* parent) : AbstractDisplayWidget(parent), m_ui(new Ui::CustomViewApp)
|
|
{
|
|
m_ui->setupUi(this);
|
|
m_ui->image->setMenuEnabled(false);
|
|
}
|
|
|
|
CustomViewApp::~CustomViewApp()
|
|
{
|
|
delete m_ui;
|
|
}
|
|
|
|
bool CustomViewApp::init(const QModelIndex& idx)
|
|
{
|
|
if (!idx.isValid())
|
|
return false;
|
|
|
|
m_ui->lbAppName->setText(rowData(idx, AppChooserModel::Name).toString());
|
|
|
|
return true;
|
|
}
|
|
|
|
} // namespace LtsAppManager
|