rulesDialog 0 0 500 320 Dialog true 0 0 480 269 Add Rule Qt::Horizontal 40 20 Qt::Vertical 20 40 Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok buttonBox accepted() rulesDialog accept() 248 254 157 274 buttonBox rejected() rulesDialog reject() 316 260 286 274