Changeset 11875 for trunk/FACT++/gui/QCameraWidget.cc
- Timestamp:
- 08/10/11 14:56:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/QCameraWidget.cc
r11874 r11875 58 58 // buttonShift += rotationLabel->height(); 59 59 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); 61 65 zeroRotationButton->move(rotationLabel->width(), buttonShift); 62 66 buttonShift += zeroRotationButton->height(); 63 64 minus90RotationButton = new QRadioButton( "-90°", this);67 QString minus90str("-90" + degreeSymbol); 68 minus90RotationButton = new QRadioButton(minus90str, this); 65 69 minus90RotationButton->move(rotationLabel->width(), buttonShift); 66 70 buttonShift += minus90RotationButton->height(); 67 68 plus90Rotationbutton = new QRadioButton( "+90°", this);71 QString plus90str("+90"+degreeSymbol); 72 plus90Rotationbutton = new QRadioButton(plus90str, this); 69 73 plus90Rotationbutton->move(rotationLabel->width(), buttonShift); 70 74
Note:
See TracChangeset
for help on using the changeset viewer.