Changeset 55092 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 2, 2015 1:20:49 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp
r55038 r55092 198 198 void UIPasswordEditor::prepare() 199 199 { 200 /* Set alignment: */201 setAlignment(Qt::AlignCenter);202 200 /* Set echo mode: */ 203 201 setEchoMode(QLineEdit::Password); … … 331 329 encryptedMediums.size()) 332 330 .arg(encryptedMediums.join("<br>")); 333 }334 case Qt::TextAlignmentRole:335 {336 /* Depending on column index: */337 switch (index.column())338 {339 case UIEncryptionDataTableSection_Password:340 return Qt::AlignCenter;341 default: return QVariant();342 }343 break;344 331 } 345 332 default: -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
r55015 r55092 564 564 { 565 565 /* Configure Encryption Password editor: */ 566 m_pEditorEncryptionPassword->setAlignment(Qt::AlignCenter);567 566 m_pEditorEncryptionPassword->setEchoMode(QLineEdit::Password); 568 567 connect(m_pEditorEncryptionPassword, SIGNAL(textEdited(const QString&)), … … 575 574 { 576 575 /* Configure Encryption Password Confirmation editor: */ 577 m_pEditorEncryptionPasswordConfirm->setAlignment(Qt::AlignCenter);578 576 m_pEditorEncryptionPasswordConfirm->setEchoMode(QLineEdit::Password); 579 577 connect(m_pEditorEncryptionPasswordConfirm, SIGNAL(textEdited(const QString&)),
Note:
See TracChangeset
for help on using the changeset viewer.