Dialog 0 0 363 300 Dialog Qt::Vertical 20 40 10 Look for three note chords and Qt::LogText true Qt::Vertical 20 40 remove bottom note true remove middle note remove top note Qt::Vertical 20 40 Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok buttonBox accepted() Dialog accept() 248 254 157 274 buttonBox rejected() Dialog reject() 316 260 286 274