VirtualBox

Changeset 14312 in vbox


Ignore:
Timestamp:
Nov 18, 2008 3:59:33 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39504
Message:

FE/Qt4: 3D Acceleration setting added into VM Settings and into VM Selector Details Page.

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp

    r14056 r14312  
    19531953            + QString (sSectionItemTpl).arg (tr ("IO APIC", "details report"), "%7")
    19541954            + QString (sSectionItemTpl).arg (tr ("VT-x/AMD-V", "details report"), "%8")
    1955             + QString (sSectionItemTpl).arg (tr ("PAE/NX", "details report"), "%9");
     1955            + QString (sSectionItemTpl).arg (tr ("PAE/NX", "details report"), "%9")
     1956            + QString (sSectionItemTpl).arg (tr ("3D Acceleration", "details report"), "%10");
    19561957
    19571958        sGeneralFullHrefTpl = QString (sSectionHrefTpl)
    1958             .arg (2 + 9) /* rows */
     1959            .arg (2 + 10) /* rows */
    19591960            .arg (":/machine_16px.png", /* icon */
    19601961                  "#general", /* link */
     
    19621963                  generalItems); /* items */
    19631964        sGeneralFullBoldTpl = QString (sSectionBoldTpl)
    1964             .arg (2 + 9) /* rows */
     1965            .arg (2 + 10) /* rows */
    19651966            .arg (":/machine_16px.png", /* icon */
    19661967                  "#general", /* link */
     
    20732074            : tr ("Disabled", "details report (PAE/NX)");
    20742075
     2076        /* 3D Acceleration */
     2077        QString acc3d = aMachine.GetAccelerate3DEnabled()
     2078            ? tr ("Enabled", "details report (3D Acceleration)")
     2079            : tr ("Disabled", "details report (3D Acceleration)");
     2080
    20752081        /* General + Hard Disks */
    20762082        detailsReport
     
    20852091                .arg (virt)
    20862092                .arg (pae)
     2093                .arg (acc3d)
    20872094            + hardDisks;
    20882095
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp

    r13580 r14312  
    265265    mCbPae->setChecked (aMachine.GetPAEEnabled());
    266266
     267    /* 3D Acceleration */
     268    mCb3D->setChecked (aMachine.GetAccelerate3DEnabled());
     269
    267270    /* Snapshot folder */
    268271    mPsSnapshot->setPath (aMachine.GetSnapshotFolder());
     
    338341    /* PAE/NX */
    339342    mMachine.SetPAEEnabled (mCbPae->isChecked());
     343
     344    /* 3D Acceleration */
     345    mMachine.SetAccelerate3DEnabled (mCb3D->isChecked());
    340346
    341347    /* Saved state folder */
     
    382388    setTabOrder (mCbApic, mCbVirt);
    383389    setTabOrder (mCbVirt, mCbPae);
    384     setTabOrder (mCbPae, mCbClipboard);
     390    setTabOrder (mCbPae, mCb3D);
     391    setTabOrder (mCb3D, mCbClipboard);
    385392    setTabOrder (mCbClipboard, mCbIDEController);
    386393    setTabOrder (mCbIDEController, mPsSnapshot);
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsGeneral.ui

    r12030 r14312  
    719719          </widget>
    720720         </item>
     721         <item>
     722          <widget class="QCheckBox" name="mCb3D" >
     723           <property name="sizePolicy" >
     724            <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
     725             <horstretch>0</horstretch>
     726             <verstretch>0</verstretch>
     727            </sizepolicy>
     728           </property>
     729           <property name="whatsThis" >
     730            <string>When checked, the VirtualBox allows guests to make use of the 3D graphics support available on the host.</string>
     731           </property>
     732           <property name="text" >
     733            <string>Enable &amp;3D Acceleration</string>
     734           </property>
     735          </widget>
     736         </item>
    721737        </layout>
    722738       </item>
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