Hi,

couldn't you just delete row 4 with the set setParent? And how is test_layout defined? Maybe you have forgotten the "*":
Qt Code:
  1. QLabel::setParent(QGridLayout*&)
To copy to clipboard, switch view to plain text mode 
isn't right because it only will accept
Qt Code:
  1. QLabel::setParent(QGridLayout*)
To copy to clipboard, switch view to plain text mode 

Lykurg