parent
2113f6e7d4
commit
f6b6a0bc36
|
@ -266,44 +266,22 @@ void DialogMDataBase::InitDataBase(const QStringList &list)
|
||||||
InitGroup(groupA, "A. " + tr("Direct Height", "Measurement section"), ListGroupA(), list);
|
InitGroup(groupA, "A. " + tr("Direct Height", "Measurement section"), ListGroupA(), list);
|
||||||
InitGroup(groupB, "B. " + tr("Direct Width", "Measurement section"), ListGroupB(), list);
|
InitGroup(groupB, "B. " + tr("Direct Width", "Measurement section"), ListGroupB(), list);
|
||||||
InitGroup(groupC, "C. " + tr("Indentation", "Measurement section"), ListGroupC(), list);
|
InitGroup(groupC, "C. " + tr("Indentation", "Measurement section"), ListGroupC(), list);
|
||||||
InitGroup(groupD, "D. " + tr("Circumference and Arc", "Measurement section"), ListGroupD(), list);
|
InitGroup(groupD, "D. " + tr("Hand", "Measurement section"), ListGroupD(), list);
|
||||||
InitGroup(groupE, "E. " + tr("Vertical", "Measurement section"), ListGroupE(), list);
|
InitGroup(groupE, "E. " + tr("Foot", "Measurement section"), ListGroupE(), list);
|
||||||
InitGroup(groupF, "F. " + tr("Horizontal", "Measurement section"), ListGroupF(), list);
|
InitGroup(groupF, "F. " + tr("Head", "Measurement section"), ListGroupF(), list);
|
||||||
InitGroup(groupG, "G. " + tr("Bust", "Measurement section"), ListGroupG(), list);
|
InitGroup(groupG, "G. " + tr("Circumference and Arc", "Measurement section"), ListGroupG(), list);
|
||||||
InitGroup(groupH, "H. " + tr("Balance", "Measurement section"), ListGroupH(), list);
|
InitGroup(groupH, "H. " + tr("Vertical", "Measurement section"), ListGroupH(), list);
|
||||||
InitGroup(groupI, "I. " + tr("Arm", "Measurement section"), ListGroupI(), list);
|
InitGroup(groupI, "I. " + tr("Horizontal", "Measurement section"), ListGroupI(), list);
|
||||||
InitGroup(groupJ, "J. " + tr("Leg", "Measurement section"), ListGroupJ(), list);
|
InitGroup(groupJ, "J. " + tr("Bust", "Measurement section"), ListGroupJ(), list);
|
||||||
InitGroup(groupK, "K. " + tr("Crotch and Rise", "Measurement section"), ListGroupK(), list);
|
InitGroup(groupK, "K. " + tr("Balance", "Measurement section"), ListGroupK(), list);
|
||||||
InitGroup(groupL, "L. " + tr("Hand", "Measurement section"), ListGroupL(), list);
|
InitGroup(groupL, "L. " + tr("Arm", "Measurement section"), ListGroupL(), list);
|
||||||
InitGroup(groupM, "M. " + tr("Foot", "Measurement section"), ListGroupM(), list);
|
InitGroup(groupM, "M. " + tr("Leg", "Measurement section"), ListGroupM(), list);
|
||||||
InitGroup(groupN, "N. " + tr("Head", "Measurement section"), ListGroupN(), list);
|
InitGroup(groupN, "N. " + tr("Crotch and Rise", "Measurement section"), ListGroupN(), list);
|
||||||
InitGroup(groupO, "O. " + tr("Men & Tailoring", "Measurement section"), ListGroupO(), list);
|
InitGroup(groupO, "O. " + tr("Men & Tailoring", "Measurement section"), ListGroupO(), list);
|
||||||
InitGroup(groupP, "P. " + tr("Historical & Specialty", "Measurement section"), ListGroupP(), list);
|
InitGroup(groupP, "P. " + tr("Historical & Specialty", "Measurement section"), ListGroupP(), list);
|
||||||
InitGroup(groupQ, "Q. " + tr("Patternmaking measurements", "Measurement section"), ListGroupQ(), list);
|
InitGroup(groupQ, "Q. " + tr("Patternmaking measurements", "Measurement section"), ListGroupQ(), list);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
|
||||||
void DialogMDataBase::InitDataBase()
|
|
||||||
{
|
|
||||||
InitGroup(groupA, "A. " + tr("Direct Height", "Measurement section"), ListGroupA());
|
|
||||||
InitGroup(groupB, "B. " + tr("Direct Width", "Measurement section"), ListGroupB());
|
|
||||||
InitGroup(groupC, "C. " + tr("Indentation", "Measurement section"), ListGroupC());
|
|
||||||
InitGroup(groupD, "D. " + tr("Circumference and Arc", "Measurement section"), ListGroupD());
|
|
||||||
InitGroup(groupE, "E. " + tr("Vertical", "Measurement section"), ListGroupE());
|
|
||||||
InitGroup(groupF, "F. " + tr("Horizontal", "Measurement section"), ListGroupF());
|
|
||||||
InitGroup(groupG, "G. " + tr("Bust", "Measurement section"), ListGroupG());
|
|
||||||
InitGroup(groupH, "H. " + tr("Balance", "Measurement section"), ListGroupH());
|
|
||||||
InitGroup(groupI, "I. " + tr("Arm", "Measurement section"), ListGroupI());
|
|
||||||
InitGroup(groupJ, "J. " + tr("Leg", "Measurement section"), ListGroupJ());
|
|
||||||
InitGroup(groupK, "K. " + tr("Crotch and Rise", "Measurement section"), ListGroupK());
|
|
||||||
InitGroup(groupL, "L. " + tr("Hand", "Measurement section"), ListGroupL());
|
|
||||||
InitGroup(groupM, "M. " + tr("Foot", "Measurement section"), ListGroupM());
|
|
||||||
InitGroup(groupN, "N. " + tr("Head", "Measurement section"), ListGroupN());
|
|
||||||
InitGroup(groupO, "O. " + tr("Men & Tailoring", "Measurement section"), ListGroupO());
|
|
||||||
InitGroup(groupP, "P. " + tr("Historical & Specialty", "Measurement section"), ListGroupP());
|
|
||||||
InitGroup(groupQ, "Q. " + tr("Patternmaking measurements", "Measurement section"), ListGroupQ());
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void DialogMDataBase::InitGroup(QTreeWidgetItem *group, const QString &groupName, const QStringList &mList,
|
void DialogMDataBase::InitGroup(QTreeWidgetItem *group, const QString &groupName, const QStringList &mList,
|
||||||
const QStringList &list)
|
const QStringList &list)
|
||||||
|
|
|
@ -82,8 +82,7 @@ private:
|
||||||
QTreeWidgetItem *groupP;
|
QTreeWidgetItem *groupP;
|
||||||
QTreeWidgetItem *groupQ;
|
QTreeWidgetItem *groupQ;
|
||||||
|
|
||||||
void InitDataBase(const QStringList &list);
|
void InitDataBase(const QStringList &list = QStringList());
|
||||||
void InitDataBase();
|
|
||||||
void InitGroup(QTreeWidgetItem *group, const QString &groupName, const QStringList &mList,
|
void InitGroup(QTreeWidgetItem *group, const QString &groupName, const QStringList &mList,
|
||||||
const QStringList &list = QStringList());
|
const QStringList &list = QStringList());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user