VirtualBox

Changeset 105246 in vbox


Ignore:
Timestamp:
Jul 9, 2024 5:29:18 PM (5 months ago)
Author:
vboxsync
Message:

FE/Qt: VBox Manager / Details and Snapshot Panes: Extend Network details section with Host-only Network info; Allow to choose corresponding network connection type and specify certain Host-only Network via Details pane quick Network Attachment editor.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r105245 r105246  
    121121VirtualBox_DEFS.darwin    += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
    122122VirtualBox_DEFS.win       += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
     123ifdef VBOX_WITH_VMNET
     124 VirtualBox_DEFS.darwin += VBOX_WITH_VMNET
     125endif
    123126ifndef VBOX_WITH_QT6 # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
    124127 VirtualBox_DEFS.darwin   += VBOX_DARWIN_USE_NATIVE_CONTROLS
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp

    r105245 r105246  
    11661166#ifdef VBOX_WITH_CLOUD_NET
    11671167            pEditor->setValueNames(KNetworkAttachmentType_Cloud, UINetworkAttachmentEditor::cloudNetworks());
    1168 #endif /* VBOX_WITH_CLOUD_NET */
     1168#endif
     1169#ifdef VBOX_WITH_VMNET
     1170            pEditor->setValueNames(KNetworkAttachmentType_HostOnlyNetwork, UINetworkAttachmentEditor::hostOnlyNetworks());
     1171#endif
    11691172            pEditor->setValueType(static_cast<KNetworkAttachmentType>(strValue.section(';', 1, 1).toInt()));
    11701173            pEditor->setValueName(pEditor->valueType(), strValue.section(';', 2, 2));
  • trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotDetailsWidget.cpp

    r105245 r105246  
    20612061                    break;
    20622062#endif
     2063#ifdef VBOX_WITH_VMNET
     2064                case KNetworkAttachmentType_HostOnlyNetwork:
     2065                    strInfo = strInfo.arg(QApplication::translate("UIDetails", "Host-only Network, '%1'", "details (network)")
     2066                                                                  .arg(comAdapter.GetHostOnlyNetwork()));
     2067                    break;
     2068#endif
    20632069                default:
    20642070                    strInfo = strInfo.arg(gpConverter->toString(enmType));
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