using better encoding for °

This commit is contained in:
jkriege2 2022-07-21 13:14:49 +02:00
parent 8b6e420c56
commit dc715221c7

View File

@ -100,14 +100,14 @@ TestWidgetLogGraphs::TestWidgetLogGraphs(QWidget *parent) :
QDoubleSpinBox* spinLOGAngle=new QDoubleSpinBox(this); QDoubleSpinBox* spinLOGAngle=new QDoubleSpinBox(this);
spinLOGAngle->setRange(-90,90); spinLOGAngle->setRange(-90,90);
spinLOGAngle->setSuffix(QLatin1String("°")); spinLOGAngle->setSuffix(QChar(0xB0));
connect(spinLOGAngle, SIGNAL(valueChanged(double)), plotLOG->getPlotter()->getXAxis(), SLOT(setTickLabelAngle(double))); connect(spinLOGAngle, SIGNAL(valueChanged(double)), plotLOG->getPlotter()->getXAxis(), SLOT(setTickLabelAngle(double)));
layWid->addRow("X-Axis tick label angle", spinLOGAngle); layWid->addRow("X-Axis tick label angle", spinLOGAngle);
spinLOGAngle->setValue(0); spinLOGAngle->setValue(0);
spinLOGAngle=new QDoubleSpinBox(this); spinLOGAngle=new QDoubleSpinBox(this);
spinLOGAngle->setRange(-90,90); spinLOGAngle->setRange(-90,90);
spinLOGAngle->setSuffix(QLatin1String("°")); spinLOGAngle->setSuffix(QChar(0xB0));
connect(spinLOGAngle, SIGNAL(valueChanged(double)), plotLOG->getPlotter()->getYAxis(), SLOT(setTickLabelAngle(double))); connect(spinLOGAngle, SIGNAL(valueChanged(double)), plotLOG->getPlotter()->getYAxis(), SLOT(setTickLabelAngle(double)));
layWid->addRow(tr("Y-axis label angle = "), spinLOGAngle); layWid->addRow(tr("Y-axis label angle = "), spinLOGAngle);
spinLOGAngle->setValue(0); spinLOGAngle->setValue(0);