qt - qdatawidgetmapper for displaying qicons? -


i'm trying create widget allows me display properties of given tool. have model containing tools, , create combobox allows select 1 tool , tools properties displayed using icons.

my model has defined different roles e.g. decoration , display role, i'm wondering how build widget reacts on decoration role of model.

thanks lot in advance donny

try qlabel

specifically mapping pixmap property:

mymapper.addmapping(mylabel, itssection, "pixmap") 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -