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

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -