|
|
@@ -1007,11 +1007,14 @@ bool FormCube::checkThreadFinished()
|
|
|
threadsFinished = false;
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
void FormCube::displayStatistics()
|
|
|
{
|
|
|
+ //ui->sourcecounterLabel->setText("当前原始号码:"+number2Thousandth(sourceModel->getCount())+"个");
|
|
|
+ //ui->destcounterLabel->setText("当前目标号码:"+number2Thousandth(destModel->getCount())+"个");
|
|
|
+ ui->sourcecounterLabel->setText(QString::fromLocal8Bit(("当前原始号码:"+number2Thousandth(sourceModel->getCount())+"个").toLocal8Bit()));
|
|
|
+ ui->destcounterLabel->setText(QString::fromLocal8Bit(("当前目标号码:"+number2Thousandth(destModel->getCount())+"个").toLocal8Bit()));
|
|
|
|
|
|
- ui->sourcecounterLabel->setText("当前原始号码:"+number2Thousandth(sourceModel->getCount())+"个");
|
|
|
- ui->destcounterLabel->setText("当前目标号码:"+number2Thousandth(destModel->getCount())+"个");
|
|
|
if(destModel->getCount()<=0)
|
|
|
{
|
|
|
this->cacheViewDest->setVisible(true);
|
|
|
@@ -1202,9 +1205,9 @@ void FormCube::initButton()
|
|
|
QPushButton *button = new QPushButton();
|
|
|
buttons.append(button);
|
|
|
if(i%2==0)
|
|
|
- button->setText("↑");
|
|
|
+ button->setText(QString::fromLocal8Bit("↑"));
|
|
|
else
|
|
|
- button->setText("↓");
|
|
|
+ button->setText(QString::fromLocal8Bit("↓"));
|
|
|
button->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed);
|
|
|
button->setFixedWidth(28);
|
|
|
button->setFixedHeight(23);
|