I am attempting to derive a class from QCombobox that has some specific properties. As yet, I can't get the line into a mode to be able to edit it. It appears that I can select a line in the list and can select the contents. Currently, the constructor looks like this.
ListSelect::ListSelect( QWidget *parent )
: QComboBox( parent )
{
setEditable( true );
setInsertPolicy( QComboBox::InsertAtTop );
}
Question:
How to I activate this control (focus in the edit field) so I can edit the information in the field?
How do I select a portion of the string in the edit field?
Thanks
Bookmarks