VirtualBox

Changeset 59877 in vbox for trunk


Ignore:
Timestamp:
Feb 29, 2016 5:06:48 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​​bugref:8115: Mac OS X: VM settings: System page: A bit of care for r105770 (Nested Paging check-box and layout).

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp

    r59870 r59877  
    729729    m_pComboParavirtProvider->addItem(gpConverter->toString(KParavirtProvider_KVM), QVariant(KParavirtProvider_KVM));
    730730
    731     /* Hide hardware virtualization settings when raw-mode is not supported: */
     731    /* Hide VT-x/AMD-V checkbox when raw-mode is not supported: */
    732732#ifndef VBOX_WITH_RAW_MODE
    733     m_pLabelVirtualization->setVisible(false);
     733    m_pWidgetPlaceholder->setVisible(false);
    734734    m_pCheckBoxVirtualization->setVisible(false);
    735     m_pCheckBoxNestedPaging->setVisible(false);
    736735#endif /* !VBOX_WITH_RAW_MODE */
    737736}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.ui

    r56132 r59877  
    575575       </item>
    576576       <item row="1" column="0">
    577         <widget class="QLabel" name="m_pLabelVirtualization">
    578          <property name="text">
    579           <string>Hardware Virtualization:</string>
    580          </property>
    581          <property name="alignment">
    582           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    583          </property>
    584         </widget>
     577        <layout class="QVBoxLayout" name="m_pVerticalLayout1">
     578         <item>
     579          <widget class="QLabel" name="m_pLabelVirtualization">
     580           <property name="text">
     581            <string>Hardware Virtualization:</string>
     582           </property>
     583           <property name="alignment">
     584            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     585           </property>
     586          </widget>
     587         </item>
     588         <item>
     589          <widget class="QWidget" name="m_pWidgetPlaceholder"/>
     590         </item>
     591        </layout>
    585592       </item>
    586593       <item row="1" column="1">
    587         <widget class="QCheckBox" name="m_pCheckBoxVirtualization">
    588          <property name="sizePolicy">
    589           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
    590            <horstretch>1</horstretch>
    591            <verstretch>0</verstretch>
    592           </sizepolicy>
    593          </property>
    594          <property name="whatsThis">
    595           <string>When checked, the virtual machine will try to make use of the host CPU's hardware virtualization extensions such as Intel VT-x and AMD-V.</string>
    596          </property>
    597          <property name="text">
    598           <string>Enable &amp;VT-x/AMD-V</string>
    599          </property>
    600         </widget>
    601        </item>
    602        <item row="2" column="1">
    603         <widget class="QCheckBox" name="m_pCheckBoxNestedPaging">
    604          <property name="sizePolicy">
    605           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
    606            <horstretch>0</horstretch>
    607            <verstretch>0</verstretch>
    608           </sizepolicy>
    609          </property>
    610          <property name="whatsThis">
    611           <string>When checked, the virtual machine will try to make use of the nested paging extension of Intel VT-x and AMD-V.</string>
    612          </property>
    613          <property name="text">
    614           <string>Enable Nested Pa&amp;ging</string>
    615          </property>
    616         </widget>
    617        </item>
    618        <item row="3" column="0" colspan="2">
     594        <layout class="QVBoxLayout" name="m_pVerticalLayout2">
     595         <item>
     596          <widget class="QCheckBox" name="m_pCheckBoxVirtualization">
     597           <property name="sizePolicy">
     598            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     599             <horstretch>1</horstretch>
     600             <verstretch>0</verstretch>
     601            </sizepolicy>
     602           </property>
     603           <property name="whatsThis">
     604            <string>When checked, the virtual machine will try to make use of the host CPU's hardware virtualization extensions such as Intel VT-x and AMD-V.</string>
     605           </property>
     606           <property name="text">
     607            <string>Enable &amp;VT-x/AMD-V</string>
     608           </property>
     609          </widget>
     610         </item>
     611         <item>
     612          <widget class="QCheckBox" name="m_pCheckBoxNestedPaging">
     613           <property name="sizePolicy">
     614            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     615             <horstretch>0</horstretch>
     616             <verstretch>0</verstretch>
     617            </sizepolicy>
     618           </property>
     619           <property name="whatsThis">
     620            <string>When checked, the virtual machine will try to make use of the nested paging extension of Intel VT-x and AMD-V.</string>
     621           </property>
     622           <property name="text">
     623            <string>Enable Nested Pa&amp;ging</string>
     624           </property>
     625          </widget>
     626         </item>
     627        </layout>
     628       </item>
     629       <item row="2" column="0" colspan="2">
    619630        <spacer name="m_pSpacerVertical4">
    620631         <property name="orientation">
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