VirtualBox

Changeset 1557 in vbox


Ignore:
Timestamp:
Mar 19, 2007 1:33:40 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Spelling corrections, etc.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VMGlobalSettings.h

    r1435 r1557  
    8484        mData()->guiFeatures = aFeatures;
    8585    }
    86     bool isFeatureActivated (const char*) const;
     86    bool isFeatureActive (const char*) const;
    8787
    8888    //
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r1466 r1557  
    707707{
    708708    VMGlobalSettings settings = vboxGlobal().settings();
    709     /* Searching for known keys */
    710     const char *noMenuBar = "noMenuBar";
    711     const char *noStatusBar = "noStatusBar";
    712     menuBar()->setHidden (settings.isFeatureActivated (noMenuBar));
    713     statusBar()->setHidden (settings.isFeatureActivated (noStatusBar));
     709    /* Process known keys */
     710    menuBar()->setHidden (settings.isFeatureActive ("noMenuBar"));
     711    statusBar()->setHidden (settings.isFeatureActive ("noStatusBar"));
    714712}
    715713
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r1435 r1557  
    13641364{
    13651365    message (mainWindowShown(), Critical,
    1366              tr ("<p>VirtualBox is running in forced <b>noSelector</b> "
    1367                  "mode.</p><p>Please run VirtualBox with -startvm parameter "
    1368                  "specifying required VM to start.</p>"
     1366             tr ("<p>Cannot run VirtualBox in <i>VM Selector</i> "
     1367                 "mode due to local restrictions.</p>"
    13691368                 "<p>The application will now terminate.</p>"));
    13701369}
  • trunk/src/VBox/Frontends/VirtualBox/src/VMGlobalSettings.cpp

    r1435 r1557  
    109109}
    110110
    111 bool VMGlobalSettings::isFeatureActivated (const char *aFeature) const
     111bool VMGlobalSettings::isFeatureActive (const char *aFeature) const
    112112{
    113113    QStringList featureList = QStringList::split (',', data()->guiFeatures);
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r1495 r1557  
    179179    {
    180180        VMGlobalSettings settings = vboxGlobal().settings();
    181         /* Searching for known keys */
    182         const char *noSelector = "noSelector";
    183         bool forcedConsole = settings.isFeatureActivated (noSelector);
     181        /* Process known keys */
     182        bool noSelector = settings.isFeatureActive ("noSelector");
    184183
    185184        if (vboxGlobal().isVMConsoleProcess())
     
    189188                rc = a.exec();
    190189        }
    191         else if (forcedConsole)
     190        else if (noSelector)
    192191        {
    193192            vboxProblem().cannotRunInSelectorMode();
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r1551 r1557  
    7474        setResizeMode (AllColumns);
    7575        QWhatsThis::add (this, tr ("Defines the boot device order. "
    76                                    "Click on the checkbox to select which "
    77                                    "devices will be used. Move desired boot "
    78                                    "devices up/down to define boot sequence."));
     76                                   "Use checkboxes to the left to enable or disable "
     77                                   "individual boot devices. Move items up and down to "
     78                                   "change the device order."));
    7979        setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Preferred);
    8080        connect (this, SIGNAL (pressed (QListViewItem*)),
     
    135135    {
    136136        /* Setup main widget layout */
    137         QHBoxLayout *mainLayout = new QHBoxLayout (this, 0, 10, "mainLayout");
     137        QHBoxLayout *mainLayout = new QHBoxLayout (this, 0, 6, "mainLayout");
    138138
    139139        /* Setup settings layout */
     
    149149        QWhatsThis::add (mBtnUp, tr ("Move the selected boot device up."));
    150150        QWhatsThis::add (mBtnDown, tr ("Move the selected boot device down."));
     151        QToolTip::add (mBtnUp, tr ("Move Up (Ctrl-Up)"));
     152        QToolTip::add (mBtnDown, tr ("Move Down (Ctrl-Down)"));
    151153        mBtnUp->setAutoRaise (true);
    152154        mBtnDown->setAutoRaise (true);
Note: See TracChangeset for help on using the changeset viewer.

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