Hello,

I have a problem/missunderstanding with the usage of the
QmitkDataStorageTableModel. I want to add a table to my view so it shows
certain nodes of the data storage and a property. However, when trying to
create all the widgets from the .ui file, it detects that it cannot be
created as it is a Q_OBJECT, not a widget.

Furthermore, when trying to create it programatically, I do not know how to
add it to an existing Qt layout, as it apparently only accepts widgets to
be added to a layout, not objects. How can I work my way through it to add
the table to the GUI (via Qt Designer for instance), or programatically? I
am quite lost on that, and casting and such does not seem to work for me.

Thank you,
Albert.
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to