11 QGridLayout*
layout =
new QGridLayout(
this);
15 layout->addWidget(
new QLabel(tr(
"Prefix:"),
this), 0, 0);
19 layout->addWidget(
new QLabel(tr(
"Full name:"),
this),
line, 0);
23 layout->addWidget(
new QLabel(tr(
"Fallback:"),
this),
line, 0);
27 layout->addWidget(
new QLabel(tr(
"Size:"),
this),
line, 0);
31 layout->addWidget(
new QLabel(tr(
"Extension:"),
this),
line, 0);
35 layout->addWidget(
new QLabel(tr(
"Defined faces:"),
this),
line, 0);
39 layout->addWidget(
new QLabel(tr(
"License information:"),
this),
line, 0);
43 QWidget *bottomFiller =
new QWidget(
this);
44 bottomFiller->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
45 layout->addWidget(bottomFiller,
line++, 0, 1, 2);
66 if (LicenseManager::get()->getForFace(face->name).count(fs->prefix) > 0)
77 myImages->setText(QString(
"%1 out of %2 (%3%)").arg(
count).arg(
total).arg(percent));
79 percent = licenses * 100 /
count;
80 if (percent == 100 && licenses <
count)
82 myLicenses->setText(QString(
"%1 faces have license information out of %2 (%3%)").arg(licenses).arg(
count).arg(percent));