VBoxUSBFilterSettings.ui revision fcf45157f73bd761076e3e105820b314655397cd
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>VBoxUSBFilterSettings</class>
<comment>
:mode=html:tabSize=4:indentSize=4:noTabs=true:
:folding=explicit:collapseFolds=1:
# Copyright (C) 2006 InnoTek Systemberatung GmbH
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#
# If you received this file as part of a commercial VirtualBox
# distribution, then only the terms of your commercial VirtualBox
# license agreement apply instead of the previous paragraph.
</comment>
<widget class="QWidget">
<property name="name">
<cstring>VBoxUSBFilterSettings</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>381</width>
<height>100</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="caption">
<string>VBoxUSBFilterSettings</string>
<comment>don't translate</comment>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout141</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>&Name</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterName</cstring>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>leUSBFilterName</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the filter name.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QFrame" row="1" column="1">
<property name="name">
<cstring>frame46</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>5</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>NoFrame</enum>
</property>
<property name="frameShadow">
<enum>Plain</enum>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2_2_3</cstring>
</property>
<property name="text">
<string>&Manufacturer</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterManufacturer</cstring>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_2_2_3_2</cstring>
</property>
<property name="text">
<string>Pro&duct</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterProduct</cstring>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1_2_2_3_2_2</cstring>
</property>
<property name="text">
<string>&Serial No.</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterSerial</cstring>
</property>
</widget>
<widget class="QLineEdit" row="0" column="1">
<property name="name">
<cstring>leUSBFilterManufacturer</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the manufacturer filter as an
<i>exact match</i> string. An emtpy string will match any
value.</qt></string>
</property>
</widget>
<widget class="QLineEdit" row="1" column="1">
<property name="name">
<cstring>leUSBFilterProduct</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the product name filter as an
<i>exact match</i> string. An emtpy string will match any
value.</qt></string>
</property>
</widget>
<widget class="QLineEdit" row="2" column="1">
<property name="name">
<cstring>leUSBFilterSerial</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the serial number filter as an
<i>exact match</i> string. An emtpy string will match any
value.</qt></string>
</property>
</widget>
<widget class="QComboBox" row="3" column="1">
<property name="name">
<cstring>cbRemote</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines whether this filter applies
to USB devices attached locally to the host computer (<i>No</i>),
to a VRDP client's computer (<i>Yes</i>),
or both (<i>Any</i>).</qt></string>
</property>
</widget>
<widget class="QLabel" row="3" column="0">
<property name="name">
<cstring>txUSBFilterRemote</cstring>
</property>
<property name="text">
<string>R&emote</string>
</property>
<property name="buddy" stdset="0">
<cstring>cbRemote</cstring>
</property>
</widget>
<widget class="QLabel" row="4" column="0">
<property name="name">
<cstring>txUSBFilterAction</cstring>
</property>
<property name="text">
<string>&Action</string>
</property>
<property name="buddy" stdset="0">
<cstring>cbAction</cstring>
</property>
</widget>
<widget class="QComboBox" row="4" column="1">
<property name="name">
<cstring>cbAction</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines an action performed by the host
computer when a matching device is attached: give it up to the host OS
(<i>Ignore</i>) or grab it for later usage by virtual machines
(<i>Hold</i>).</qt></string>
</property>
</widget>
</grid>
</widget>
<widget class="QFrame" row="1" column="0">
<property name="name">
<cstring>frame45</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>NoFrame</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2_2</cstring>
</property>
<property name="text">
<string>&Vendor ID</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterVendorId</cstring>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_2_2_2</cstring>
</property>
<property name="text">
<string>&Product ID</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterProductId</cstring>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1_2_2_2_2</cstring>
</property>
<property name="text">
<string>&Revision</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterRevision</cstring>
</property>
</widget>
<widget class="QLabel" row="3" column="0">
<property name="name">
<cstring>textLabel1_2_2_2_2_2</cstring>
</property>
<property name="text">
<string>Por&t</string>
</property>
<property name="buddy" stdset="0">
<cstring>leUSBFilterPort</cstring>
</property>
</widget>
<widget class="QLineEdit" row="0" column="1">
<property name="name">
<cstring>leUSBFilterVendorId</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the vendor ID filter. The
<i>exact match</i> string format is <tt>XXXX</tt> where
<tt>X</tt> is a hexadecimal digit. An emtpy string will match any
value.</qt></string>
</property>
</widget>
<widget class="QLineEdit" row="1" column="1">
<property name="name">
<cstring>leUSBFilterProductId</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the product ID filter. The
<i>exact match</i> string format is <tt>XXXX</tt> where
<tt>X</tt> is a hexadecimal digit. An emtpy string will match any
value.</qt></string>
</property>
</widget>
<widget class="QLineEdit" row="2" column="1">
<property name="name">
<cstring>leUSBFilterRevision</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the revision number filter. The
<i>exact match</i> string format is <tt>IIFF</tt> where
<tt>I</tt> is a decimal digit of the integer part and <tt>F</tt>
is a decimal digit of the fractional part. An emtpy string will match any
value.</qt></string>
</property>
</widget>
<widget class="QLineEdit" row="3" column="1">
<property name="name">
<cstring>leUSBFilterPort</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qt>Defines the host USB port filter as an
<i>exact match</i> string. An emtpy string will match any
value.</qt></string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<tabstops>
<tabstop>leUSBFilterName</tabstop>
<tabstop>leUSBFilterVendorId</tabstop>
<tabstop>leUSBFilterManufacturer</tabstop>
<tabstop>leUSBFilterProductId</tabstop>
<tabstop>leUSBFilterProduct</tabstop>
<tabstop>leUSBFilterRevision</tabstop>
<tabstop>leUSBFilterSerial</tabstop>
<tabstop>leUSBFilterPort</tabstop>
<tabstop>cbRemote</tabstop>
</tabstops>
<includes>
</includes>
<variables>
<variable access="public">enum FilterType { WrongType = 0, HostType = 1, MachineType = 2 };</variable>
<variable access="private">CUSBDeviceFilter mFilter;</variable>
<variable access="private">FilterType mType;</variable>
</variables>
<functions>
<function access="private">init()</function>
<function>getFromFilter( const CUSBDeviceFilter & aFilter )</function>
<function returnType="COMResult">putBackToFilter()</function>
<function returnType="CUSBDeviceFilter">filter() { return mFilter; }</function>
<function>setup( VBoxUSBFilterSettings::FilterType )</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>