VirtualBox

Ignore:
Timestamp:
Jul 17, 2008 2:48:48 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: VM USB settings face lift.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsUSB.ui

    r10167 r10728  
    2323    <x>0</x>
    2424    <y>0</y>
    25     <width>392</width>
    26     <height>424</height>
     25    <width>468</width>
     26    <height>328</height>
    2727   </rect>
    2828  </property>
    29   <layout class="QVBoxLayout" >
    30    <property name="leftMargin" >
    31     <number>0</number>
    32    </property>
    33    <property name="topMargin" >
    34     <number>5</number>
    35    </property>
    36    <property name="rightMargin" >
    37     <number>0</number>
    38    </property>
    39    <property name="bottomMargin" >
    40     <number>5</number>
    41    </property>
    42    <item>
    43     <widget class="QGroupBox" name="mGbUSB" >
     29  <layout class="QGridLayout" >
     30   <item row="0" column="0" colspan="2" >
     31    <widget class="QCheckBox" name="mGbUSB" >
    4432     <property name="whatsThis" >
    4533      <string>When checked, enables the virtual USB controller of this machine.</string>
    4634     </property>
    47      <property name="title" >
     35     <property name="text" >
    4836      <string>Enable &amp;USB Controller</string>
    4937     </property>
    50      <property name="checkable" >
     38     <property name="checked" >
    5139      <bool>true</bool>
    5240     </property>
    53      <property name="checked" >
    54       <bool>false</bool>
     41    </widget>
     42   </item>
     43   <item row="1" column="0" >
     44    <spacer>
     45     <property name="orientation" >
     46      <enum>Qt::Horizontal</enum>
    5547     </property>
    56      <layout class="QHBoxLayout" >
     48     <property name="sizeType" >
     49      <enum>QSizePolicy::Fixed</enum>
     50     </property>
     51     <property name="sizeHint" >
     52      <size>
     53       <width>20</width>
     54       <height>20</height>
     55      </size>
     56     </property>
     57    </spacer>
     58   </item>
     59   <item row="1" column="1" >
     60    <widget class="QWidget" native="1" name="mUSBChild" >
     61     <layout class="QGridLayout" >
     62      <property name="leftMargin" >
     63       <number>0</number>
     64      </property>
    5765      <property name="topMargin" >
    58        <number>5</number>
     66       <number>0</number>
    5967      </property>
    60       <item>
     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" >
    6175       <widget class="QCheckBox" name="mCbUSB2" >
    6276        <property name="whatsThis" >
     
    6882       </widget>
    6983      </item>
    70      </layout>
    71     </widget>
    72    </item>
    73    <item>
    74     <widget class="QGroupBox" name="mGbUSBFilters" >
    75      <property name="title" >
    76       <string>USB Device &amp;Filters</string>
    77      </property>
    78      <layout class="QVBoxLayout" >
    79       <property name="topMargin" >
    80        <number>5</number>
    81       </property>
    82       <item>
     84      <item row="1" column="0" >
     85       <widget class="QILabelSeparator" name="mGbUSBFilters" >
     86        <property name="text" >
     87         <string>USB Device &amp;Filters</string>
     88        </property>
     89        <property name="buddy" >
     90         <cstring>mTwFilters</cstring>
     91        </property>
     92       </widget>
     93      </item>
     94      <item row="2" column="0" >
    8395       <widget class="QWidget" native="1" name="mWtFilterHandler" >
    8496        <layout class="QHBoxLayout" >
     
    116128       </widget>
    117129      </item>
    118       <item>
    119        <widget class="QWidget" native="1" name="mWtProperties" >
    120         <layout class="QVBoxLayout" >
    121          <property name="leftMargin" >
    122           <number>0</number>
    123          </property>
    124          <property name="topMargin" >
    125           <number>0</number>
    126          </property>
    127          <property name="rightMargin" >
    128           <number>0</number>
    129          </property>
    130          <property name="bottomMargin" >
    131           <number>0</number>
    132          </property>
    133          <item>
    134           <layout class="QHBoxLayout" >
    135            <item>
    136             <widget class="QLabel" name="mLbName" >
    137              <property name="text" >
    138               <string>&amp;Name</string>
    139              </property>
    140              <property name="buddy" >
    141               <cstring>mLeName</cstring>
    142              </property>
    143             </widget>
    144            </item>
    145            <item>
    146             <widget class="QLineEdit" name="mLeName" >
    147              <property name="whatsThis" >
    148               <string>Displays the filter name.</string>
    149              </property>
    150             </widget>
    151            </item>
    152           </layout>
    153          </item>
    154          <item>
    155           <layout class="QGridLayout" >
    156            <item row="0" column="0" >
    157             <widget class="QLabel" name="mLbVendorID" >
    158              <property name="text" >
    159               <string>&amp;Vendor ID</string>
    160              </property>
    161              <property name="buddy" >
    162               <cstring>mLeVendorID</cstring>
    163              </property>
    164             </widget>
    165            </item>
    166            <item row="0" column="1" >
    167             <widget class="QLineEdit" name="mLeVendorID" >
    168              <property name="whatsThis" >
    169               <string>Defines the vendor ID filter. The &lt;i>exact match&lt;/i> string format is &lt;tt>XXXX&lt;/tt> where &lt;tt>X&lt;/tt> is a hexadecimal digit. An empty string will match any value.</string>
    170              </property>
    171             </widget>
    172            </item>
    173            <item row="0" column="2" >
    174             <widget class="QLabel" name="mLbManufacturer" >
    175              <property name="text" >
    176               <string>&amp;Manufacturer</string>
    177              </property>
    178              <property name="buddy" >
    179               <cstring>mLeManufacturer</cstring>
    180              </property>
    181             </widget>
    182            </item>
    183            <item row="0" column="3" >
    184             <widget class="QLineEdit" name="mLeManufacturer" >
    185              <property name="whatsThis" >
    186               <string>Defines the manufacturer filter as an &lt;i>exact match&lt;/i> string. An empty string will match any value.</string>
    187              </property>
    188             </widget>
    189            </item>
    190            <item row="1" column="0" >
    191             <widget class="QLabel" name="mLbProductID" >
    192              <property name="text" >
    193               <string>&amp;Product ID</string>
    194              </property>
    195              <property name="buddy" >
    196               <cstring>mLeProductID</cstring>
    197              </property>
    198             </widget>
    199            </item>
    200            <item row="1" column="1" >
    201             <widget class="QLineEdit" name="mLeProductID" >
    202              <property name="whatsThis" >
    203               <string>Defines the product ID filter. The &lt;i>exact match&lt;/i> string format is &lt;tt>XXXX&lt;/tt> where &lt;tt>X&lt;/tt> is a hexadecimal digit. An empty string will match any value.</string>
    204              </property>
    205             </widget>
    206            </item>
    207            <item row="1" column="2" >
    208             <widget class="QLabel" name="mLbProduct" >
    209              <property name="text" >
    210               <string>Pro&amp;duct</string>
    211              </property>
    212              <property name="buddy" >
    213               <cstring>mLeProduct</cstring>
    214              </property>
    215             </widget>
    216            </item>
    217            <item row="1" column="3" >
    218             <widget class="QLineEdit" name="mLeProduct" >
    219              <property name="whatsThis" >
    220               <string>Defines the product name filter as an &lt;i>exact match&lt;/i> string. An empty string will match any value.</string>
    221              </property>
    222             </widget>
    223            </item>
    224            <item row="2" column="0" >
    225             <widget class="QLabel" name="mLbRevision" >
    226              <property name="text" >
    227               <string>&amp;Revision</string>
    228              </property>
    229              <property name="buddy" >
    230               <cstring>mLeRevision</cstring>
    231              </property>
    232             </widget>
    233            </item>
    234            <item row="2" column="1" >
    235             <widget class="QLineEdit" name="mLeRevision" >
    236              <property name="whatsThis" >
    237               <string>Defines the revision number filter. The &lt;i>exact match&lt;/i> string format is &lt;tt>IIFF&lt;/tt> where &lt;tt>I&lt;/tt> is a decimal digit of the integer part and &lt;tt>F&lt;/tt> is a decimal digit of the fractional part. An empty string will match any value.</string>
    238              </property>
    239             </widget>
    240            </item>
    241            <item row="2" column="2" >
    242             <widget class="QLabel" name="mLbSerialNo" >
    243              <property name="text" >
    244               <string>&amp;Serial No.</string>
    245              </property>
    246              <property name="buddy" >
    247               <cstring>mLeSerialNo</cstring>
    248              </property>
    249             </widget>
    250            </item>
    251            <item row="2" column="3" >
    252             <widget class="QLineEdit" name="mLeSerialNo" >
    253              <property name="whatsThis" >
    254               <string>Defines the serial number filter as an &lt;i>exact match&lt;/i> string. An empty string will match any value.</string>
    255              </property>
    256             </widget>
    257            </item>
    258            <item row="3" column="0" >
    259             <widget class="QLabel" name="mLbPort" >
    260              <property name="text" >
    261               <string>Por&amp;t</string>
    262              </property>
    263              <property name="buddy" >
    264               <cstring>mLePort</cstring>
    265              </property>
    266             </widget>
    267            </item>
    268            <item row="3" column="1" >
    269             <widget class="QLineEdit" name="mLePort" >
    270              <property name="whatsThis" >
    271               <string>Defines the host USB port filter as an &lt;i>exact match&lt;/i> string. An empty string will match any value.</string>
    272              </property>
    273             </widget>
    274            </item>
    275            <item row="3" column="2" >
    276             <layout class="QVBoxLayout" >
    277              <item>
    278               <widget class="QLabel" name="mLbRemote" >
    279                <property name="text" >
    280                 <string>R&amp;emote</string>
    281                </property>
    282                <property name="buddy" >
    283                 <cstring>mCbRemote</cstring>
    284                </property>
    285               </widget>
    286              </item>
    287              <item>
    288               <widget class="QLabel" name="mLbAction" >
    289                <property name="text" >
    290                 <string>&amp;Action</string>
    291                </property>
    292                <property name="buddy" >
    293                 <cstring>mCbAction</cstring>
    294                </property>
    295               </widget>
    296              </item>
    297             </layout>
    298            </item>
    299            <item row="3" column="3" >
    300             <layout class="QVBoxLayout" >
    301              <item>
    302               <widget class="QComboBox" name="mCbRemote" >
    303                <property name="sizePolicy" >
    304                 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
    305                  <horstretch>0</horstretch>
    306                  <verstretch>0</verstretch>
    307                 </sizepolicy>
    308                </property>
    309                <property name="whatsThis" >
    310                 <string>Defines whether this filter applies to USB devices attached locally to the host computer (&lt;i>No&lt;/i>), to a VRDP client's computer (&lt;i>Yes&lt;/i>), or both (&lt;i>Any&lt;/i>).</string>
    311                </property>
    312               </widget>
    313              </item>
    314              <item>
    315               <widget class="QComboBox" name="mCbAction" >
    316                <property name="sizePolicy" >
    317                 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
    318                  <horstretch>0</horstretch>
    319                  <verstretch>0</verstretch>
    320                 </sizepolicy>
    321                </property>
    322                <property name="whatsThis" >
    323                 <string>Defines an action performed by the host computer when a matching device is attached: give it up to the host OS (&lt;i>Ignore&lt;/i>) or grab it for later usage by virtual machines (&lt;i>Hold&lt;/i>).</string>
    324                </property>
    325               </widget>
    326              </item>
    327             </layout>
    328            </item>
    329           </layout>
    330          </item>
    331         </layout>
    332        </widget>
    333       </item>
    334130     </layout>
    335131    </widget>
     
    337133  </layout>
    338134 </widget>
     135 <customwidgets>
     136  <customwidget>
     137   <class>QILabelSeparator</class>
     138   <extends>QLabel</extends>
     139   <header>QILabelSeparator.h</header>
     140  </customwidget>
     141 </customwidgets>
    339142 <resources/>
    340  <connections/>
     143 <connections>
     144  <connection>
     145   <sender>mGbUSB</sender>
     146   <signal>toggled(bool)</signal>
     147   <receiver>mUSBChild</receiver>
     148   <slot>setEnabled(bool)</slot>
     149   <hints>
     150    <hint type="sourcelabel" >
     151     <x>233</x>
     152     <y>19</y>
     153    </hint>
     154    <hint type="destinationlabel" >
     155     <x>246</x>
     156     <y>177</y>
     157    </hint>
     158   </hints>
     159  </connection>
     160 </connections>
    341161</ui>
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