VirtualBox

Ignore:
Timestamp:
Jun 23, 2020 1:12:08 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138789
Message:

FE/Qt: bugref:9515. Painting user name/password line edits to indicate any error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicInstallSetup.h

    r84917 r84918  
    9292    void retranslateUi();
    9393
     94private slots:
     95
     96    void sltHandlePasswordVisibility(bool fPasswordVisible);
     97
    9498private:
    9599
     
    97101    template <class T>
    98102    void addLineEdit(int &iRow, QLabel *&pLabel, T *&pLineEdit, QGridLayout *pLayout);
     103    /** Changes @p pLineEdit's base color to indicate an error or reverts it to the original color. */
     104    void markLineEdit(QLineEdit *pLineEdit, bool fError);
    99105
    100106    QLineEdit          *m_pUserNameLineEdit;
     
    105111    QLabel *m_pPasswordLabel;
    106112    QLabel *m_pPasswordRepeatLabel;
    107 
    108 private slots:
    109 
    110     void sltHandlePasswordVisibility(bool fPasswordVisible);
     113    QColor m_orginalLineEditBaseColor;
    111114};
    112115
Note: See TracChangeset for help on using the changeset viewer.

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