Opened 17 years ago
Closed 17 years ago
#2839 closed patch (fixed)
Enable virtual keyboard for ComboBox
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | combo virtual keyboard |
Cc: | Ticket locked: | no |
Description
Patch to allow use of VirtualKeyboard? with ComboBoxes?. In it's current state this patch pops up the keyboard correctly, but segfaults when entering characters. I cannot work out the correct way to send the keypresses to the combobox.
Attachments (1)
Change History (3)
Changed 17 years ago by
Attachment: | combovirtualkeyboardpopup.diff added |
---|
comment:1 Changed 17 years ago by
Owner: | changed from Isaac Richards to paulh |
---|---|
Status: | new → assigned |
The problem is that UIKeyboardType expects that either a QLineEdit or QTextEdit or a widget that inherits them is passed to it when SetEdit?() is called in VirtualKeyboard::switchLayout(). The way you have it at the moment you are passing a MythComboBox? which doesn't inherit any of the required edit widgets. It should be easy to fix though, you can get the QLineEdit an editable QComboBox is using by calling QComboBox::lineEdit(). I'll take a look at it.
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Enable virtual keyboard for editable combo