PrefsEdit 0 0 400 300 Preferences -1 Qt::Orientation::Horizontal QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok buttonBox accepted() PrefsEdit accept() 248 254 157 274 buttonBox rejected() PrefsEdit reject() 316 260 286 274