Mesh: change context for strings on task panel
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <QGroupBox>
|
||||
#include <QObject>
|
||||
#include <QLabel>
|
||||
#endif
|
||||
|
||||
@@ -65,27 +66,27 @@ public:
|
||||
{
|
||||
// NOLINTBEGIN
|
||||
labelPoints = new QLabel();
|
||||
labelPoints->setText(tr("Number of points:"));
|
||||
labelPoints->setText(QObject::tr("Number of points:"));
|
||||
|
||||
labelFacets = new QLabel();
|
||||
labelFacets->setText(tr("Number of facets:"));
|
||||
labelFacets->setText(QObject::tr("Number of facets:"));
|
||||
|
||||
numPoints = new QLabel();
|
||||
numFacets = new QLabel();
|
||||
|
||||
labelMin = new QLabel();
|
||||
labelMin->setText(tr("Minimum bound:"));
|
||||
labelMin->setText(QObject::tr("Minimum bound:"));
|
||||
|
||||
labelMax = new QLabel();
|
||||
labelMax->setText(tr("Maximum bound:"));
|
||||
labelMax->setText(QObject::tr("Maximum bound:"));
|
||||
|
||||
numMin = new QLabel();
|
||||
numMax = new QLabel();
|
||||
// NOLINTEND
|
||||
|
||||
QGroupBox* box = new QGroupBox();
|
||||
box->setTitle(tr("Mesh info box"));
|
||||
box->setWindowTitle(tr("Mesh info"));
|
||||
box->setTitle(QObject::tr("Mesh info box"));
|
||||
box->setWindowTitle(QObject::tr("Mesh info"));
|
||||
// box->setAutoFillBackground(true);
|
||||
QGridLayout* grid = new QGridLayout(box);
|
||||
grid->addWidget(labelPoints, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user