VirtualBox

Ignore:
Timestamp:
Mar 13, 2009 1:06:28 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44317
Message:

FE/Qt4: 2869: Rework network adapter UI - Initial Version!

File:
1 edited

Legend:

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

    r17217 r17784  
    2828  </property>
    2929  <layout class="QGridLayout" >
    30    <item row="0" column="0" colspan="2" >
     30   <item row="0" column="0" colspan="3" >
    3131    <widget class="QCheckBox" name="mGbAdapter" >
    3232     <property name="whatsThis" >
     
    7575       <widget class="QLabel" name="mLbAType" >
    7676        <property name="text" >
    77          <string>A&amp;dapter Type:</string>
     77         <string>Adapter &amp;Type:</string>
    7878        </property>
    7979        <property name="alignment" >
     
    8181        </property>
    8282        <property name="buddy" >
    83          <cstring>mCbAType</cstring>
     83         <cstring>mCbAdapterType</cstring>
    8484        </property>
    8585       </widget>
    8686      </item>
    8787      <item row="0" column="1" >
    88        <widget class="QComboBox" name="mCbAType" >
     88       <widget class="QComboBox" name="mCbAdapterType" >
    8989        <property name="whatsThis" >
    9090         <string>Selects the type of the virtual network adapter. Depending on this value, VirtualBox will provide different network hardware to the virtual machine.</string>
     91        </property>
     92       </widget>
     93      </item>
     94      <item row="0" column="2" >
     95       <widget class="QToolButton" name="mTbCable" >
     96        <property name="whatsThis" >
     97         <string>Indicates whether the virtual network cable is plugged in on machine startup or not.</string>
     98        </property>
     99        <property name="autoRaise" >
     100         <bool>true</bool>
    91101        </property>
    92102       </widget>
     
    101111        </property>
    102112        <property name="buddy" >
    103          <cstring>mCbNAType</cstring>
     113         <cstring>mCbAttachmentType</cstring>
    104114        </property>
    105115       </widget>
    106116      </item>
    107117      <item row="1" column="1" >
    108        <widget class="QComboBox" name="mCbNAType" >
     118       <widget class="QComboBox" name="mCbAttachmentType" >
    109119        <property name="whatsThis" >
    110120         <string>Controls the way how this virtual adapter is attached to the real network of the Host OS.</string>
     
    112122       </widget>
    113123      </item>
    114       <item row="2" column="0" >
    115        <widget class="QLabel" name="mLbNetwork" >
    116         <property name="text" >
    117          <string>&amp;Network Name:</string>
     124      <item row="1" column="2" >
     125       <widget class="QToolButton" name="mTbDetails" >
     126        <property name="whatsThis" >
     127         <string>Open extended settings dialog for current attachment type.</string>
    118128        </property>
    119         <property name="alignment" >
    120          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    121         </property>
    122         <property name="buddy" >
    123          <cstring>mCbNetwork</cstring>
    124         </property>
    125        </widget>
    126       </item>
    127       <item row="2" column="1" >
    128        <widget class="QComboBox" name="mCbNetwork" >
    129         <property name="whatsThis" >
    130          <string>Displays the name of the internal network selected for this adapter.</string>
    131         </property>
    132         <property name="editable" >
     129        <property name="autoRaise" >
    133130         <bool>true</bool>
    134         </property>
    135        </widget>
    136       </item>
    137       <item row="3" column="0" >
    138        <widget class="QLabel" name="mLbMAC" >
    139         <property name="text" >
    140          <string>&amp;MAC Address:</string>
    141         </property>
    142         <property name="alignment" >
    143          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    144         </property>
    145         <property name="buddy" >
    146          <cstring>mLeMAC</cstring>
    147         </property>
    148        </widget>
    149       </item>
    150       <item row="3" column="1" >
    151        <widget class="QLineEdit" name="mLeMAC" >
    152         <property name="sizePolicy" >
    153          <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
    154           <horstretch>0</horstretch>
    155           <verstretch>0</verstretch>
    156          </sizepolicy>
    157         </property>
    158         <property name="whatsThis" >
    159          <string>Displays the MAC address of this adapter. It contains exactly 12 characters chosen from {0-9,A-F}. Note that the second character must be an even digit.</string>
    160         </property>
    161        </widget>
    162       </item>
    163       <item row="3" column="2" >
    164        <widget class="QPushButton" name="mPbMAC" >
    165         <property name="whatsThis" >
    166          <string>Generates a new random MAC address.</string>
    167         </property>
    168         <property name="text" >
    169          <string>&amp;Generate</string>
    170         </property>
    171        </widget>
    172       </item>
    173       <item row="4" column="1" >
    174        <widget class="QCheckBox" name="mCbCable" >
    175         <property name="whatsThis" >
    176          <string>Indicates whether the virtual network cable is plugged in on machine startup or not.</string>
    177         </property>
    178         <property name="text" >
    179          <string>Ca&amp;ble Connected</string>
    180         </property>
    181        </widget>
    182       </item>
    183       <item row="5" column="0" colspan="3" >
    184        <widget class="QILabelSeparator" name="mGbTap" >
    185         <property name="text" >
    186          <string>Host Interface Settings</string>
    187         </property>
    188         <property name="buddy" >
    189          <cstring>mLeInterface_x11</cstring>
    190         </property>
    191        </widget>
    192       </item>
    193       <item row="6" column="0" >
    194        <widget class="QLabel" name="mLbInterface_x11" >
    195         <property name="text" >
    196          <string>&amp;Interface Name:</string>
    197         </property>
    198         <property name="alignment" >
    199          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    200         </property>
    201         <property name="buddy" >
    202          <cstring>mLeInterface_x11</cstring>
    203         </property>
    204        </widget>
    205       </item>
    206       <item row="6" column="1" >
    207        <widget class="QLineEdit" name="mLeInterface_x11" >
    208         <property name="sizePolicy" >
    209          <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
    210           <horstretch>0</horstretch>
    211           <verstretch>0</verstretch>
    212          </sizepolicy>
    213         </property>
    214         <property name="whatsThis" >
    215          <string>Displays the TAP interface name.</string>
    216131        </property>
    217132       </widget>
     
    248163  </layout>
    249164 </widget>
    250  <customwidgets>
    251   <customwidget>
    252    <class>QILabelSeparator</class>
    253    <extends>QLabel</extends>
    254    <header>QILabelSeparator.h</header>
    255   </customwidget>
    256  </customwidgets>
    257165 <resources/>
    258166 <connections>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette