VirtualBox

Ignore:
Timestamp:
Sep 11, 2009 9:34:14 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: 4011: Network Settings UI: Few fixes for r52231 & r52237.

File:
1 edited

Legend:

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

    r22964 r22965  
    2929  <layout class="QGridLayout" name="VBoxVMSettingsNetworkGridLayout">
    3030   <item row="0" column="0" colspan="2">
    31     <widget class="QCheckBox" name="mGbAdapter" >
     31    <widget class="QCheckBox" name="mCbEnableAdapter" >
    3232     <property name="whatsThis" >
    3333      <string>When checked, plugs this virtual network adapter into the virtual machine.</string>
     
    6464      </property>
    6565      <item row="0" column="0" >
    66        <widget class="QLabel" name="mLbNAType">
     66       <widget class="QLabel" name="mLbAttachmentType">
    6767        <property name="text" >
    6868         <string>&amp;Attached to:</string>
     
    7979       <widget class="QComboBox" name="mCbAttachmentType">
    8080        <property name="sizePolicy">
    81          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
     81         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
    8282          <horstretch>0</horstretch>
    8383          <verstretch>0</verstretch>
     
    9090      </item>
    9191      <item row="1" column="0" >
    92        <widget class="QLabel" name="mLbName">
     92       <widget class="QLabel" name="mLbAdapterName">
    9393        <property name="text" >
    9494         <string>&amp;Name:</string>
     
    9898        </property>
    9999        <property name="buddy" >
    100          <cstring>mCbName</cstring>
    101         </property>
    102        </widget>
    103       </item>
    104       <item row="1" column="1">
    105        <widget class="QComboBox" name="mCbName">
    106         <property name="sizePolicy">
    107          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
    108           <horstretch>0</horstretch>
     100         <cstring>mCbAdapterName</cstring>
     101        </property>
     102       </widget>
     103      </item>
     104      <item row="1" column="1" colspan="3">
     105       <widget class="QComboBox" name="mCbAdapterName">
     106        <property name="sizePolicy">
     107         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     108          <horstretch>1</horstretch>
    109109          <verstretch>0</verstretch>
    110110         </sizepolicy>
     
    116116      </item>
    117117      <item row="2" column="0">
    118        <widget class="QIArrowButtonSwitch" native="1" name="mAbsAdvanced">
    119         <property name="text">
    120          <string>A&amp;dvanced</string>
    121         </property>
    122         <property name="whatsThis" >
    123          <string>Shows/hide additional network adapter options.</string>
    124         </property>
    125        </widget>
     118       <layout class="QHBoxLayout" name="mLtAdvancedBtn">
     119        <property name="margin">
     120         <number>0</number>
     121        </property>
     122        <item>
     123         <spacer name="horizontalSpacer2">
     124          <property name="orientation">
     125           <enum>Qt::Horizontal</enum>
     126          </property>
     127          <property name="sizeHint" stdset="0">
     128           <size>
     129            <width>0</width>
     130            <height>0</height>
     131           </size>
     132          </property>
     133         </spacer>
     134        </item>
     135        <item>
     136         <widget class="QIArrowButtonSwitch" native="1" name="mAbsAdvanced">
     137          <property name="text">
     138           <string>A&amp;dvanced</string>
     139          </property>
     140          <property name="whatsThis" >
     141           <string>Shows/hide additional network adapter options.</string>
     142          </property>
     143         </widget>
     144        </item>
     145       </layout>
    126146      </item>
    127147      <item row="3" column="0">
    128        <widget class="QLabel" name="mLbAType">
     148       <widget class="QLabel" name="mLbAdapterType">
    129149        <property name="text">
    130150         <string>Adapter &amp;Type:</string>
     
    141161       <widget class="QComboBox" name="mCbAdapterType">
    142162        <property name="sizePolicy">
    143          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
    144           <horstretch>0</horstretch>
     163         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
     164          <horstretch>1</horstretch>
    145165          <verstretch>0</verstretch>
    146166         </sizepolicy>
     
    168188        <property name="sizePolicy">
    169189         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
    170           <horstretch>0</horstretch>
     190          <horstretch>1</horstretch>
    171191          <verstretch>0</verstretch>
    172192         </sizepolicy>
     
    174194        <property name="whatsThis">
    175195         <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>
    176         </property>
    177         <property name="frame">
    178          <bool>true</bool>
    179196        </property>
    180197       </widget>
     
    195212      </item>
    196213      <item row="5" column="1" colspan="3">
    197        <widget class="QCheckBox" name="mCbCable">
     214       <widget class="QCheckBox" name="mCbCableConnected">
    198215        <property name="whatsThis">
    199216         <string>Indicates whether the virtual network cable is plugged in on machine startup or not.</string>
     
    204221       </widget>
    205222      </item>
    206       <item rowspan="2" row="0" column="2" colspan="2">
    207        <spacer name="horizontalSpacer3">
    208         <property name="orientation">
    209          <enum>Qt::Horizontal</enum>
    210         </property>
    211         <property name="sizeHint" stdset="0">
    212          <size>
    213           <width>40</width>
    214           <height>20</height>
    215          </size>
    216         </property>
    217        </spacer>
    218       </item>
    219223     </layout>
    220224    </widget>
    221225   </item>
    222    <item row="1" column="2">
    223     <spacer name="horizontalSpacer2">
    224      <property name="orientation">
    225       <enum>Qt::Horizontal</enum>
    226      </property>
    227      <property name="sizeHint" stdset="0">
    228       <size>
    229        <width>0</width>
    230        <height>0</height>
    231       </size>
    232      </property>
    233     </spacer>
    234    </item>
    235    <item row="4" column="0" colspan="3">
     226   <item row="4" column="0" colspan="2">
    236227    <spacer name="verticalSpacer">
    237228     <property name="orientation">
     
    266257 <connections>
    267258  <connection>
    268    <sender>mGbAdapter</sender>
     259   <sender>mCbEnableAdapter</sender>
    269260   <signal>toggled(bool)</signal>
    270261   <receiver>mNetworkChild</receiver>
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