videocapturedlgbase.ui
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:13k
源码类别:

OpenGL

开发平台:

Visual C++

  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>VideoCaptureDlgBase</class>
  3. <widget class="QDialog">
  4.     <property name="name">
  5.         <cstring>VideoCaptureDlgBase</cstring>
  6.     </property>
  7.     <property name="geometry">
  8.         <rect>
  9.             <x>0</x>
  10.             <y>0</y>
  11.             <width>443</width>
  12.             <height>360</height>
  13.         </rect>
  14.     </property>
  15.     <property name="caption">
  16.         <string>Video Capture</string>
  17.     </property>
  18.     <property name="sizeGripEnabled">
  19.         <bool>true</bool>
  20.     </property>
  21.     <vbox>
  22.         <property name="name">
  23.             <cstring>unnamed</cstring>
  24.         </property>
  25.         <widget class="QGroupBox">
  26.             <property name="name">
  27.                 <cstring>groupBox1</cstring>
  28.             </property>
  29.             <property name="title">
  30.                 <string>Settings</string>
  31.             </property>
  32.             <vbox>
  33.                 <property name="name">
  34.                     <cstring>unnamed</cstring>
  35.                 </property>
  36.                 <widget class="QLayoutWidget">
  37.                     <property name="name">
  38.                         <cstring>layout12</cstring>
  39.                     </property>
  40.                     <hbox>
  41.                         <property name="name">
  42.                             <cstring>unnamed</cstring>
  43.                         </property>
  44.                         <widget class="QLabel">
  45.                             <property name="name">
  46.                                 <cstring>fileLabel</cstring>
  47.                             </property>
  48.                             <property name="text">
  49.                                 <string>Save As:</string>
  50.                             </property>
  51.                         </widget>
  52.                         <widget class="KURLRequester">
  53.                             <property name="name">
  54.                                 <cstring>fileUrl</cstring>
  55.                             </property>
  56.                             <property name="showLocalProtocol">
  57.                                 <bool>false</bool>
  58.                             </property>
  59.                             <property name="filter">
  60.                                 <string>*.ogg</string>
  61.                             </property>
  62.                         </widget>
  63.                     </hbox>
  64.                 </widget>
  65.                 <widget class="QLayoutWidget">
  66.                     <property name="name">
  67.                         <cstring>layout2</cstring>
  68.                     </property>
  69.                     <hbox>
  70.                         <property name="name">
  71.                             <cstring>unnamed</cstring>
  72.                         </property>
  73.                         <widget class="QLabel">
  74.                             <property name="name">
  75.                                 <cstring>aspectRatioLabel</cstring>
  76.                             </property>
  77.                             <property name="text">
  78.                                 <string>Aspect Ratio:</string>
  79.                             </property>
  80.                         </widget>
  81.                         <widget class="KComboBox">
  82.                             <item>
  83.                                 <property name="text">
  84.                                     <string>Current</string>
  85.                                 </property>
  86.                             </item>
  87.                             <item>
  88.                                 <property name="text">
  89.                                     <string>11:9</string>
  90.                                 </property>
  91.                             </item>
  92.                             <item>
  93.                                 <property name="text">
  94.                                     <string>4:3</string>
  95.                                 </property>
  96.                             </item>
  97.                             <item>
  98.                                 <property name="text">
  99.                                     <string>16:9</string>
  100.                                 </property>
  101.                             </item>
  102.                             <property name="name">
  103.                                 <cstring>aspectRatio</cstring>
  104.                             </property>
  105.                         </widget>
  106.                     </hbox>
  107.                 </widget>
  108.                 <widget class="QLayoutWidget">
  109.                     <property name="name">
  110.                         <cstring>layout7</cstring>
  111.                     </property>
  112.                     <hbox>
  113.                         <property name="name">
  114.                             <cstring>unnamed</cstring>
  115.                         </property>
  116.                         <widget class="QLabel">
  117.                             <property name="name">
  118.                                 <cstring>imageSizeLabel</cstring>
  119.                             </property>
  120.                             <property name="text">
  121.                                 <string>Image Size:</string>
  122.                             </property>
  123.                         </widget>
  124.                         <widget class="QComboBox">
  125.                             <property name="name">
  126.                                 <cstring>imageSize</cstring>
  127.                             </property>
  128.                         </widget>
  129.                     </hbox>
  130.                 </widget>
  131.                 <widget class="QLayoutWidget">
  132.                     <property name="name">
  133.                         <cstring>layout3</cstring>
  134.                     </property>
  135.                     <hbox>
  136.                         <property name="name">
  137.                             <cstring>unnamed</cstring>
  138.                         </property>
  139.                         <widget class="QLabel">
  140.                             <property name="name">
  141.                                 <cstring>frameRateLabel</cstring>
  142.                             </property>
  143.                             <property name="text">
  144.                                 <string>Frame Rate:</string>
  145.                             </property>
  146.                         </widget>
  147.                         <widget class="QSpinBox">
  148.                             <property name="name">
  149.                                 <cstring>frameRate</cstring>
  150.                             </property>
  151.                             <property name="maxValue">
  152.                                 <number>30</number>
  153.                             </property>
  154.                             <property name="minValue">
  155.                                 <number>5</number>
  156.                             </property>
  157.                             <property name="value">
  158.                                 <number>12</number>
  159.                             </property>
  160.                         </widget>
  161.                     </hbox>
  162.                 </widget>
  163.                 <widget class="QLayoutWidget">
  164.                     <property name="name">
  165.                         <cstring>layout4</cstring>
  166.                     </property>
  167.                     <hbox>
  168.                         <property name="name">
  169.                             <cstring>unnamed</cstring>
  170.                         </property>
  171.                         <widget class="QLabel">
  172.                             <property name="name">
  173.                                 <cstring>textLabel3</cstring>
  174.                             </property>
  175.                             <property name="text">
  176.                                 <string>Video Quality:</string>
  177.                             </property>
  178.                         </widget>
  179.                         <widget class="QSpinBox">
  180.                             <property name="name">
  181.                                 <cstring>videoQuality</cstring>
  182.                             </property>
  183.                             <property name="maxValue">
  184.                                 <number>10</number>
  185.                             </property>
  186.                             <property name="value">
  187.                                 <number>10</number>
  188.                             </property>
  189.                         </widget>
  190.                     </hbox>
  191.                 </widget>
  192.                 <widget class="QCheckBox">
  193.                     <property name="name">
  194.                         <cstring>playVideo</cstring>
  195.                     </property>
  196.                     <property name="text">
  197.                         <string>Play Video when capture is done</string>
  198.                     </property>
  199.                 </widget>
  200.             </vbox>
  201.         </widget>
  202.         <widget class="QGroupBox">
  203.             <property name="name">
  204.                 <cstring>groupBox2</cstring>
  205.             </property>
  206.             <property name="title">
  207.                 <string>Usage</string>
  208.             </property>
  209.             <vbox>
  210.                 <property name="name">
  211.                     <cstring>unnamed</cstring>
  212.                 </property>
  213.                 <widget class="QLabel">
  214.                     <property name="name">
  215.                         <cstring>textLabel2</cstring>
  216.                     </property>
  217.                     <property name="text">
  218.                         <string>&lt;p&gt;Press &lt;b&gt;F11&lt;/b&gt; to start/pause recording&lt;br&gt;
  219. Press &lt;b&gt;F12&lt;/b&gt; to stop&lt;/p&gt;
  220. &lt;p&gt;Note that resizing the main window will not be possible until the end of the capture&lt;/p&gt;</string>
  221.                     </property>
  222.                 </widget>
  223.             </vbox>
  224.         </widget>
  225.         <widget class="QLayoutWidget">
  226.             <property name="name">
  227.                 <cstring>Layout1</cstring>
  228.             </property>
  229.             <hbox>
  230.                 <property name="name">
  231.                     <cstring>unnamed</cstring>
  232.                 </property>
  233.                 <property name="margin">
  234.                     <number>0</number>
  235.                 </property>
  236.                 <property name="spacing">
  237.                     <number>6</number>
  238.                 </property>
  239.                 <spacer>
  240.                     <property name="name">
  241.                         <cstring>Horizontal Spacing2</cstring>
  242.                     </property>
  243.                     <property name="orientation">
  244.                         <enum>Horizontal</enum>
  245.                     </property>
  246.                     <property name="sizeType">
  247.                         <enum>Expanding</enum>
  248.                     </property>
  249.                     <property name="sizeHint">
  250.                         <size>
  251.                             <width>20</width>
  252.                             <height>20</height>
  253.                         </size>
  254.                     </property>
  255.                 </spacer>
  256.                 <widget class="QPushButton">
  257.                     <property name="name">
  258.                         <cstring>buttonOk</cstring>
  259.                     </property>
  260.                     <property name="text">
  261.                         <string>&amp;OK</string>
  262.                     </property>
  263.                     <property name="accel">
  264.                         <string></string>
  265.                     </property>
  266.                     <property name="autoDefault">
  267.                         <bool>true</bool>
  268.                     </property>
  269.                     <property name="default">
  270.                         <bool>true</bool>
  271.                     </property>
  272.                 </widget>
  273.                 <widget class="QPushButton">
  274.                     <property name="name">
  275.                         <cstring>buttonCancel</cstring>
  276.                     </property>
  277.                     <property name="text">
  278.                         <string>&amp;Cancel</string>
  279.                     </property>
  280.                     <property name="accel">
  281.                         <string></string>
  282.                     </property>
  283.                     <property name="autoDefault">
  284.                         <bool>true</bool>
  285.                     </property>
  286.                 </widget>
  287.             </hbox>
  288.         </widget>
  289.     </vbox>
  290. </widget>
  291. <connections>
  292.     <connection>
  293.         <sender>buttonOk</sender>
  294.         <signal>clicked()</signal>
  295.         <receiver>VideoCaptureDlgBase</receiver>
  296.         <slot>okSlot()</slot>
  297.     </connection>
  298.     <connection>
  299.         <sender>buttonCancel</sender>
  300.         <signal>clicked()</signal>
  301.         <receiver>VideoCaptureDlgBase</receiver>
  302.         <slot>cancelSlot()</slot>
  303.     </connection>
  304.     <connection>
  305.         <sender>aspectRatio</sender>
  306.         <signal>activated(int)</signal>
  307.         <receiver>VideoCaptureDlgBase</receiver>
  308.         <slot>newAspectRatioSlot(int)</slot>
  309.     </connection>
  310.     <connection>
  311.         <sender>fileUrl</sender>
  312.         <signal>textChanged(const QString&amp;)</signal>
  313.         <receiver>VideoCaptureDlgBase</receiver>
  314.         <slot>filenameSlot(const QString&amp;)</slot>
  315.     </connection>
  316. </connections>
  317. <slots>
  318.     <slot>newAspectRatioSlot(int )</slot>
  319.     <slot>okSlot()</slot>
  320.     <slot>cancelSlot()</slot>
  321.     <slot>newMainWindowSizeSlot(int, int)</slot>
  322.     <slot>filenameSlot(const QString&amp;)</slot>
  323. </slots>
  324. <layoutdefaults spacing="6" margin="11"/>
  325. <includehints>
  326.     <includehint>kurlrequester.h</includehint>
  327.     <includehint>klineedit.h</includehint>
  328.     <includehint>kpushbutton.h</includehint>
  329.     <includehint>kcombobox.h</includehint>
  330. </includehints>
  331. </UI>