33 myLicenses->setHeaderLabels(QStringList(tr(
"License field")) << tr(
"Value"));
39 myLayout->addWidget(
new QLabel(tr(
"Magicmap color: ")), 4, 1);
46 myFile =
new QLineEdit(
this);
48 myLayout->addWidget(
new QLabel(tr(
"Face file: ")), 5, 1);
51 mySave =
new QPushButton(tr(
"Save face"));
55 QPushButton* smooth =
new QPushButton(tr(
"Make smooth base"),
this);
56 myLayout->addWidget(smooth, 6, 2, 1, 3);
70 for (
auto l : licenses) {
71 QTreeWidgetItem *wi =
new QTreeWidgetItem(QStringList(QString(
l.first.c_str())));
72 for (
auto p :
l.second) {
73 auto twi =
new QTreeWidgetItem(wi, QStringList(p.first.c_str()) << p.second.c_str());
74 twi->setToolTip(1, p.second.c_str());
77 wi->setExpanded(
true);