Op 29-10-2013 8:28, Konrad Rosenbaum schreef:
On Monday 28 October 2013 15:42:53 Philipp Kursawe wrote:
> is it possible to get the background color and margins for a
specific item
> in a treeview from outside the treeview?
Yes, there is a background color role that you can query from the
model. If there is no data for this role, the default background color
for the view is used (check its palette).
It's not that easy. There may be other factors involved: style sheets,
custom delegates... So the general answer is: "no", but in a more
constrained environment, the answer is "maybe".
André
Konrad
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
--
You like Qt?
I am looking for collegues to join me at i-Optics!
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest