Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+1
-1
@@ -116,7 +116,7 @@ void SanNineLinerDialog::onEditSanNineLiner()
|
||||
|
||||
if (san.id() <= 0)
|
||||
return;
|
||||
DEBUG_LOG() << "current SanNineLinerId: " << san.id();
|
||||
DEBUG_LOG(m_logger) << "current SanNineLinerId: " << san.id();
|
||||
|
||||
SanNineLinerEditDialog *dialog = new SanNineLinerEditDialog(this);
|
||||
|
||||
|
||||
+1
@@ -38,6 +38,7 @@ private slots:
|
||||
void onRemoveSanNineLiner();
|
||||
|
||||
private:
|
||||
NGL::INGLLogger &m_logger;
|
||||
void retranslate() override;
|
||||
void onSanNineLinerRemoveReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
void tableColumnOrganiserSetting() override;
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ bool SanNineLinerDialogModel::initModel(const std::shared_ptr<Evaluations::Inter
|
||||
insertRow(san);
|
||||
});
|
||||
|
||||
INFO_LOG() << "initModel - #sanNineLiner: " << m_vecData.size();
|
||||
INFO_LOG(m_logger) << "initModel - #sanNineLiner: " << m_vecData.size();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -33,6 +33,7 @@ public:
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override final;
|
||||
|
||||
private:
|
||||
NGL::INGLLogger &m_logger;
|
||||
std::shared_ptr<Evaluations::Interface::Dtc> m_evlDtc;
|
||||
friend class SanNineLinerProxyModel;
|
||||
};
|
||||
@@ -45,6 +46,7 @@ public:
|
||||
|
||||
void setSourceModel(QAbstractItemModel *sourceModel) override;
|
||||
private:
|
||||
NGL::INGLLogger &m_logger;
|
||||
SanNineLinerDialogModel *m_sourceModel{nullptr};
|
||||
};
|
||||
}
|
||||
+5
-5
@@ -108,7 +108,7 @@ bool SanNineLinerEditDialog::init(LtsSession::LtsSessionDataDds *session,
|
||||
|
||||
QVector<Database::SanCategoryLine> linesCategory = SanCategoryLine::fromJson(data.lines(), data.id());
|
||||
|
||||
INFO_LOG() << "linesCategory size: " << linesCategory.size();
|
||||
INFO_LOG(m_logger) << "linesCategory size: " << linesCategory.size();
|
||||
|
||||
for (const Database::SanCategoryLine &cl : std::as_const(linesCategory))
|
||||
{
|
||||
@@ -117,7 +117,7 @@ bool SanNineLinerEditDialog::init(LtsSession::LtsSessionDataDds *session,
|
||||
QLineEdit *leLineAmount = findChild<QLineEdit*>(leName);
|
||||
if (leLineAmount)
|
||||
{
|
||||
INFO_LOG() << "leName: " << leName << ", amount: " << cl.amount;
|
||||
INFO_LOG(m_logger) << "leName: " << leName << ", amount: " << cl.amount;
|
||||
leLineAmount->setText(QString::number(cl.amount));
|
||||
|
||||
continue;
|
||||
@@ -128,7 +128,7 @@ bool SanNineLinerEditDialog::init(LtsSession::LtsSessionDataDds *session,
|
||||
QRadioButton *rbCategory = findChild<QRadioButton*>(rbName);
|
||||
if (rbCategory)
|
||||
{
|
||||
INFO_LOG() << "rbName: " << rbName;
|
||||
INFO_LOG(m_logger) << "rbName: " << rbName;
|
||||
rbCategory->setChecked(true);
|
||||
continue;
|
||||
}
|
||||
@@ -139,7 +139,7 @@ bool SanNineLinerEditDialog::init(LtsSession::LtsSessionDataDds *session,
|
||||
QCheckBox *cbxCategory = findChild<QCheckBox*>(cbxName);
|
||||
if (cbxCategory)
|
||||
{
|
||||
INFO_LOG() << "cbxName: " << cbxName;
|
||||
INFO_LOG(m_logger) << "cbxName: " << cbxName;
|
||||
cbxCategory->setChecked(true);
|
||||
}
|
||||
}
|
||||
@@ -250,7 +250,7 @@ bool SanNineLinerEditDialog::apply()
|
||||
if (request.id() <= 0)
|
||||
{
|
||||
m_sanNineLinerId = m_requestHelper->getRepliedId();
|
||||
ERROR_LOG() << "Created new san nine liner with id " << m_sanNineLinerId;
|
||||
ERROR_LOG(m_logger) << "Created new san nine liner with id " << m_sanNineLinerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
@@ -46,6 +46,7 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
void onSanNineLinerModifyReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in new issue
Block a user