PDA

View Full Version : Editing QLineEdit boxes with QSignalMapper class.



savaliya_ambani
30th September 2010, 05:54
Dear All,

My Work is very simple,but i am in confusion regarding the design. I have Touch LCD, upon which i have builld a QWERTY keypad using QSignalMapper. And this emits a respective CHAR upon pressing a particluar key.

Now, i want to edit this key char into a QLineEdit box ,which can vary between different Menu pages. I have 10 Menu pages, each is having some LineEdit boxes. All Menupages have been added in QStackedWidget. When i have ,lat say MenuPage1,and i want to set 3 field parameters.

How,should i direct the key pad value onto this 3 line edit boxes? I hope you get what i mean?

savaliya_ambani
2nd October 2010, 07:20
Hello,

can i use the QKeyEvent / QEventFilter?, if i want to receive the pressed key from My virtual key board built using QSignalMapper.

can the pressed key be edited in QLineEdit ? I am struggling since last few days,but no luck.