mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-29 20:05:38 +03:00
canplay
This commit is contained in:
@@ -64,6 +64,7 @@ AMMtasksWidget::AMMtasksWidget(ConnectorToServer* connectorToServer, TypeListTre
|
|||||||
ui->horizontalLayout_3->setAlignment(Qt::AlignmentFlag::AlignLeft);
|
ui->horizontalLayout_3->setAlignment(Qt::AlignmentFlag::AlignLeft);
|
||||||
|
|
||||||
ui->btnDelete->setVisible(false);
|
ui->btnDelete->setVisible(false);
|
||||||
|
ui->btnCheck->setVisible(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -279,10 +279,6 @@ void TaskAMMFIMTreePreparation::domElementParserAMM(QDomElement element, Module*
|
|||||||
PM* PMmodulParent = static_cast<PM*>(moduleParent);
|
PM* PMmodulParent = static_cast<PM*>(moduleParent);
|
||||||
PMmodulParent->addChildModule(module);
|
PMmodulParent->addChildModule(module);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Активность
|
|
||||||
if(nodeMap.namedItem("active").nodeValue() == "true")
|
|
||||||
module->setIsActiveTrue();
|
|
||||||
}
|
}
|
||||||
else if(name == "rus" || name == "eng")
|
else if(name == "rus" || name == "eng")
|
||||||
{
|
{
|
||||||
@@ -302,11 +298,17 @@ void TaskAMMFIMTreePreparation::domElementParserAMM(QDomElement element, Module*
|
|||||||
DM* DMmodulParent = static_cast<DM*>(moduleParent);
|
DM* DMmodulParent = static_cast<DM*>(moduleParent);
|
||||||
|
|
||||||
if(name == "rus")
|
if(name == "rus")
|
||||||
|
{
|
||||||
DMmodulParent->setLangStructRus(nodeMap.namedItem("techName").nodeValue(),
|
DMmodulParent->setLangStructRus(nodeMap.namedItem("techName").nodeValue(),
|
||||||
nodeMap.namedItem("infoName").nodeValue(),
|
nodeMap.namedItem("infoName").nodeValue(),
|
||||||
nodeMap.namedItem("pdf").nodeValue(),
|
nodeMap.namedItem("pdf").nodeValue(),
|
||||||
nodeMap.namedItem("bookmark").nodeValue(),
|
nodeMap.namedItem("bookmark").nodeValue(),
|
||||||
nodeMap.namedItem("xml").nodeValue());
|
nodeMap.namedItem("xml").nodeValue());
|
||||||
|
|
||||||
|
//Активность
|
||||||
|
if(nodeMap.namedItem("canplay").nodeValue() == "1")
|
||||||
|
DMmodulParent->setIsActiveTrue();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
DMmodulParent->setLangStructEng(nodeMap.namedItem("techName").nodeValue(),
|
DMmodulParent->setLangStructEng(nodeMap.namedItem("techName").nodeValue(),
|
||||||
nodeMap.namedItem("infoName").nodeValue(),
|
nodeMap.namedItem("infoName").nodeValue(),
|
||||||
|
|||||||
Reference in New Issue
Block a user