Try out this:
void QComboBox::setEditText ( const QString & text )
To copy to clipboard, switch view to plain text mode
You might have to subclass the QComboBox to achieve the deleting when the user selects, I am not sure.
Might be doable with the signals:
void editTextChanged
( const QString & text
)
void editTextChanged ( const QString & text )
To copy to clipboard, switch view to plain text mode
and/or
void activated ( int index )
void activated
( const QString & text
)
void activated ( int index )
void activated ( const QString & text )
To copy to clipboard, switch view to plain text mode
I am not sure if this works, but it might be worth a try.
http://qt-project.org/doc/qt-4.8/qcombobox.html is your friend :-)
Bookmarks