12 addLabel(tr(
"Full name:"),
"fullname");
13 addLabel(tr(
"Fallback:"),
"fallback");
15 addLabel(tr(
"Extension:"),
"extension");
16 addWidget(tr(
"Defined faces:"),
myImages =
new QLabel(
this),
true,
nullptr,
nullptr);
17 addWidget(tr(
"License information:"),
myLicenses =
new QLabel(
this),
true,
nullptr,
nullptr);
28 if (face->
number < fs->allocated && fs->faces[face->
number].datalen > 0) {
30 if (myLicenseManager->getForFace(face->name).count(fs->prefix) > 0) {
40 myImages->setText(QString(
"%1 out of %2 (%3%)").arg(
count).arg(
total).arg(percent));
42 percent = licenses * 100 /
count;
43 if (percent == 100 && licenses <
count)
45 myLicenses->setText(QString(
"%1 faces have license information out of %2 (%3%)").arg(licenses).arg(
count).arg(percent));