Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* CustomView for eqm Operator
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Mike Wille, SLSE, 2016-04-08
|
||||
*/
|
||||
|
||||
#include "whm_injury_model.h"
|
||||
#include "ui_whm_injury_model.h"
|
||||
|
||||
#include "injury_model_model.h"
|
||||
|
||||
namespace WarehouseManagement
|
||||
{
|
||||
CustomViewInjuryModel::CustomViewInjuryModel(QWidget *parent)
|
||||
: AbstractDisplayWidget(parent)
|
||||
, m_ui(new Ui::CustomViewInjuryModel)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
}
|
||||
|
||||
CustomViewInjuryModel::~CustomViewInjuryModel()
|
||||
{
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
bool CustomViewInjuryModel::init(const QModelIndex &idx)
|
||||
{
|
||||
if (!idx.isValid())
|
||||
return false;
|
||||
|
||||
m_ui->lbName->setText(rowData(idx, WarehouseManagement::InjuryModelModel::Name).toString());
|
||||
m_ui->lbInfo->setText(rowData(idx, WarehouseManagement::InjuryModelModel::Description).toString());
|
||||
return true;
|
||||
}
|
||||
} // namespace WarehouseManagement
|
||||
Reference in new issue
Block a user