Changeset 9227 in vbox for trunk/src/VBox
- Timestamp:
- May 29, 2008 3:00:06 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 1 deleted
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r9214 r9227 311 311 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsParallel.ui,$(VirtualBox_QT_UISRCS3)) 312 312 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsParallel.ui 313 314 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsUSB.ui,$(VirtualBox_QT_UISRCS3)) 315 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsUSB.ui 313 316 314 317 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsDlg.ui,$(VirtualBox_QT_UISRCS3)) … … 469 472 include/VBoxVMSettingsSerial.h \ 470 473 include/VBoxVMSettingsParallel.h \ 474 include/VBoxVMSettingsUSB.h \ 471 475 include/VBoxVMSettingsDlg.h 472 476 … … 553 557 src/VBoxVMSettingsSerial.cpp \ 554 558 src/VBoxVMSettingsParallel.cpp \ 559 src/VBoxVMSettingsUSB.cpp \ 555 560 src/VBoxVMSettingsDlg.cpp 556 561 -
trunk/src/VBox/Frontends/VirtualBox4/VBoxUI.pro
r9178 r9227 29 29 ui/VBoxVMSettingsSerial.ui \ 30 30 ui/VBoxVMSettingsParallel.ui \ 31 ui/VBox USBFilterSettings.ui \31 ui/VBoxVMSettingsUSB.ui \ 32 32 ui/VBoxSharedFoldersSettings.ui \ 33 33 ui/VBoxNewVMWzd.ui \ -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxGlobalSettingsDlg.ui.h
r9057 r9227 380 380 // grbUSBFiltersLayout->addWidget (wstUSBFilters); 381 381 /* create a default (disabled) filter settings widget at index 0 */ 382 /* 382 383 VBoxUSBFilterSettings *settings = new VBoxUSBFilterSettings (wstUSBFilters); 383 384 settings->setup (VBoxUSBFilterSettings::HostType); 384 385 wstUSBFilters->addWidget (settings, 0); 385 386 lvUSBFilters_currentChanged (NULL); 387 */ 386 388 /* setup toolbutton icons */ 387 389 tbAddUSBFilter->setIconSet (VBoxGlobal::iconSet (":/usb_new_16px.png", … … 871 873 bool aIsNew) 872 874 { 875 /* 873 876 Q3ListViewItem *currentItem = aIsNew 874 877 ? lvUSBFilters->currentItem() … … 885 888 item->mId = wstUSBFilters->addWidget (settings); 886 889 887 / * fix the tab order so that main dialog's buttons are always the last */890 // fix the tab order so that main dialog's buttons are always the last 888 891 setTabOrder (settings->focusProxy(), buttonHelp); 889 892 setTabOrder (buttonHelp, buttonOk); … … 900 903 this, SLOT (lvUSBFilters_setCurrentText (const QString &))); 901 904 902 / * setup validation */905 // setup validation 903 906 904 907 QIWidgetValidator *wval = … … 908 911 909 912 wval->revalidate(); 913 */ 910 914 } 911 915 -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsDlg.ui
r9127 r9227 572 572 <widget class="QWidget" name="mPageSerial" /> 573 573 <widget class="QWidget" name="mPageParallel" /> 574 <widget class="QWidget" name="mPageUSB" > 575 <layout class="QVBoxLayout" > 576 <property name="leftMargin" > 577 <number>0</number> 578 </property> 579 <property name="topMargin" > 580 <number>5</number> 581 </property> 582 <property name="rightMargin" > 583 <number>0</number> 584 </property> 585 <property name="bottomMargin" > 586 <number>0</number> 587 </property> 588 <item> 589 <widget class="QGroupBox" name="mGbUSB" > 590 <property name="whatsThis" > 591 <string>When checked, enables the virtual USB controller of this machine.</string> 592 </property> 593 <property name="title" > 594 <string>Enable &USB Controller</string> 595 </property> 596 <property name="checkable" > 597 <bool>true</bool> 598 </property> 599 <property name="checked" > 600 <bool>false</bool> 601 </property> 602 <layout class="QHBoxLayout" > 603 <property name="topMargin" > 604 <number>5</number> 605 </property> 606 <item> 607 <widget class="QCheckBox" name="mCbUSB2" > 608 <property name="whatsThis" > 609 <string>When checked, enables the virtual USB EHCI controller of this machine. The USB ECHI controller provides USB 2.0 support.</string> 610 </property> 611 <property name="text" > 612 <string>Enable USB E&HCI Controller</string> 613 </property> 614 </widget> 615 </item> 616 </layout> 617 </widget> 618 </item> 619 <item> 620 <widget class="QGroupBox" name="mGbUSBFilters" > 621 <property name="title" > 622 <string>USB Device &Filters</string> 623 </property> 624 <layout class="QVBoxLayout" > 625 <property name="topMargin" > 626 <number>5</number> 627 </property> 628 <item> 629 <layout class="QHBoxLayout" > 630 <item> 631 <widget class="QTreeWidget" name="mTwUSBFilters" > 632 <column> 633 <property name="text" > 634 <string>[filter]</string> 635 </property> 636 </column> 637 </widget> 638 </item> 639 <item> 640 <layout class="QVBoxLayout" > 641 <property name="spacing" > 642 <number>0</number> 643 </property> 644 <item> 645 <widget class="QToolButton" name="mTbAddUSBFilter" > 646 <property name="whatsThis" > 647 <string>Adds a new USB filter with all fields initially set to empty strings. Note that such a filter will match any attached USB device.</string> 648 </property> 649 <property name="text" > 650 <string/> 651 </property> 652 <property name="autoRaise" > 653 <bool>true</bool> 654 </property> 655 </widget> 656 </item> 657 <item> 658 <widget class="QToolButton" name="mTbAddUSBFrom" > 659 <property name="whatsThis" > 660 <string>Adds a new USB filter with all fields set to the values of the selected USB device attached to the host PC.</string> 661 </property> 662 <property name="text" > 663 <string/> 664 </property> 665 <property name="autoRaise" > 666 <bool>true</bool> 667 </property> 668 </widget> 669 </item> 670 <item> 671 <widget class="QToolButton" name="mTbRemUSBFilter" > 672 <property name="whatsThis" > 673 <string>Removes the selected USB filter.</string> 674 </property> 675 <property name="text" > 676 <string/> 677 </property> 678 <property name="autoRaise" > 679 <bool>true</bool> 680 </property> 681 </widget> 682 </item> 683 <item> 684 <widget class="QToolButton" name="mTbUSBFilterUp" > 685 <property name="whatsThis" > 686 <string>Moves the selected USB filter up.</string> 687 </property> 688 <property name="text" > 689 <string/> 690 </property> 691 <property name="autoRaise" > 692 <bool>true</bool> 693 </property> 694 </widget> 695 </item> 696 <item> 697 <widget class="QToolButton" name="mTbUSBFilterDown" > 698 <property name="whatsThis" > 699 <string>Moves the selected USB filter down.</string> 700 </property> 701 <property name="text" > 702 <string/> 703 </property> 704 <property name="autoRaise" > 705 <bool>true</bool> 706 </property> 707 </widget> 708 </item> 709 <item> 710 <spacer> 711 <property name="orientation" > 712 <enum>Qt::Vertical</enum> 713 </property> 714 <property name="sizeHint" > 715 <size> 716 <width>20</width> 717 <height>40</height> 718 </size> 719 </property> 720 </spacer> 721 </item> 722 </layout> 723 </item> 724 </layout> 725 </item> 726 </layout> 727 </widget> 728 </item> 729 </layout> 730 </widget> 574 <widget class="QWidget" name="mPageUSB" /> 731 575 <widget class="QWidget" name="mPageShared" /> 732 576 <widget class="QWidget" name="mPageVrdp" > -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsUSB.ui
r9193 r9227 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxUSBFilterSettings</class> 3 <comment> 4 :mode=html:tabSize=4:indentSize=4:noTabs=true: 5 :folding=explicit:collapseFolds=1: 6 7 Copyright (C) 2006-2007 Sun Microsystems, Inc. 8 9 This file is part of VirtualBox Open Source Edition (OSE), as 10 available from http://www.virtualbox.org. This file is free software; 11 you can redistribute it and/or modify it under the terms of the GNU 12 General Public License (GPL) as published by the Free Software 13 Foundation, in version 2 as it comes in the "COPYING" file of the 14 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 17 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 18 Clara, CA 95054 USA or visit http://www.sun.com if you need 19 additional information or have any questions. 20 </comment> 21 <widget class="QWidget"> 22 <property name="name"> 23 <cstring>VBoxUSBFilterSettings</cstring> 24 </property> 25 <property name="geometry"> 26 <rect> 27 <x>0</x> 28 <y>0</y> 29 <width>381</width> 30 <height>100</height> 31 </rect> 32 </property> 33 <property name="sizePolicy"> 34 <sizepolicy> 35 <hsizetype>5</hsizetype> 36 <vsizetype>0</vsizetype> 1 <ui version="4.0" > 2 <class>VBoxVMSettingsUSB</class> 3 <widget class="QWidget" name="VBoxVMSettingsUSB" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>402</width> 9 <height>424</height> 10 </rect> 11 </property> 12 <layout class="QVBoxLayout" > 13 <property name="leftMargin" > 14 <number>0</number> 15 </property> 16 <property name="topMargin" > 17 <number>5</number> 18 </property> 19 <property name="rightMargin" > 20 <number>0</number> 21 </property> 22 <property name="bottomMargin" > 23 <number>0</number> 24 </property> 25 <item> 26 <widget class="QGroupBox" name="mGbUSB" > 27 <property name="whatsThis" > 28 <string>When checked, enables the virtual USB controller of this machine.</string> 29 </property> 30 <property name="title" > 31 <string>Enable &USB Controller</string> 32 </property> 33 <property name="checkable" > 34 <bool>true</bool> 35 </property> 36 <property name="checked" > 37 <bool>false</bool> 38 </property> 39 <layout class="QHBoxLayout" > 40 <property name="topMargin" > 41 <number>5</number> 42 </property> 43 <item> 44 <widget class="QCheckBox" name="mCbUSB2" > 45 <property name="whatsThis" > 46 <string>When checked, enables the virtual USB EHCI controller of this machine. The USB ECHI controller provides USB 2.0 support.</string> 47 </property> 48 <property name="text" > 49 <string>Enable USB E&HCI Controller</string> 50 </property> 51 </widget> 52 </item> 53 </layout> 54 </widget> 55 </item> 56 <item> 57 <widget class="QGroupBox" name="mGbUSBFilters" > 58 <property name="title" > 59 <string>USB Device &Filters</string> 60 </property> 61 <layout class="QVBoxLayout" > 62 <property name="topMargin" > 63 <number>5</number> 64 </property> 65 <item> 66 <layout class="QHBoxLayout" > 67 <item> 68 <widget class="QTreeWidget" name="mTwFilters" > 69 <property name="whatsThis" > 70 <string>Lists all USB filters of this machine. The checkbox to the left defines whether the particular filter is enabled or not. Use the context menu or buttons to the right to add or remove USB filters.</string> 71 </property> 72 <property name="rootIsDecorated" > 73 <bool>false</bool> 74 </property> 75 <column> 76 <property name="text" > 77 <string>[filter]</string> 78 </property> 79 </column> 80 </widget> 81 </item> 82 <item> 83 <layout class="QVBoxLayout" > 84 <property name="spacing" > 85 <number>0</number> 86 </property> 87 <item> 88 <widget class="QToolButton" name="mTbNew" > 89 <property name="whatsThis" > 90 <string>Adds a new USB filter with all fields initially set to empty strings. Note that such a filter will match any attached USB device.</string> 91 </property> 92 <property name="text" > 93 <string/> 94 </property> 95 <property name="autoRaise" > 96 <bool>true</bool> 97 </property> 98 </widget> 99 </item> 100 <item> 101 <widget class="QToolButton" name="mTbAdd" > 102 <property name="whatsThis" > 103 <string>Adds a new USB filter with all fields set to the values of the selected USB device attached to the host PC.</string> 104 </property> 105 <property name="text" > 106 <string/> 107 </property> 108 <property name="autoRaise" > 109 <bool>true</bool> 110 </property> 111 </widget> 112 </item> 113 <item> 114 <widget class="QToolButton" name="mTbRem" > 115 <property name="whatsThis" > 116 <string>Removes the selected USB filter.</string> 117 </property> 118 <property name="text" > 119 <string/> 120 </property> 121 <property name="autoRaise" > 122 <bool>true</bool> 123 </property> 124 </widget> 125 </item> 126 <item> 127 <widget class="QToolButton" name="mTbUp" > 128 <property name="whatsThis" > 129 <string>Moves the selected USB filter up.</string> 130 </property> 131 <property name="text" > 132 <string/> 133 </property> 134 <property name="autoRaise" > 135 <bool>true</bool> 136 </property> 137 </widget> 138 </item> 139 <item> 140 <widget class="QToolButton" name="mTbDown" > 141 <property name="whatsThis" > 142 <string>Moves the selected USB filter down.</string> 143 </property> 144 <property name="text" > 145 <string/> 146 </property> 147 <property name="autoRaise" > 148 <bool>true</bool> 149 </property> 150 </widget> 151 </item> 152 <item> 153 <spacer> 154 <property name="orientation" > 155 <enum>Qt::Vertical</enum> 156 </property> 157 <property name="sizeHint" > 158 <size> 159 <width>20</width> 160 <height>40</height> 161 </size> 162 </property> 163 </spacer> 164 </item> 165 </layout> 166 </item> 167 </layout> 168 </item> 169 </layout> 170 </widget> 171 </item> 172 <item> 173 <widget class="QWidget" native="1" name="mWtProperties" > 174 <layout class="QVBoxLayout" > 175 <property name="leftMargin" > 176 <number>0</number> 177 </property> 178 <property name="topMargin" > 179 <number>0</number> 180 </property> 181 <property name="rightMargin" > 182 <number>0</number> 183 </property> 184 <property name="bottomMargin" > 185 <number>0</number> 186 </property> 187 <item> 188 <layout class="QHBoxLayout" > 189 <item> 190 <widget class="QLabel" name="mLbName" > 191 <property name="text" > 192 <string>&Name</string> 193 </property> 194 <property name="buddy" > 195 <cstring>mLeName</cstring> 196 </property> 197 </widget> 198 </item> 199 <item> 200 <widget class="QLineEdit" name="mLeName" > 201 <property name="whatsThis" > 202 <string>Displays the filter name.</string> 203 </property> 204 </widget> 205 </item> 206 </layout> 207 </item> 208 <item> 209 <layout class="QGridLayout" > 210 <item row="0" column="0" > 211 <widget class="QLabel" name="mLbVendorID" > 212 <property name="text" > 213 <string>&Vendor ID</string> 214 </property> 215 <property name="buddy" > 216 <cstring>mLeVendorID</cstring> 217 </property> 218 </widget> 219 </item> 220 <item row="0" column="1" > 221 <widget class="QLineEdit" name="mLeVendorID" > 222 <property name="whatsThis" > 223 <string>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 empty string will match any value.</string> 224 </property> 225 </widget> 226 </item> 227 <item row="0" column="2" > 228 <widget class="QLabel" name="mLbManufacturer" > 229 <property name="text" > 230 <string>&Manufacturer</string> 231 </property> 232 <property name="buddy" > 233 <cstring>mLeManufacturer</cstring> 234 </property> 235 </widget> 236 </item> 237 <item row="0" column="3" > 238 <widget class="QLineEdit" name="mLeManufacturer" > 239 <property name="whatsThis" > 240 <string>Defines the manufacturer filter as an <i>exact match</i> string. An empty string will match any value.</string> 241 </property> 242 </widget> 243 </item> 244 <item row="1" column="0" > 245 <widget class="QLabel" name="mLbProductID" > 246 <property name="text" > 247 <string>&Product ID</string> 248 </property> 249 <property name="buddy" > 250 <cstring>mLeProductID</cstring> 251 </property> 252 </widget> 253 </item> 254 <item row="1" column="1" > 255 <widget class="QLineEdit" name="mLeProductID" > 256 <property name="whatsThis" > 257 <string>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 empty string will match any value.</string> 258 </property> 259 </widget> 260 </item> 261 <item row="1" column="2" > 262 <widget class="QLabel" name="mLbProduct" > 263 <property name="text" > 264 <string>Pro&duct</string> 265 </property> 266 <property name="buddy" > 267 <cstring>mLeProduct</cstring> 268 </property> 269 </widget> 270 </item> 271 <item row="1" column="3" > 272 <widget class="QLineEdit" name="mLeProduct" > 273 <property name="whatsThis" > 274 <string>Defines the product name filter as an <i>exact match</i> string. An empty string will match any value.</string> 275 </property> 276 </widget> 277 </item> 278 <item row="2" column="0" > 279 <widget class="QLabel" name="mLbRevision" > 280 <property name="text" > 281 <string>&Revision</string> 282 </property> 283 <property name="buddy" > 284 <cstring>mLeRevision</cstring> 285 </property> 286 </widget> 287 </item> 288 <item row="2" column="1" > 289 <widget class="QLineEdit" name="mLeRevision" > 290 <property name="whatsThis" > 291 <string>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 empty string will match any value.</string> 292 </property> 293 </widget> 294 </item> 295 <item row="2" column="2" > 296 <widget class="QLabel" name="mLbSerialNo" > 297 <property name="text" > 298 <string>&Serial No.</string> 299 </property> 300 <property name="buddy" > 301 <cstring>mLeSerialNo</cstring> 302 </property> 303 </widget> 304 </item> 305 <item row="2" column="3" > 306 <widget class="QLineEdit" name="mLeSerialNo" > 307 <property name="whatsThis" > 308 <string>Defines the serial number filter as an <i>exact match</i> string. An empty string will match any value.</string> 309 </property> 310 </widget> 311 </item> 312 <item row="3" column="0" > 313 <widget class="QLabel" name="mLbPort" > 314 <property name="text" > 315 <string>Por&t</string> 316 </property> 317 <property name="buddy" > 318 <cstring>mLePort</cstring> 319 </property> 320 </widget> 321 </item> 322 <item row="3" column="1" > 323 <widget class="QLineEdit" name="mLePort" > 324 <property name="whatsThis" > 325 <string>Defines the host USB port filter as an <i>exact match</i> string. An empty string will match any value.</string> 326 </property> 327 </widget> 328 </item> 329 <item row="3" column="2" > 330 <widget class="QLabel" name="mLbRemote" > 331 <property name="text" > 332 <string>R&emote</string> 333 </property> 334 <property name="buddy" > 335 <cstring>mCbRemote</cstring> 336 </property> 337 </widget> 338 </item> 339 <item row="3" column="3" > 340 <widget class="QComboBox" name="mCbRemote" > 341 <property name="sizePolicy" > 342 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 37 343 <horstretch>0</horstretch> 38 344 <verstretch>0</verstretch> 39 </sizepolicy> 40 </property> 41 <property name="caption"> 42 <string>VBoxUSBFilterSettings</string> 43 <comment>don't translate</comment> 44 </property> 45 <grid> 46 <property name="name"> 47 <cstring>unnamed</cstring> 48 </property> 49 <property name="margin"> 50 <number>0</number> 51 </property> 52 <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> 53 <property name="name"> 54 <cstring>layout141</cstring> 55 </property> 56 <hbox> 57 <property name="name"> 58 <cstring>unnamed</cstring> 59 </property> 60 <widget class="QLabel"> 61 <property name="name"> 62 <cstring>textLabel1_2</cstring> 63 </property> 64 <property name="text"> 65 <string>&Name</string> 66 </property> 67 <property name="buddy" stdset="0"> 68 <cstring>leUSBFilterName</cstring> 69 </property> 70 </widget> 71 <widget class="QLineEdit"> 72 <property name="name"> 73 <cstring>leUSBFilterName</cstring> 74 </property> 75 <property name="frameShape"> 76 <enum>LineEditPanel</enum> 77 </property> 78 <property name="frameShadow"> 79 <enum>Sunken</enum> 80 </property> 81 <property name="whatsThis" stdset="0"> 82 <string>Displays the filter name.</string> 83 </property> 84 </widget> 85 </hbox> 86 </widget> 87 <widget class="QFrame" row="1" column="1"> 88 <property name="name"> 89 <cstring>frame46</cstring> 90 </property> 91 <property name="sizePolicy"> 92 <sizepolicy> 93 <hsizetype>5</hsizetype> 94 <vsizetype>0</vsizetype> 95 <horstretch>5</horstretch> 96 <verstretch>0</verstretch> 97 </sizepolicy> 98 </property> 99 <property name="frameShape"> 100 <enum>NoFrame</enum> 101 </property> 102 <property name="frameShadow"> 103 <enum>Plain</enum> 104 </property> 105 <grid> 106 <property name="name"> 107 <cstring>unnamed</cstring> 108 </property> 109 <property name="margin"> 110 <number>0</number> 111 </property> 112 <widget class="QLabel" row="0" column="0"> 113 <property name="name"> 114 <cstring>textLabel1_2_2_3</cstring> 115 </property> 116 <property name="text"> 117 <string>&Manufacturer</string> 118 </property> 119 <property name="buddy" stdset="0"> 120 <cstring>leUSBFilterManufacturer</cstring> 121 </property> 122 </widget> 123 <widget class="QLabel" row="1" column="0"> 124 <property name="name"> 125 <cstring>textLabel1_2_2_3_2</cstring> 126 </property> 127 <property name="text"> 128 <string>Pro&duct</string> 129 </property> 130 <property name="buddy" stdset="0"> 131 <cstring>leUSBFilterProduct</cstring> 132 </property> 133 </widget> 134 <widget class="QLabel" row="2" column="0"> 135 <property name="name"> 136 <cstring>textLabel1_2_2_3_2_2</cstring> 137 </property> 138 <property name="text"> 139 <string>&Serial No.</string> 140 </property> 141 <property name="buddy" stdset="0"> 142 <cstring>leUSBFilterSerial</cstring> 143 </property> 144 </widget> 145 <widget class="QLineEdit" row="0" column="1"> 146 <property name="name"> 147 <cstring>leUSBFilterManufacturer</cstring> 148 </property> 149 <property name="whatsThis" stdset="0"> 150 <string><qt>Defines the manufacturer filter as an 151 <i>exact match</i> string. An empty string will match any 152 value.</qt></string> 153 </property> 154 </widget> 155 <widget class="QLineEdit" row="1" column="1"> 156 <property name="name"> 157 <cstring>leUSBFilterProduct</cstring> 158 </property> 159 <property name="whatsThis" stdset="0"> 160 <string><qt>Defines the product name filter as an 161 <i>exact match</i> string. An empty string will match any 162 value.</qt></string> 163 </property> 164 </widget> 165 <widget class="QLineEdit" row="2" column="1"> 166 <property name="name"> 167 <cstring>leUSBFilterSerial</cstring> 168 </property> 169 <property name="whatsThis" stdset="0"> 170 <string><qt>Defines the serial number filter as an 171 <i>exact match</i> string. An empty string will match any 172 value.</qt></string> 173 </property> 174 </widget> 175 <widget class="QComboBox" row="3" column="1"> 176 <property name="name"> 177 <cstring>cbRemote</cstring> 178 </property> 179 <property name="whatsThis" stdset="0"> 180 <string><qt>Defines whether this filter applies 181 to USB devices attached locally to the host computer (<i>No</i>), 182 to a VRDP client's computer (<i>Yes</i>), 183 or both (<i>Any</i>).</qt></string> 184 </property> 185 </widget> 186 <widget class="QLabel" row="3" column="0"> 187 <property name="name"> 188 <cstring>txUSBFilterRemote</cstring> 189 </property> 190 <property name="text"> 191 <string>R&emote</string> 192 </property> 193 <property name="buddy" stdset="0"> 194 <cstring>cbRemote</cstring> 195 </property> 196 </widget> 197 <widget class="QLabel" row="4" column="0"> 198 <property name="name"> 199 <cstring>txUSBFilterAction</cstring> 200 </property> 201 <property name="text"> 202 <string>&Action</string> 203 </property> 204 <property name="buddy" stdset="0"> 205 <cstring>cbAction</cstring> 206 </property> 207 </widget> 208 <widget class="QComboBox" row="4" column="1"> 209 <property name="name"> 210 <cstring>cbAction</cstring> 211 </property> 212 <property name="whatsThis" stdset="0"> 213 <string><qt>Defines an action performed by the host 214 computer when a matching device is attached: give it up to the host OS 215 (<i>Ignore</i>) or grab it for later usage by virtual machines 216 (<i>Hold</i>).</qt></string> 217 </property> 218 </widget> 219 </grid> 220 </widget> 221 <widget class="QFrame" row="1" column="0"> 222 <property name="name"> 223 <cstring>frame45</cstring> 224 </property> 225 <property name="sizePolicy"> 226 <sizepolicy> 227 <hsizetype>5</hsizetype> 228 <vsizetype>0</vsizetype> 229 <horstretch>3</horstretch> 230 <verstretch>0</verstretch> 231 </sizepolicy> 232 </property> 233 <property name="frameShape"> 234 <enum>NoFrame</enum> 235 </property> 236 <property name="frameShadow"> 237 <enum>Raised</enum> 238 </property> 239 <grid> 240 <property name="name"> 241 <cstring>unnamed</cstring> 242 </property> 243 <property name="margin"> 244 <number>0</number> 245 </property> 246 <widget class="QLabel" row="0" column="0"> 247 <property name="name"> 248 <cstring>textLabel1_2_2</cstring> 249 </property> 250 <property name="text"> 251 <string>&Vendor ID</string> 252 </property> 253 <property name="buddy" stdset="0"> 254 <cstring>leUSBFilterVendorId</cstring> 255 </property> 256 </widget> 257 <widget class="QLabel" row="1" column="0"> 258 <property name="name"> 259 <cstring>textLabel1_2_2_2</cstring> 260 </property> 261 <property name="text"> 262 <string>&Product ID</string> 263 </property> 264 <property name="buddy" stdset="0"> 265 <cstring>leUSBFilterProductId</cstring> 266 </property> 267 </widget> 268 <widget class="QLabel" row="2" column="0"> 269 <property name="name"> 270 <cstring>textLabel1_2_2_2_2</cstring> 271 </property> 272 <property name="text"> 273 <string>&Revision</string> 274 </property> 275 <property name="buddy" stdset="0"> 276 <cstring>leUSBFilterRevision</cstring> 277 </property> 278 </widget> 279 <widget class="QLabel" row="3" column="0"> 280 <property name="name"> 281 <cstring>textLabel1_2_2_2_2_2</cstring> 282 </property> 283 <property name="text"> 284 <string>Por&t</string> 285 </property> 286 <property name="buddy" stdset="0"> 287 <cstring>leUSBFilterPort</cstring> 288 </property> 289 </widget> 290 <widget class="QLineEdit" row="0" column="1"> 291 <property name="name"> 292 <cstring>leUSBFilterVendorId</cstring> 293 </property> 294 <property name="whatsThis" stdset="0"> 295 <string><qt>Defines the vendor ID filter. The 296 <i>exact match</i> string format is <tt>XXXX</tt> where 297 <tt>X</tt> is a hexadecimal digit. An empty string will match any 298 value.</qt></string> 299 </property> 300 </widget> 301 <widget class="QLineEdit" row="1" column="1"> 302 <property name="name"> 303 <cstring>leUSBFilterProductId</cstring> 304 </property> 305 <property name="whatsThis" stdset="0"> 306 <string><qt>Defines the product ID filter. The 307 <i>exact match</i> string format is <tt>XXXX</tt> where 308 <tt>X</tt> is a hexadecimal digit. An empty string will match any 309 value.</qt></string> 310 </property> 311 </widget> 312 <widget class="QLineEdit" row="2" column="1"> 313 <property name="name"> 314 <cstring>leUSBFilterRevision</cstring> 315 </property> 316 <property name="whatsThis" stdset="0"> 317 <string><qt>Defines the revision number filter. The 318 <i>exact match</i> string format is <tt>IIFF</tt> where 319 <tt>I</tt> is a decimal digit of the integer part and <tt>F</tt> 320 is a decimal digit of the fractional part. An empty string will match any 321 value.</qt></string> 322 </property> 323 </widget> 324 <widget class="QLineEdit" row="3" column="1"> 325 <property name="name"> 326 <cstring>leUSBFilterPort</cstring> 327 </property> 328 <property name="whatsThis" stdset="0"> 329 <string><qt>Defines the host USB port filter as an 330 <i>exact match</i> string. An empty string will match any 331 value.</qt></string> 332 </property> 333 </widget> 334 </grid> 335 </widget> 336 </grid> 337 </widget> 338 <tabstops> 339 <tabstop>leUSBFilterName</tabstop> 340 <tabstop>leUSBFilterVendorId</tabstop> 341 <tabstop>leUSBFilterManufacturer</tabstop> 342 <tabstop>leUSBFilterProductId</tabstop> 343 <tabstop>leUSBFilterProduct</tabstop> 344 <tabstop>leUSBFilterRevision</tabstop> 345 <tabstop>leUSBFilterSerial</tabstop> 346 <tabstop>leUSBFilterPort</tabstop> 347 <tabstop>cbRemote</tabstop> 348 </tabstops> 349 <includes> 350 <include location="global" impldecl="in implementation">qvalidator.h</include> 351 <include location="local" impldecl="in declaration">COMDefs.h</include> 352 <include location="local" impldecl="in declaration">VBoxGlobal.h</include> 353 </includes> 354 <variables> 355 <variable access="public">enum FilterType { WrongType = 0, HostType = 1, MachineType = 2 };</variable> 356 <variable access="private">CUSBDeviceFilter mFilter;</variable> 357 <variable access="private">FilterType mType;</variable> 358 </variables> 359 <functions> 360 <function access="private">init()</function> 361 <function>getFromFilter( const CUSBDeviceFilter & aFilter )</function> 362 <function returnType="COMResult">putBackToFilter()</function> 363 <function returnType="CUSBDeviceFilter">filter() { return mFilter; }</function> 364 <function>setup( VBoxUSBFilterSettings::FilterType )</function> 365 </functions> 366 <pixmapinproject/> 367 <layoutdefaults spacing="6" margin="11"/> 368 </UI> 345 </sizepolicy> 346 </property> 347 <property name="whatsThis" > 348 <string>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>).</string> 349 </property> 350 </widget> 351 </item> 352 <item row="4" column="2" > 353 <widget class="QLabel" name="mLbAction" > 354 <property name="text" > 355 <string>&Action</string> 356 </property> 357 <property name="buddy" > 358 <cstring>mCbAction</cstring> 359 </property> 360 </widget> 361 </item> 362 <item row="4" column="3" > 363 <widget class="QComboBox" name="mCbAction" > 364 <property name="sizePolicy" > 365 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 366 <horstretch>0</horstretch> 367 <verstretch>0</verstretch> 368 </sizepolicy> 369 </property> 370 <property name="whatsThis" > 371 <string>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>).</string> 372 </property> 373 </widget> 374 </item> 375 </layout> 376 </item> 377 </layout> 378 </widget> 379 </item> 380 </layout> 381 </widget> 382 <resources/> 383 <connections/> 384 </ui>
Note:
See TracChangeset
for help on using the changeset viewer.