Dialog 0 0 400 300 Dialog 300 20 77 106 0 6 OK Cancel Qt::Vertical 20 40 okButton clicked() Dialog accept() 351 38 233 29 cancelButton clicked() Dialog reject() 330 66 197 125