Use QGridLayout instead of QFormLayout for parameters