Yes I wanted to complain. However, it was suppose to be a question too: Is there a way of setting a qvalidator to the qcombobox and retreving it when the qcombobox is not editable?
Yes I wanted to complain. However, it was suppose to be a question too: Is there a way of setting a qvalidator to the qcombobox and retreving it when the qcombobox is not editable?
If it is just about attaching one object to another then you can make the validator a child of the combobox and then query the combobox for its children inheriting QValidator interface (using QObject::findChild).
mrandreas (28th September 2010)
Bookmarks