[Gammaray-interest] user roles in QAIM
Volker Krause
volker.krause at kdab.com
Wed Dec 19 14:26:06 CET 2012
Hi Ian,
this indeed was not supported until now, but I've just pushed a change to
master that at least shows you named roles as well.
Unnamed custom roles are impossible to detect I think, but adding UI to
manually query a custom role given it's numerical value should be
straightforward now that the role list is no longer hardcoded.
regards,
Volker
On Monday 17 December 2012 10:40:11 Ian Monroe wrote:
> How do I introspect user-defined roles in QAbstractItemModel's? Is it
> possible? setRoleNames doesn't seem to be enough.
--
Volker Krause | volker.krause at kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3634 bytes
Desc: not available
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20121219/f082119b/attachment.bin>
More information about the Gammaray-interest
mailing list