VirtualBox

Changeset 3183 in vbox for trunk


Ignore:
Timestamp:
Jun 20, 2007 1:23:46 PM (18 years ago)
Author:
vboxsync
Message:

2028: Add VT-x/AMD-V setting:

"Enable VT-x/AMD-V" setting check-box was added into VM & Global settings allowing user to choose if the VM should try to support host processor specific virtualization features.

"VRDP Auth Library" setting was added into Global settings allowing user to select the required Remote Desktop Auth library.

Location:
trunk/src/VBox/Frontends/VirtualBox/ui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui

    r2997 r3183  
    399399                        </grid>
    400400                    </widget>
     401                    <widget class="QGroupBox">
     402                        <property name="name">
     403                            <cstring>groupBox2</cstring>
     404                        </property>
     405                        <property name="title">
     406                            <string>V&amp;RDP Authentication Library</string>
     407                        </property>
     408                        <hbox>
     409                            <property name="name">
     410                                <cstring>unnamed</cstring>
     411                            </property>
     412                            <property name="spacing">
     413                                <number>5</number>
     414                            </property>
     415                            <widget class="QLineEdit">
     416                                <property name="name">
     417                                    <cstring>leVRDPLib</cstring>
     418                                </property>
     419                                <property name="whatsThis" stdset="0">
     420                                    <string>Displays the path to the library that provides authentication for Remote Display (VRDP) clients.</string>
     421                                </property>
     422                            </widget>
     423                            <widget class="QToolButton">
     424                                <property name="name">
     425                                    <cstring>tbSelectVRDPLib</cstring>
     426                                </property>
     427                                <property name="focusPolicy">
     428                                    <enum>TabFocus</enum>
     429                                </property>
     430                                <property name="text">
     431                                    <string></string>
     432                                </property>
     433                                <property name="iconSet">
     434                                    <iconset>select_file_16px.png</iconset>
     435                                </property>
     436                                <property name="autoRaise">
     437                                    <bool>true</bool>
     438                                </property>
     439                                <property name="whatsThis" stdset="0">
     440                                    <string>Opens a dialog to select the VRDP authentication library file.</string>
     441                                </property>
     442                            </widget>
     443                            <widget class="QToolButton">
     444                                <property name="name">
     445                                    <cstring>tbResetVRDPLib</cstring>
     446                                </property>
     447                                <property name="focusPolicy">
     448                                    <enum>TabFocus</enum>
     449                                </property>
     450                                <property name="text">
     451                                    <string></string>
     452                                </property>
     453                                <property name="iconSet">
     454                                    <iconset>eraser_16px.png</iconset>
     455                                </property>
     456                                <property name="autoRaise">
     457                                    <bool>true</bool>
     458                                </property>
     459                                <property name="whatsThis" stdset="0">
     460                                    <string>Resets the authentication library file to the default value. The actual default library file will be displayed after accepting the changes and opening this dialog again.</string>
     461                                </property>
     462                            </widget>
     463                        </hbox>
     464                    </widget>
     465                    <widget class="QGroupBox">
     466                        <property name="name">
     467                            <cstring>groupBox3</cstring>
     468                        </property>
     469                        <property name="title">
     470                            <string>&amp;Extended Features</string>
     471                        </property>
     472                        <hbox>
     473                            <property name="name">
     474                                <cstring>unnamed</cstring>
     475                            </property>
     476                            <widget class="QCheckBox">
     477                                <property name="name">
     478                                    <cstring>chbVTX</cstring>
     479                                </property>
     480                                <property name="text">
     481                                    <string>Enable &amp;VT-x/AMD-V</string>
     482                                </property>
     483                                <property name="accel">
     484                                    <string>Alt+V</string>
     485                                </property>
     486                                <property name="whatsThis" stdset="0">
     487                                    <string>Defines whether virtual machines should try to make use of the host CPU's hardware virtualization extensions such as Intel VT-x and AMD-V by default or not.</string>
     488                                </property>
     489                            </widget>
     490                        </hbox>leVRDPLib
     491                    </widget>
    401492                    <spacer>
    402493                        <property name="name">
     
    11281219    </connection>
    11291220    <connection>
     1221        <sender>tbResetVRDPLib</sender>
     1222        <signal>clicked()</signal>
     1223        <receiver>VBoxGlobalSettingsDlg</receiver>
     1224        <slot>tbResetFolder_clicked()</slot>
     1225    </connection>
     1226    <connection>
     1227        <sender>tbSelectVRDPLib</sender>
     1228        <signal>clicked()</signal>
     1229        <receiver>VBoxGlobalSettingsDlg</receiver>
     1230        <slot>tbSelectFolder_clicked()</slot>
     1231    </connection>
     1232    <connection>
    11301233        <sender>lvUSBFilters</sender>
    11311234        <signal>currentChanged(QListViewItem*)</signal>
     
    11791282    <tabstop>tbSelectMachineFolder</tabstop>
    11801283    <tabstop>tbResetMachineFolder</tabstop>
     1284    <tabstop>leVRDPLib</tabstop>
     1285    <tabstop>tbSelectVRDPLib</tabstop>
     1286    <tabstop>tbResetVRDPLib</tabstop>
     1287    <tabstop>chbVTX</tabstop>
    11811288    <tabstop>lvUSBFilters</tabstop>
    11821289    <tabstop>tbAddUSBFilter</tabstop>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h

    r3012 r3183  
    576576    leMachineFolder->setText (props.GetDefaultMachineFolder());
    577577
     578    /* vrdp lib path */
     579    leVRDPLib->setText (props.GetRemoteDisplayAuthLibrary());
     580
     581    /* VT-x/AMD-V */
     582    chbVTX->setChecked (props.GetHWVirtExEnabled());
     583
    578584    /* proprietary GUI settings */
    579585
     
    658664        props.SetDefaultMachineFolder (leMachineFolder->text());
    659665
     666    /* vrdp lib path */
     667    if (leVRDPLib->isModified())
     668        props.SetRemoteDisplayAuthLibrary (leVRDPLib->text());
     669
     670    /* VT-x/AMD-V */
     671    props.SetHWVirtExEnabled (chbVTX->isChecked());
     672
    660673    if (!props.isOk())
    661674        return;
     
    763776    if (tb == tbResetVDIFolder) le = leVDIFolder;
    764777    else if (tb == tbResetMachineFolder) le = leMachineFolder;
     778    else if (tb == tbResetVRDPLib) le = leVRDPLib;
    765779    Assert (le);
    766780
     
    781795    if (tb == tbSelectVDIFolder) le = leVDIFolder;
    782796    else if (tb == tbSelectMachineFolder) le = leMachineFolder;
     797    else if (tb == tbSelectVRDPLib) le = leVRDPLib;
    783798    Assert (le);
    784799
     
    786801    if (initDir.isNull())
    787802        initDir = vboxGlobal().virtualBox().GetHomeFolder();
    788     QString folder = VBoxGlobal::getExistingDirectory (initDir, this);
    789     if (folder.isNull())
     803
     804    QString path = le == leVRDPLib ?
     805        VBoxGlobal::getOpenFileName (initDir, QString::null, this,
     806                                     "getFile", QString::null) :
     807        VBoxGlobal::getExistingDirectory (initDir, this);
     808    if (path.isNull())
    790809        return;
    791810
    792     folder = QDir::convertSeparators (folder);
     811    path = QDir::convertSeparators (path);
    793812    /* remove trailing slash if any */
    794     folder.remove (QRegExp ("[\\\\/]$"));
     813    path.remove (QRegExp ("[\\\\/]$"));
    795814
    796815    /*
    797      *  do this instead of le->setText (folder) to cause
     816     *  do this instead of le->setText (path) to cause
    798817     *  isModified() return true
    799818     */
    800819    le->selectAll();
    801     le->insert (folder);
     820    le->insert (path);
    802821}
    803822
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui

    r3141 r3183  
    11091109the Input Output APIC (IO APIC), which may slightly decrease the VM performance. &lt;b&gt;Note:&lt;/b&gt; don't disable
    11101110this feature after having installed a Windows guest operating system!&lt;/qt&gt;</string>
     1111                                                            </property>
     1112                                                        </widget>
     1113                                                        <widget class="QCheckBox">
     1114                                                            <property name="name">
     1115                                                                <cstring>chbVTX</cstring>
     1116                                                            </property>
     1117                                                            <property name="text">
     1118                                                                <string>Enable &amp;VT-x/AMD-V</string>
     1119                                                            </property>
     1120                                                            <property name="accel">
     1121                                                                <string>Alt+V</string>
     1122                                                            </property>
     1123                                                            <property name="tristate">
     1124                                                                <bool>true</bool>
     1125                                                            </property>
     1126                                                            <property name="whatsThis" stdset="0">
     1127                                                                <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. The third checkbox state means that this setting is determined by the value of the global setting.</string>
    11111128                                                            </property>
    11121129                                                        </widget>
     
    29402957    <tabstop>chbEnableACPI</tabstop>
    29412958    <tabstop>chbEnableIOAPIC</tabstop>
     2959    <tabstop>chbVTX</tabstop>
    29422960    <tabstop>cbSharedClipboard</tabstop>
    29432961    <tabstop>leSnapshotFolder</tabstop>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r3141 r3183  
    15091509    /* IO APIC */
    15101510    chbEnableIOAPIC->setChecked (biosSettings.GetIOAPICEnabled());
     1511
     1512    /* VT-x/AMD-V */
     1513    machine.GetHWVirtExEnabled() == CEnums::False ? chbVTX->setChecked (false) :
     1514    machine.GetHWVirtExEnabled() == CEnums::True ?  chbVTX->setChecked (true) :
     1515                                                    chbVTX->setNoChange();
    15111516
    15121517    /* Saved state folder */
     
    18431848    biosSettings.SetIOAPICEnabled (chbEnableIOAPIC->isChecked());
    18441849
     1850    /* VT-x/AMD-V */
     1851    cmachine.SetHWVirtExEnabled (
     1852        chbVTX->state() == QButton::Off ? CEnums::False :
     1853        chbVTX->state() == QButton::On ? CEnums::True : CEnums::Default);
     1854
    18451855    /* Saved state folder */
    18461856    if (leSnapshotFolder->isModified())
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