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
Post a Comment