VirtualBox

Ignore:
Timestamp:
Oct 1, 2014 12:32:43 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Wizards: Rename 'Show/Hide Description' buttons into 'Guided/Expert Mode', some sane tool-tips also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/UIWizard.cpp

    r52730 r52914  
    103103    switch (m_mode)
    104104    {
    105         case WizardMode_Basic: setButtonText(QWizard::CustomButton1, tr("Hide Description")); break;
    106         case WizardMode_Expert: setButtonText(QWizard::CustomButton1, tr("Show Description")); break;
     105        case WizardMode_Basic:
     106            setButtonText(QWizard::CustomButton1, tr("Expert Mode"));
     107            button(QWizard::CustomButton1)->setToolTip(tr("Switch to <nobr><b>Expert Mode</b></nobr>, a one-page dialog for experienced users."));
     108            break;
     109        case WizardMode_Expert:
     110            setButtonText(QWizard::CustomButton1, tr("Guided Mode"));
     111            button(QWizard::CustomButton1)->setToolTip(tr("Switch to <nobr><b>Guided Mode</b></nobr>, a step-by-step dialog with detailed explanations."));
     112            break;
    107113        default: AssertMsgFailed(("Invalid mode: %d", m_mode)); break;
    108114    }
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