views:

30

answers:

0

I have a graphics engine, for which I have to make an editor. Editor aims to create xml file which describes how screen is constructed from layers etc. There is a lot of classes like SimpleText, Rectangle, Layer in the engine. Some of them share set of the same methods like GetWidth but many are specific to the given widget.

I would like to display tree with columns: property and value. For each item in the tree I have somehow connect setters and getters. I can't use Q_POPERTY. How to do this in a nice way?