Changeset 5654 in vbox
- Timestamp:
- Nov 9, 2007 3:06:29 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui
r5370 r5654 2297 2297 <property name="whatsThis" stdset="0"> 2298 2298 <string>When checked, enables the virtual USB controller of this machine.</string> 2299 </property> 2300 </widget> 2301 <widget class="QCheckBox"> 2302 <property name="name"> 2303 <cstring>cbEnableUSBEhci</cstring> 2304 </property> 2305 <property name="text"> 2306 <string>Enable USB &EHCI Controller</string> 2307 </property> 2308 <property name="whatsThis" stdset="0"> 2309 <string>When checked, enables the virtual USB EHCI controller of this machine providing USB2.0 support.</string> 2299 2310 </property> 2300 2311 </widget> … … 3166 3177 <slot>tbResetSavedStateFolder_clicked()</slot> 3167 3178 <slot>tbSelectSavedStateFolder_clicked()</slot> 3179 <slot>usbAdapterToggled( bool aOn )</slot> 3168 3180 <slot>addUSBFilter( const CUSBDeviceFilter & aFilter, bool isNew )</slot> 3169 3181 <slot>lvUSBFilters_currentChanged( QListViewItem * item )</slot> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r5483 r5654 717 717 718 718 /* USB Page */ 719 720 connect (cbEnableUSBController, SIGNAL (toggled (bool)), 721 this, SLOT (usbAdapterToggled (bool))); 719 722 720 723 lvUSBFilters->header()->hide(); … … 1841 1844 { 1842 1845 cbEnableUSBController->setChecked (ctl.GetEnabled()); 1846 cbEnableUSBEhci->setChecked (ctl.GetEnabledEhci()); 1847 usbAdapterToggled (cbEnableUSBController->isChecked()); 1843 1848 1844 1849 CUSBDeviceFilterEnumerator en = ctl.GetDeviceFilters().Enumerate(); … … 2108 2113 2109 2114 ctl.SetEnabled (cbEnableUSBController->isChecked()); 2115 ctl.SetEnabledEhci (cbEnableUSBEhci->isChecked()); 2110 2116 2111 2117 /* … … 2352 2358 //////////////////////////////////////////////////////////////////////////////// 2353 2359 2360 void VBoxVMSettingsDlg::usbAdapterToggled (bool aOn) 2361 { 2362 if (!aOn) 2363 cbEnableUSBEhci->setChecked (aOn); 2364 cbEnableUSBEhci->setEnabled (aOn); 2365 } 2366 2354 2367 void VBoxVMSettingsDlg::addUSBFilter (const CUSBDeviceFilter &aFilter, bool isNew) 2355 2368 {
Note:
See TracChangeset
for help on using the changeset viewer.