VirtualBox

Ignore:
Timestamp:
Sep 11, 2009 4:01:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52231
Message:

FE/Qt4: Shifted the advanced network settings from the dialog box to caret expansion on same page

Location:
trunk/src/VBox/Frontends/VirtualBox/ui
Files:
1 deleted
1 edited

Legend:

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

    r19139 r22960  
    2323    <x>0</x>
    2424    <y>0</y>
    25     <width>350</width>
    26     <height>200</height>
     25    <width>431</width>
     26    <height>248</height>
    2727   </rect>
    2828  </property>
    29   <layout class="QGridLayout" >
    30    <item row="0" column="0" colspan="3" >
     29  <layout class="QGridLayout" name="VBoxVMSettingsNetworkGridLayout">
     30   <item row="0" column="0" colspan="2">
    3131    <widget class="QCheckBox" name="mGbAdapter" >
    3232     <property name="whatsThis" >
     
    4141    </widget>
    4242   </item>
    43    <item row="1" column="0" >
    44     <spacer>
    45      <property name="orientation" >
     43   <item row="1" column="1" >
     44    <widget class="QWidget" name="mNetworkChild" native="true">
     45     <layout class="QGridLayout" name="mNetworkChildGridLayout">
     46      <property name="margin">
     47       <number>0</number>
     48      </property>
     49      <item row="0" column="0" >
     50       <widget class="QLabel" name="mLbNAType">
     51        <property name="text" >
     52         <string>&amp;Attached to:</string>
     53        </property>
     54        <property name="alignment" >
     55         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     56        </property>
     57        <property name="buddy" >
     58         <cstring>mCbAttachmentType</cstring>
     59        </property>
     60       </widget>
     61      </item>
     62      <item row="0" column="1" colspan="2" >
     63       <widget class="QComboBox" name="mCbAttachmentType">
     64        <property name="whatsThis" >
     65         <string>Controls how this virtual adapter is attached to the real network of the Host OS.</string>
     66        </property>
     67       </widget>
     68      </item>
     69      <item row="1" column="0" >
     70       <widget class="QLabel" name="mLbName">
     71        <property name="text" >
     72         <string>&amp;Name:</string>
     73        </property>
     74        <property name="alignment" >
     75         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     76        </property>
     77        <property name="buddy" >
     78         <cstring>mCbName</cstring>
     79        </property>
     80       </widget>
     81      </item>
     82      <item row="1" column="1" colspan="2">
     83       <widget class="QComboBox" name="mCbName">
     84        <property name="whatsThis" >
     85         <string>Selects the name of the network adapter if attachment type is equivalent to &lt;b&gt;Bridged Adapter&lt;/b&gt; or &lt;b&gt;Host-only Adapter&lt;/b&gt; and the name of the internal network if attachment type is equivalent to &lt;b&gt;Internal Network&lt;/b&gt;.</string>
     86        </property>
     87       </widget>
     88      </item>
     89      <item row="0" column="3" rowspan="3">
     90       <spacer name="horizontalSpacer6">
     91        <property name="orientation">
     92         <enum>Qt::Horizontal</enum>
     93        </property>
     94        <property name="sizeHint" stdset="0">
     95         <size>
     96          <width>40</width>
     97          <height>20</height>
     98         </size>
     99        </property>
     100       </spacer>
     101      </item>
     102     </layout>
     103    </widget>
     104   </item>
     105   <item row="2" column="1">
     106    <widget class="QWidget" name="mNetworkChild2" native="true">
     107     <layout class="QGridLayout" name="mNetworkChild2GridLayout">
     108      <property name="topMargin">
     109       <number>0</number>
     110      </property>
     111      <item row="0" column="0">
     112       <widget class="QLabel" name="mLbAType">
     113        <property name="text">
     114         <string>Adapter &amp;Type:</string>
     115        </property>
     116        <property name="alignment">
     117         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     118        </property>
     119        <property name="buddy">
     120         <cstring>mCbAdapterType</cstring>
     121        </property>
     122       </widget>
     123      </item>
     124      <item row="1" column="0" colspan="2">
     125       <widget class="QLabel" name="mLbMAC">
     126        <property name="enabled">
     127         <bool>true</bool>
     128        </property>
     129        <property name="text">
     130         <string>&amp;Mac Address:</string>
     131        </property>
     132        <property name="buddy">
     133         <cstring>mLeMAC</cstring>
     134        </property>
     135       </widget>
     136      </item>
     137      <item row="1" column="2">
     138       <widget class="QILineEdit" name="mLeMAC">
     139        <property name="sizePolicy">
     140         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     141          <horstretch>0</horstretch>
     142          <verstretch>0</verstretch>
     143         </sizepolicy>
     144        </property>
     145        <property name="maximumSize">
     146         <size>
     147          <width>110</width>
     148          <height>22</height>
     149         </size>
     150        </property>
     151        <property name="toolTip">
     152         <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>
     153        </property>
     154        <property name="frame">
     155         <bool>true</bool>
     156        </property>
     157       </widget>
     158      </item>
     159      <item row="1" column="3">
     160       <widget class="QToolButton" name="mTbMAC">
     161        <property name="toolTip">
     162         <string>Generates a new random MAC address.</string>
     163        </property>
     164        <property name="icon">
     165         <iconset resource="../VirtualBox.qrc">
     166          <normaloff>:/refresh_16px.png</normaloff>:/refresh_16px.png</iconset>
     167        </property>
     168        <property name="autoRaise">
     169         <bool>true</bool>
     170        </property>
     171       </widget>
     172      </item>
     173      <item row="2" column="2" colspan="2">
     174       <widget class="QCheckBox" name="mCbCable">
     175        <property name="toolTip">
     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>&amp;Cable connected</string>
     180        </property>
     181       </widget>
     182      </item>
     183      <item row="0" column="2" colspan="3">
     184       <widget class="QComboBox" name="mCbAdapterType">
     185        <property name="whatsThis">
     186         <string>Selects the type of the virtual network adapter. Depending on this value, VirtualBox will provide different network hardware to the virtual machine.</string>
     187        </property>
     188       </widget>
     189      </item>
     190      <item row="0" column="5" rowspan="3">
     191       <spacer name="horizontalSpacer_2">
     192        <property name="orientation">
     193         <enum>Qt::Horizontal</enum>
     194        </property>
     195        <property name="sizeHint" stdset="0">
     196         <size>
     197          <width>40</width>
     198          <height>20</height>
     199         </size>
     200        </property>
     201       </spacer>
     202      </item>
     203      <item row="1" column="4">
     204       <spacer name="horizontalSpacer_3">
     205        <property name="orientation">
     206         <enum>Qt::Horizontal</enum>
     207        </property>
     208        <property name="sizeHint" stdset="0">
     209         <size>
     210          <width>40</width>
     211          <height>20</height>
     212         </size>
     213        </property>
     214       </spacer>
     215      </item>
     216     </layout>
     217    </widget>
     218   </item>
     219   <item row="1" column="0" rowspan="2">
     220    <spacer name="horizontalSpacer2">
     221     <property name="orientation">
    46222      <enum>Qt::Horizontal</enum>
    47223     </property>
    48      <property name="sizeType" >
     224     <property name="sizeType">
    49225      <enum>QSizePolicy::Fixed</enum>
    50226     </property>
    51      <property name="sizeHint" >
     227     <property name="sizeHint" stdset="0">
    52228      <size>
    53229       <width>20</width>
     
    57233    </spacer>
    58234   </item>
    59    <item row="1" column="1" >
    60     <widget class="QWidget" native="1" name="mNetworkChild" >
    61      <layout class="QGridLayout" >
    62       <property name="leftMargin" >
    63        <number>0</number>
    64       </property>
    65       <property name="topMargin" >
    66        <number>0</number>
    67       </property>
    68       <property name="rightMargin" >
    69        <number>0</number>
    70       </property>
    71       <property name="bottomMargin" >
    72        <number>0</number>
    73       </property>
    74       <item row="0" column="0" >
    75        <widget class="QLabel" name="mLbAType" >
    76         <property name="text" >
    77          <string>Adapter &amp;Type:</string>
    78         </property>
    79         <property name="alignment" >
    80          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    81         </property>
    82         <property name="buddy" >
    83          <cstring>mCbAdapterType</cstring>
    84         </property>
    85        </widget>
    86       </item>
    87       <item row="0" column="1" colspan="2" >
    88        <widget class="QComboBox" name="mCbAdapterType" >
    89         <property name="whatsThis" >
    90          <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="1" column="0" >
    95        <widget class="QLabel" name="mLbNAType" >
    96         <property name="text" >
    97          <string>&amp;Attached to:</string>
    98         </property>
    99         <property name="alignment" >
    100          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    101         </property>
    102         <property name="buddy" >
    103          <cstring>mCbAttachmentType</cstring>
    104         </property>
    105        </widget>
    106       </item>
    107       <item row="1" column="1" >
    108        <widget class="QComboBox" name="mCbAttachmentType" >
    109         <property name="whatsThis" >
    110          <string>Controls how this virtual adapter is attached to the real network of the Host OS.</string>
    111         </property>
    112        </widget>
    113       </item>
    114       <item row="1" column="2" >
    115        <widget class="QToolButton" name="mTbDetails" >
    116         <property name="whatsThis" >
    117          <string>Open additional options dialog for current attachment type.</string>
    118         </property>
    119         <property name="autoRaise" >
    120          <bool>true</bool>
    121         </property>
    122        </widget>
    123       </item>
    124       <item row="2" column="0" >
    125        <widget class="QLabel" name="mLbName" >
    126         <property name="text" >
    127          <string>&amp;Name:</string>
    128         </property>
    129         <property name="alignment" >
    130          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    131         </property>
    132         <property name="buddy" >
    133          <cstring>mCbName</cstring>
    134         </property>
    135        </widget>
    136       </item>
    137       <item row="2" column="1" colspan="2" >
    138        <widget class="QComboBox" name="mCbName" >
    139         <property name="whatsThis" >
    140          <string>Selects the name of the network adapter if attachment type is equivalent to &lt;b>Bridged Adapter&lt;/b> or &lt;b>Host-only Adapter&lt;/b> and the name of the internal network if attachment type is equivalent to &lt;b>Internal Network&lt;/b>.</string>
    141         </property>
    142        </widget>
    143       </item>
    144      </layout>
    145     </widget>
    146    </item>
    147    <item row="2" column="0" colspan="3" >
    148     <spacer name="verticalSpacer" >
    149      <property name="orientation" >
    150       <enum>Qt::Vertical</enum>
    151      </property>
    152      <property name="sizeHint" >
    153       <size>
    154        <width>20</width>
    155        <height>40</height>
    156       </size>
    157      </property>
    158     </spacer>
    159    </item>
    160    <item row="1" column="2" >
    161     <spacer>
    162      <property name="orientation" >
     235   <item row="1" column="2" rowspan="2">
     236    <spacer name="horizontalSpacer4">
     237     <property name="orientation">
    163238      <enum>Qt::Horizontal</enum>
    164239     </property>
    165         <property name="sizeHint" >
     240     <property name="sizeHint" stdset="0">
    166241      <size>
    167242       <width>0</width>
     
    171246    </spacer>
    172247   </item>
     248   <item row="3" column="1">
     249    <spacer name="verticalSpacer2">
     250     <property name="orientation">
     251      <enum>Qt::Vertical</enum>
     252     </property>
     253     <property name="sizeHint" stdset="0">
     254      <size>
     255       <width>0</width>
     256       <height>0</height>
     257      </size>
     258     </property>
     259    </spacer>
     260   </item>
    173261  </layout>
    174262 </widget>
    175  <resources/>
     263 <customwidgets>
     264  <customwidget>
     265   <class>QILineEdit</class>
     266   <extends>QLineEdit</extends>
     267   <header>QILineEdit.h</header>
     268  </customwidget>
     269 </customwidgets>
     270 <resources>
     271  <include location="../VirtualBox.qrc"/>
     272 </resources>
    176273 <connections>
    177274  <connection>
     
    181278   <slot>setEnabled(bool)</slot>
    182279   <hints>
    183     <hint type="sourcelabel" >
    184      <x>190</x>
    185      <y>19</y>
     280    <hint type="sourcelabel">
     281     <x>184</x>
     282     <y>28</y>
    186283    </hint>
    187     <hint type="destinationlabel" >
    188      <x>203</x>
    189      <y>164</y>
     284    <hint type="destinationlabel">
     285     <x>196</x>
     286     <y>111</y>
     287    </hint>
     288   </hints>
     289  </connection>
     290  <connection>
     291   <sender>mGbAdapter</sender>
     292   <signal>toggled(bool)</signal>
     293   <receiver>mNetworkChild2</receiver>
     294   <slot>setEnabled(bool)</slot>
     295   <hints>
     296    <hint type="sourcelabel">
     297     <x>52</x>
     298     <y>17</y>
     299    </hint>
     300    <hint type="destinationlabel">
     301     <x>49</x>
     302     <y>147</y>
    190303    </hint>
    191304   </hints>
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