Changeset 11104
- Timestamp:
- 06/22/11 13:50:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/SpinBoxHex.h
r10657 r11104 4 4 #include <QSpinBox> 5 5 6 6 #include <iostream> 7 7 class QRegExpValidator; 8 8 … … 25 25 QString textFromValue(int val) const 26 26 { 27 return QString::number(val, 16). toLower();27 return QString::number(val, 16).right(8).rightJustified(8, '0').toLower().insert(4, ':'); 28 28 } 29 29
Note:
See TracChangeset
for help on using the changeset viewer.