right, now i am close to where i was, when i was still inheriting from QVBoxLayout: no crash, but nothing to see as well. these are the messages i get on the console:
Qt Code:
  1. settin "02.10" "Bauwerke in der Kanalisation" // see the code posted above
  2. no Items found in gbl // in the Designer i had added an empty layout for gbl
  3. Attempting to add QLayout "" to ConfigWindow "ConfigWindow", which already has a layout. // i don't have any idea where this message comes from.
  4. // please see the code above - i am not yet adding a layout
  5. // and i never add it to ConfigWindow
  6.  
  7. // the next two messages are from aart.getEigenschaftenEdit(this), this is why i think the error above is coming too early. i get told, that 2 elemens have been successfully added to the layout, so i should be able to see something
  8. es werden bereits 0 Atribute verwendet. Weiter 2 k÷nnen hinzugewõhlt werden
  9. Das Eigenschaftenlayout hat jetzt 2 Elemente
  10.  
  11. // now a second call to the function
  12. settin "02.10.60" "Verbindungsbauwerk"
  13. removing Layout "" // this means that obviously i have been able to add a layout at the first try. so why can't i see anything??
To copy to clipboard, switch view to plain text mode