TheRonin
13th November 2006, 16:46
Hi everyone!
In my app i receive a pointer to a widget without knowing exactly what type of widget it is. However, i still would like to read and write some of its properties. As i understand it, i can use the QAccessibleInterface class to get a generic interface to the object's meta data but i can't find any examples that show how this should be done. Reading the Qt documentation it says that i can use it to "wrap all Qt widgets and objects" but the examples all use some custon widget.
If anyone has more knowledge about the QAccessibleInterface class and would like to share it, please do so! An example would be extremely helpful.
Thanks in advance
In my app i receive a pointer to a widget without knowing exactly what type of widget it is. However, i still would like to read and write some of its properties. As i understand it, i can use the QAccessibleInterface class to get a generic interface to the object's meta data but i can't find any examples that show how this should be done. Reading the Qt documentation it says that i can use it to "wrap all Qt widgets and objects" but the examples all use some custon widget.
If anyone has more knowledge about the QAccessibleInterface class and would like to share it, please do so! An example would be extremely helpful.
Thanks in advance