VirtualBox

Changeset 2351 in vbox


Ignore:
Timestamp:
Apr 26, 2007 1:29:59 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20744
Message:

FE/Qt: Improved the About dialog; changed "Global Settings" to "Preferences" everywhere.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 added
5 edited

Legend:

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

    r2344 r2351  
    463463             "<b>%1</b> in the directory <b><nobr>%2</nobr></b>.</p>"
    464464             "<p>The language will be temporarily reset to the system "
    465              "default language. Please go to the <b>Global Settings</b> "
     465             "default language. Please go to the <b>Preferences</b> "
    466466             "dialog which you can open from the <b>File</b> menu of the "
    467467             "main VirtualBox window, and select one of the existing "
     
    476476         tr ("<p>Could not load the language file <b><nobr>%1</nobr></b>. "
    477477             "<p>The language will be temporarily reset to English (built-in). "
    478              "Please go to the <b>Global Settings</b> "
     478             "Please go to the <b>Preferences</b> "
    479479             "dialog which you can open from the <b>File</b> menu of the "
    480480             "main VirtualBox window, and select one of the existing "
     
    16151615
    16161616    VBoxAboutDlg dlg (mainWindowShown(), "VBoxAboutDlg");
    1617     QString versions = dlg.txVersions->text();
    1618     dlg.txVersions->setText (versions
    1619                              .arg (COMVersion));
    1620 #ifdef Q_WS_MAC
    1621     /*
    1622      * Get rid of the exceedingly ugly pushbutton background.
    1623      * (We should probably consider doing this on all platforms.)
    1624      */
    1625     dlg.buttonOK->setBackgroundOrigin (QWidget::ParentOrigin);
    1626     dlg.buttonOK->setPaletteBackgroundPixmap (*dlg.paletteBackgroundPixmap());
    1627 #endif
    1628 
     1617    dlg.setup (COMVersion);
    16291618    dlg.exec();
    16301619}
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r2347 r2351  
    10321032     * be really interesting to see how this plays on non-english systems...
    10331033     */
    1034     fileSettingsAction->setMenuText (tr ("Preference..."));
     1034    fileSettingsAction->setMenuText (tr ("&Preferences...", "global settings"));
    10351035#else
    1036     fileSettingsAction->setMenuText (tr ("&Global Settings..."));
     1036    /*
     1037     * ...and on other platforms we use "Preferences" as well. The #ifdef is
     1038     * left because of the possible localization problems on Mac we first need
     1039     * to figure out.
     1040     */
     1041    fileSettingsAction->setMenuText (tr ("&Preferences...", "global settings"));
    10371042#endif
    10381043    fileSettingsAction->setAccel (tr ("Ctrl+G"));
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxAboutDlg.ui

    r2222 r2351  
    3939        <string>VirtualBox - About</string>
    4040    </property>
    41     <widget class="QPushButton">
     41    <widget class="QLabel">
    4242        <property name="name">
    43             <cstring>buttonOK</cstring>
     43            <cstring>mAboutLabel</cstring>
    4444        </property>
    4545        <property name="geometry">
    4646            <rect>
    47                 <x>14</x>
    48                 <y>416</y>
    49                 <width>82</width>
    50                 <height>26</height>
    51             </rect>
    52         </property>
    53         <property name="text">
    54             <string>&amp;OK</string>
    55         </property>
    56         <property name="accel">
    57             <string>Alt+O</string>
    58         </property>
    59     </widget>
    60     <widget class="QLabel">
    61         <property name="name">
    62             <cstring>txVersions</cstring>
    63         </property>
    64         <property name="geometry">
    65             <rect>
    66                 <x>14</x>
    67                 <y>10</y>
    68                 <width>566</width>
    69                 <height>20</height>
     47                <x>10</x>
     48                <y>389</y>
     49                <width>580</width>
     50                <height>56</height>
    7051            </rect>
    7152        </property>
     
    8364            <enum>ParentOrigin</enum>
    8465        </property>
     66        <property name="font">
     67            <font>
     68                <pointsize>7</pointsize>
     69            </font>
     70        </property>
    8571        <property name="lineWidth">
    8672            <number>0</number>
    8773        </property>
    8874        <property name="text">
    89             <string>VirtualBox Graphical User Interface Version %1</string>
     75            <string>&lt;qt&gt;VirtualBox Graphical User Interface Version %1&lt;br&gt;
     76%2&lt;/qt&gt;</string>
    9077        </property>
    9178        <property name="alignment">
    92             <set>WordBreak|AlignBottom|AlignLeft</set>
     79            <set>WordBreak|AlignBottom|AlignHCenter</set>
    9380        </property>
    9481    </widget>
    9582</widget>
    96 <connections>
    97     <connection>
    98         <sender>buttonOK</sender>
    99         <signal>clicked()</signal>
    100         <receiver>VBoxAboutDlg</receiver>
    101         <slot>accept()</slot>
    102     </connection>
    103 </connections>
     83<includes>
     84    <include location="local" impldecl="in implementation">VBoxAboutDlg.ui.h</include>
     85</includes>
     86<functions>
     87    <function>setup( const QString &amp; aVersion )</function>
     88    <function>mouseReleaseEvent( QMouseEvent *aEv )</function>
     89</functions>
    10490<pixmapinproject/>
    10591<layoutdefaults spacing="6" margin="11"/>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui

    r2240 r2351  
    3232    </property>
    3333    <property name="caption">
    34         <string>VirtualBox Global Settings</string>
     34        <string>VirtualBox Preferences</string>
    3535    </property>
    3636    <property name="sizeGripEnabled">
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