Ignore:
Timestamp:
08/10/11 14:56:32 (13 years ago)
Author:
lyard
Message:
degree character utf16 fixed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/QCameraWidget.cc

    r11874 r11875  
    5858 //       buttonShift += rotationLabel->height();
    5959
    60         zeroRotationButton = new QRadioButton("0°", this);
     60        unsigned short utf16Array;
     61        utf16Array = 0x00b0;
     62        QString degreeSymbol(QString::fromUtf16(&utf16Array, 1));
     63        QString zerostr("0" + degreeSymbol);
     64        zeroRotationButton = new QRadioButton(zerostr, this);
    6165        zeroRotationButton->move(rotationLabel->width(), buttonShift);
    6266        buttonShift += zeroRotationButton->height();
    63 
    64         minus90RotationButton = new QRadioButton("-90°", this);
     67         QString minus90str("-90" + degreeSymbol);
     68        minus90RotationButton = new QRadioButton(minus90str, this);
    6569        minus90RotationButton->move(rotationLabel->width(), buttonShift);
    6670        buttonShift += minus90RotationButton->height();
    67 
    68         plus90Rotationbutton = new QRadioButton("+90°", this);
     71        QString plus90str("+90"+degreeSymbol);
     72        plus90Rotationbutton = new QRadioButton(plus90str, this);
    6973        plus90Rotationbutton->move(rotationLabel->width(), buttonShift);
    7074
Note: See TracChangeset for help on using the changeset viewer.