mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
using better encoding for °
This commit is contained in:
parent
8b6e420c56
commit
dc715221c7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user