Changeset 37592 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 22, 2011 4:01:17 PM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.cpp
r37585 r37592 842 842 "details report (network)").arg(adapter.GetHostOnlyInterface())); 843 843 else if (type == KNetworkAttachmentType_Generic) 844 attType = attType.arg(tr("Generic driver, '%1' { %2 }", 845 "details report (network)").arg(adapter.GetGenericDriver(), summarizeGenericProperties(adapter))); 844 { 845 QString strGenericDriverProperties(summarizeGenericProperties(adapter)); 846 attType = strGenericDriverProperties.isNull() ? 847 attType.arg(tr("Generic driver, '%1'", "details report (network)").arg(adapter.GetGenericDriver())) : 848 attType.arg(tr("Generic driver, '%1' { %2 }", "details report (network)") 849 .arg(adapter.GetGenericDriver(), strGenericDriverProperties)); 850 } 846 851 else 847 852 attType = attType.arg(vboxGlobal().toString(type)); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp
r37585 r37592 357 357 { 358 358 case KNetworkAttachmentType_Bridged: 359 m_pAdapterNameCombo->setWhatsThis(tr("Selects the network adapter on the host system that traffic " 360 "to and from this network card will go through.")); 359 361 m_pAdapterNameCombo->insertItems(0, m_pParent->brgList()); 360 362 m_pAdapterNameCombo->setEditable(false); 361 363 break; 362 364 case KNetworkAttachmentType_Internal: 365 m_pAdapterNameCombo->setWhatsThis(tr("Enter the name of the internal network that this network card " 366 "will be connected to. You can create a new internal network by " 367 "choosing a name which is not used by any other network cards " 368 "in this virtual machine or others.")); 363 369 m_pAdapterNameCombo->insertItems(0, m_pParent->fullIntList()); 364 370 m_pAdapterNameCombo->setEditable(true); … … 366 372 break; 367 373 case KNetworkAttachmentType_HostOnly: 374 m_pAdapterNameCombo->setWhatsThis(tr("Selects the virtual network adapter on the host system that traffic " 375 "to and from this network card will go through. " 376 "You can create and remove adapters using the global network " 377 "settings in the virtual machine manager window.")); 368 378 m_pAdapterNameCombo->insertItems(0, m_pParent->hoiList()); 369 379 m_pAdapterNameCombo->setEditable(false); 370 380 break; 371 381 case KNetworkAttachmentType_Generic: 382 m_pAdapterNameCombo->setWhatsThis(tr("Selects the driver to be used with this network card.")); 372 383 m_pAdapterNameCombo->insertItem(0, alternativeName()); 373 384 m_pAdapterNameCombo->setEditable(true); … … 375 386 break; 376 387 default: 388 m_pAdapterNameCombo->setWhatsThis(QString()); 377 389 break; 378 390 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.ui
r37579 r37592 105 105 <verstretch>0</verstretch> 106 106 </sizepolicy> 107 </property>108 <property name="whatsThis">109 <string>Selects the name of the network adapter for <b>Bridged Adapter</b> or <b>Host-only Adapter</b> attachments and the name of the network <b>Internal Network</b> attachments.</string>110 107 </property> 111 108 </widget>
Note:
See TracChangeset
for help on using the changeset viewer.