navi1084
25th June 2009, 12:38
Dear All,
In my application i need to get the data in ascii format if user types string prefixed by '\' in QLineEdit.
Ex: if user press '\002' then ASCII equivalent is STX(start of text). which is also equivalent 0x02.
if user enters normal text, then it should return same.
Can anyone tell me how can resolve this.???
How can i achieve this
In my application i need to get the data in ascii format if user types string prefixed by '\' in QLineEdit.
Ex: if user press '\002' then ASCII equivalent is STX(start of text). which is also equivalent 0x02.
if user enters normal text, then it should return same.
Can anyone tell me how can resolve this.???
How can i achieve this