PDA

View Full Version : Designer plugin & dynamic value list for text input



janus
4th April 2009, 13:41
Hi,

I would like to extend some qt widgets with a property (QString) that is editable in designer. The plugins work so far. I wonder if it is possible to add a list (QCompleter?) where you can select a value for this property. Something like an enumerator but with strings. The background is, that the user can specify a database table name (e.g. the property "tableName" of a QTableView). Therefore it would be helpful if I could load a list of possible tableNames into designer.