Dialog 0 0 218 190 Dialog 30 140 161 32 Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok 20 40 71 21 Username 80 40 113 21 20 80 71 21 Password 80 80 113 21 Qt::ImhSensitiveData true buttonBox accepted() Dialog accept() 248 254 157 274 buttonBox rejected() Dialog reject() 316 260 286 274