Dialog 0 0 400 300 Dialog Time Location Divemaster Buddy Notes Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok date Preview Message buttonBox accepted() Dialog accept() 248 254 157 274 buttonBox rejected() Dialog reject() 316 260 286 274