VirtualBox

Ignore:
Timestamp:
Apr 2, 2015 1:20:49 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 7676: Runtime UI: Disk Encryption (DE) support: Disable center alignment for the password fields in different places.

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  
    198198void UIPasswordEditor::prepare()
    199199{
    200     /* Set alignment: */
    201     setAlignment(Qt::AlignCenter);
    202200    /* Set echo mode: */
    203201    setEchoMode(QLineEdit::Password);
     
    331329                      encryptedMediums.size())
    332330                      .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;
    344331        }
    345332        default:
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp

    r55015 r55092  
    564564    {
    565565        /* Configure Encryption Password editor: */
    566         m_pEditorEncryptionPassword->setAlignment(Qt::AlignCenter);
    567566        m_pEditorEncryptionPassword->setEchoMode(QLineEdit::Password);
    568567        connect(m_pEditorEncryptionPassword, SIGNAL(textEdited(const QString&)),
     
    575574    {
    576575        /* Configure Encryption Password Confirmation editor: */
    577         m_pEditorEncryptionPasswordConfirm->setAlignment(Qt::AlignCenter);
    578576        m_pEditorEncryptionPasswordConfirm->setEchoMode(QLineEdit::Password);
    579577        connect(m_pEditorEncryptionPasswordConfirm, SIGNAL(textEdited(const QString&)),
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette