- Timestamp:
- Jun 20, 2007 1:23:46 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/ui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui
r2997 r3183 399 399 </grid> 400 400 </widget> 401 <widget class="QGroupBox"> 402 <property name="name"> 403 <cstring>groupBox2</cstring> 404 </property> 405 <property name="title"> 406 <string>V&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>&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 &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> 401 492 <spacer> 402 493 <property name="name"> … … 1128 1219 </connection> 1129 1220 <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> 1130 1233 <sender>lvUSBFilters</sender> 1131 1234 <signal>currentChanged(QListViewItem*)</signal> … … 1179 1282 <tabstop>tbSelectMachineFolder</tabstop> 1180 1283 <tabstop>tbResetMachineFolder</tabstop> 1284 <tabstop>leVRDPLib</tabstop> 1285 <tabstop>tbSelectVRDPLib</tabstop> 1286 <tabstop>tbResetVRDPLib</tabstop> 1287 <tabstop>chbVTX</tabstop> 1181 1288 <tabstop>lvUSBFilters</tabstop> 1182 1289 <tabstop>tbAddUSBFilter</tabstop> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h
r3012 r3183 576 576 leMachineFolder->setText (props.GetDefaultMachineFolder()); 577 577 578 /* vrdp lib path */ 579 leVRDPLib->setText (props.GetRemoteDisplayAuthLibrary()); 580 581 /* VT-x/AMD-V */ 582 chbVTX->setChecked (props.GetHWVirtExEnabled()); 583 578 584 /* proprietary GUI settings */ 579 585 … … 658 664 props.SetDefaultMachineFolder (leMachineFolder->text()); 659 665 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 660 673 if (!props.isOk()) 661 674 return; … … 763 776 if (tb == tbResetVDIFolder) le = leVDIFolder; 764 777 else if (tb == tbResetMachineFolder) le = leMachineFolder; 778 else if (tb == tbResetVRDPLib) le = leVRDPLib; 765 779 Assert (le); 766 780 … … 781 795 if (tb == tbSelectVDIFolder) le = leVDIFolder; 782 796 else if (tb == tbSelectMachineFolder) le = leMachineFolder; 797 else if (tb == tbSelectVRDPLib) le = leVRDPLib; 783 798 Assert (le); 784 799 … … 786 801 if (initDir.isNull()) 787 802 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()) 790 809 return; 791 810 792 folder = QDir::convertSeparators (folder);811 path = QDir::convertSeparators (path); 793 812 /* remove trailing slash if any */ 794 folder.remove (QRegExp ("[\\\\/]$"));813 path.remove (QRegExp ("[\\\\/]$")); 795 814 796 815 /* 797 * do this instead of le->setText ( folder) to cause816 * do this instead of le->setText (path) to cause 798 817 * isModified() return true 799 818 */ 800 819 le->selectAll(); 801 le->insert ( folder);820 le->insert (path); 802 821 } 803 822 -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui
r3141 r3183 1109 1109 the Input Output APIC (IO APIC), which may slightly decrease the VM performance. <b>Note:</b> don't disable 1110 1110 this feature after having installed a Windows guest operating system!</qt></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 &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> 1111 1128 </property> 1112 1129 </widget> … … 2940 2957 <tabstop>chbEnableACPI</tabstop> 2941 2958 <tabstop>chbEnableIOAPIC</tabstop> 2959 <tabstop>chbVTX</tabstop> 2942 2960 <tabstop>cbSharedClipboard</tabstop> 2943 2961 <tabstop>leSnapshotFolder</tabstop> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r3141 r3183 1509 1509 /* IO APIC */ 1510 1510 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(); 1511 1516 1512 1517 /* Saved state folder */ … … 1843 1848 biosSettings.SetIOAPICEnabled (chbEnableIOAPIC->isChecked()); 1844 1849 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 1845 1855 /* Saved state folder */ 1846 1856 if (leSnapshotFolder->isModified())
Note:
See TracChangeset
for help on using the changeset viewer.