]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/video_effects.ui
Check asprintf return value.
[vlc] / modules / gui / qt4 / ui / video_effects.ui
index dc683ba45eccaa8e220b69dae9a45892d42e981f..b68a4e6b10a6d6e8933b963207f9852ecae77202 100644 (file)
@@ -6,11 +6,11 @@
     <x>0</x>
     <y>0</y>
     <width>472</width>
-    <height>320</height>
+    <height>290</height>
    </rect>
   </property>
   <property name="currentIndex" >
-   <number>1</number>
+   <number>0</number>
   </property>
   <widget class="QWidget" name="tab" >
    <attribute name="title" >
@@ -29,7 +29,7 @@
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
+       <item row="0" column="0" >
         <widget class="QComboBox" name="transformTypeCombo" />
        </item>
       </layout>
@@ -47,7 +47,7 @@
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
+       <item row="0" column="0" >
         <widget class="QLabel" name="label_29" >
          <property name="text" >
           <string>_("Sigma")</string>
@@ -94,6 +94,9 @@
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
+       <property name="spacing" >
+        <number>0</number>
+       </property>
        <item row="0" column="1" >
         <widget class="QSlider" name="hueSlider" >
          <property name="maximum" >
     <string>_("Color fun")</string>
    </attribute>
    <layout class="QGridLayout" >
-   <item row="1" column="1" >
+    <item row="1" column="1" >
      <widget class="QGroupBox" name="extractEnable" >
       <property name="title" >
        <string>_("Color extraction")</string>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
+       <item row="0" column="0" >
         <widget class="QLabel" name="label_6" >
          <property name="text" >
           <string>_("Color")</string>
     <item row="0" column="1" >
      <widget class="QCheckBox" name="invertEnable" >
       <property name="text" >
-       <string>_("Color invert")</string>
+       <string>_("Invert colors")</string>
       </property>
      </widget>
     </item>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="2" column="0" >
+       <item row="2" column="0" >
         <widget class="QLabel" name="label_14" >
          <property name="text" >
           <string>_("Similarity")</string>
     </item>
    </layout>
   </widget>
-  <widget class="QWidget" name="tab_5" >
+  <widget class="QWidget" name="tab_3" >
    <attribute name="title" >
-    <string>_("Some random name")</string>
+    <string>_("Crop")</string>
    </attribute>
    <layout class="QGridLayout" >
-   <item row="1" column="0" >
-     <widget class="QCheckBox" name="magnifyEnable" >
+    <item row="0" column="2" >
+     <widget class="QLabel" name="label_10" >
       <property name="text" >
-       <string>_("Magnification")</string>
+       <string>_("Top")</string>
       </property>
      </widget>
     </item>
-    <item row="0" column="0" >
-     <widget class="QGroupBox" name="rotateEnable" >
-      <property name="title" >
-       <string>_("Rotate")</string>
+    <item row="0" column="3" >
+     <widget class="QSpinBox" name="cropTopPx" >
+      <property name="suffix" >
+       <string> px</string>
       </property>
-      <property name="checkable" >
-       <bool>true</bool>
+      <property name="maximum" >
+       <number>4095</number>
       </property>
-      <property name="checked" >
-       <bool>false</bool>
+     </widget>
+    </item>
+    <item row="1" column="0" >
+     <widget class="QLabel" name="label_11" >
+      <property name="text" >
+       <string>_("Left")</string>
+      </property>
+     </widget>
+    </item>
+    <item row="1" column="1" >
+     <widget class="QSpinBox" name="cropLeftPx" >
+      <property name="suffix" >
+       <string> px</string>
+      </property>
+      <property name="maximum" >
+       <number>4095</number>
+      </property>
+     </widget>
+    </item>
+    <item row="1" column="4" >
+     <widget class="QLabel" name="label_12" >
+      <property name="text" >
+       <string>_("Right")</string>
+      </property>
+     </widget>
+    </item>
+    <item row="1" column="5" >
+     <widget class="QSpinBox" name="cropRightPx" >
+      <property name="suffix" >
+       <string> px</string>
+      </property>
+      <property name="maximum" >
+       <number>4095</number>
+      </property>
+     </widget>
+    </item>
+    <item row="2" column="2" >
+     <widget class="QLabel" name="label_7" >
+      <property name="text" >
+       <string>_("Bottom")</string>
+      </property>
+     </widget>
+    </item>
+    <item row="2" column="3" >
+     <widget class="QSpinBox" name="cropBotPx" >
+      <property name="suffix" >
+       <string> px</string>
+      </property>
+      <property name="maximum" >
+       <number>4095</number>
+      </property>
+     </widget>
+    </item>
+    <item row="3" column="0" colspan="6" >
+     <widget class="QCheckBox" name="topBotCropSync" >
+      <property name="text" >
+       <string>_("Synchronize top and bottom")</string>
+      </property>
+     </widget>
+    </item>
+    <item row="4" column="0" colspan="6" >
+     <widget class="QCheckBox" name="leftRightCropSync" >
+      <property name="text" >
+       <string>_("Synchronize left and right")</string>
+      </property>
+     </widget>
+    </item>
+    <item row="1" column="3" >
+     <spacer>
+      <property name="orientation" >
+       <enum>Qt::Vertical</enum>
+      </property>
+      <property name="sizeType" >
+       <enum>QSizePolicy::Expanding</enum>
+      </property>
+      <property name="sizeHint" >
+       <size>
+        <width>20</width>
+        <height>40</height>
+       </size>
+      </property>
+     </spacer>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QWidget" name="tab_5" >
+   <attribute name="title" >
+    <string>_("Geometry")</string>
+   </attribute>
+   <layout class="QGridLayout" >
+    <item row="0" column="0" >
+     <widget class="QCheckBox" name="magnifyEnable" >
+      <property name="text" >
+       <string>_("Magnification")</string>
       </property>
-      <layout class="QGridLayout" >
-      <item row="0" column="1" >
-        <widget class="QDial" name="rotateAngleDial" >
-         <property name="maximum" >
-          <number>359</number>
-         </property>
-         <property name="value" >
-          <number>0</number>
-         </property>
-         <property name="sliderPosition" >
-          <number>0</number>
-         </property>
-         <property name="orientation" >
-          <enum>Qt::Horizontal</enum>
-         </property>
-         <property name="invertedAppearance" >
-          <bool>false</bool>
-         </property>
-         <property name="invertedControls" >
-          <bool>false</bool>
-         </property>
-        </widget>
-       </item>
-       <item row="0" column="0" >
-        <widget class="QLabel" name="label_28" >
-         <property name="text" >
-          <string>_("Angle")</string>
-         </property>
-        </widget>
-       </item>
-      </layout>
      </widget>
     </item>
     <item rowspan="2" row="0" column="1" >
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="1" >
+       <item row="0" column="1" >
         <widget class="QSpinBox" name="puzzleRowsSpin" >
          <property name="minimum" >
           <number>1</number>
       </layout>
      </widget>
     </item>
+    <item row="1" column="0" >
+     <widget class="QGroupBox" name="rotateEnable" >
+      <property name="title" >
+       <string>_("Rotate")</string>
+      </property>
+      <property name="checkable" >
+       <bool>true</bool>
+      </property>
+      <property name="checked" >
+       <bool>false</bool>
+      </property>
+      <layout class="QGridLayout" >
+       <item row="0" column="1" >
+        <widget class="QDial" name="rotateAngleDial" >
+         <property name="maximum" >
+          <number>359</number>
+         </property>
+         <property name="value" >
+          <number>180</number>
+         </property>
+         <property name="sliderPosition" >
+          <number>180</number>
+         </property>
+        </widget>
+       </item>
+       <item row="0" column="0" >
+        <widget class="QLabel" name="label_28" >
+         <property name="text" >
+          <string>_("Angle")</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </item>
    </layout>
   </widget>
   <widget class="QWidget" name="tab_7" >
     <string>_("Image modification")</string>
    </attribute>
    <layout class="QGridLayout" >
-   <item row="2" column="0" >
+    <item row="2" column="0" >
      <widget class="QCheckBox" name="waveEnable" >
       <property name="text" >
        <string>_("Waves")</string>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
+       <item row="0" column="0" >
         <widget class="QLabel" name="label_25" >
          <property name="text" >
           <string>_("Factor")</string>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
+       <item row="0" column="0" >
         <widget class="QLabel" name="label_18" >
          <property name="text" >
           <string>_("Mode")</string>
   </widget>
   <widget class="QWidget" name="tab_9" >
    <attribute name="title" >
-    <string>_("Find a name")</string>
+    <string>_("Vout/Overlay")</string>
    </attribute>
    <layout class="QGridLayout" >
-   <item rowspan="2" row="0" column="1" >
-     <widget class="QGroupBox" name="eraseEnable" >
+    <item row="0" column="0" >
+     <widget class="QGroupBox" name="wallEnable" >
       <property name="title" >
-       <string>_("Logo erase")</string>
+       <string>_("Wall")</string>
       </property>
       <property name="checkable" >
        <bool>true</bool>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="1" column="0" >
-        <widget class="QLabel" name="label_16" >
+       <item row="0" column="0" >
+        <widget class="QLabel" name="label_31" >
          <property name="text" >
-          <string>_("Top")</string>
+          <string>_("Rows")</string>
          </property>
         </widget>
        </item>
-       <item row="2" column="0" >
-        <widget class="QLabel" name="label_17" >
+       <item row="1" column="0" >
+        <widget class="QLabel" name="label_30" >
          <property name="text" >
-          <string>_("Left")</string>
+          <string>_("Columns")</string>
          </property>
         </widget>
        </item>
-       <item row="2" column="1" >
-        <widget class="QSpinBox" name="eraseXSpin" />
-       </item>
        <item row="1" column="1" >
-        <widget class="QSpinBox" name="eraseYSpin" />
+        <widget class="QSpinBox" name="wallColsSpin" >
+         <property name="minimum" >
+          <number>1</number>
+         </property>
+         <property name="value" >
+          <number>3</number>
+         </property>
+        </widget>
        </item>
        <item row="0" column="1" >
-        <widget class="QLineEdit" name="eraseMaskText" />
-       </item>
-       <item row="0" column="0" >
-        <widget class="QLabel" name="label_15" >
-         <property name="text" >
-          <string>_("Mask")</string>
+        <widget class="QSpinBox" name="wallRowsSpin" >
+         <property name="minimum" >
+          <number>1</number>
+         </property>
+         <property name="value" >
+          <number>3</number>
          </property>
         </widget>
        </item>
       </layout>
      </widget>
     </item>
-    <item row="1" column="0" >
-     <widget class="QGroupBox" name="cloneEnable" >
+    <item row="0" column="1" >
+     <widget class="QGroupBox" name="marqEnable" >
       <property name="title" >
-       <string>_("Clone")</string>
+       <string>_("Add text")</string>
       </property>
       <property name="checkable" >
        <bool>true</bool>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
-        <widget class="QLabel" name="label_9" >
+       <item row="1" column="0" >
+        <widget class="QLabel" name="label_24" >
          <property name="text" >
-          <string>_("Number of clones")</string>
+          <string>_("Position")</string>
          </property>
         </widget>
        </item>
-       <item row="0" column="1" >
-        <widget class="QSpinBox" name="cloneCountSpin" >
-         <property name="minimum" >
-          <number>1</number>
-         </property>
-         <property name="value" >
-          <number>2</number>
+       <item row="0" column="0" >
+        <widget class="QLabel" name="label_23" >
+         <property name="text" >
+          <string>_("Text")</string>
          </property>
         </widget>
        </item>
+       <item row="0" column="1" >
+        <widget class="QLineEdit" name="marqMarqueeText" />
+       </item>
+       <item row="1" column="1" >
+        <widget class="QComboBox" name="marqPositionCombo" />
+       </item>
       </layout>
      </widget>
     </item>
-    <item row="0" column="0" >
-     <widget class="QGroupBox" name="wallEnable" >
+    <item row="1" column="0" >
+     <widget class="QGroupBox" name="panoramixEnable" >
       <property name="title" >
-       <string>_("Wall")</string>
+       <string>_("Panoramix")</string>
       </property>
       <property name="checkable" >
        <bool>true</bool>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="0" column="0" >
-        <widget class="QLabel" name="label_31" >
+       <item row="0" column="0" >
+        <widget class="QLabel" name="label_36" >
          <property name="text" >
           <string>_("Rows")</string>
          </property>
         </widget>
        </item>
-       <item row="1" column="0" >
-        <widget class="QLabel" name="label_30" >
-         <property name="text" >
-          <string>_("Columns")</string>
-         </property>
-        </widget>
-       </item>
-       <item row="1" column="1" >
-        <widget class="QSpinBox" name="wallColsSpin" >
+       <item row="0" column="1" >
+        <widget class="QSpinBox" name="panoramixRowsSpin" >
          <property name="minimum" >
           <number>1</number>
          </property>
          </property>
         </widget>
        </item>
-       <item row="0" column="1" >
-        <widget class="QSpinBox" name="wallRowsSpin" >
+       <item row="1" column="0" >
+        <widget class="QLabel" name="label_35" >
+         <property name="text" >
+          <string>_("Columns")</string>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="1" >
+        <widget class="QSpinBox" name="panoramixColsSpin" >
          <property name="minimum" >
           <number>1</number>
          </property>
       </layout>
      </widget>
     </item>
-   </layout>
-  </widget>
-  <widget class="QWidget" name="tab_8" >
-   <attribute name="title" >
-    <string>_("Overlay")</string>
-   </attribute>
-   <layout class="QGridLayout" >
-   <item row="0" column="0" >
-     <widget class="QGroupBox" name="marqEnable" >
+    <item row="1" column="1" >
+     <widget class="QGroupBox" name="cloneEnable" >
       <property name="title" >
-       <string>_("Add text")</string>
+       <string>_("Clone")</string>
       </property>
       <property name="checkable" >
        <bool>true</bool>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="1" column="0" >
-        <widget class="QLabel" name="label_24" >
-         <property name="text" >
-          <string>_("Position")</string>
-         </property>
-        </widget>
-       </item>
        <item row="0" column="0" >
-        <widget class="QLabel" name="label_23" >
+        <widget class="QLabel" name="label_9" >
          <property name="text" >
-          <string>_("Text")</string>
+          <string>_("Number of clones")</string>
          </property>
         </widget>
        </item>
        <item row="0" column="1" >
-        <widget class="QLineEdit" name="marqMarqueeText" />
-       </item>
-       <item row="1" column="1" >
-        <widget class="QComboBox" name="marqPositionCombo" />
+        <widget class="QSpinBox" name="cloneCountSpin" >
+         <property name="minimum" >
+          <number>1</number>
+         </property>
+         <property name="value" >
+          <number>2</number>
+         </property>
+        </widget>
        </item>
       </layout>
      </widget>
     </item>
-    <item row="0" column="1" >
+   </layout>
+  </widget>
+  <widget class="QWidget" name="tab_8" >
+   <attribute name="title" >
+    <string>_("Logo")</string>
+   </attribute>
+   <layout class="QGridLayout" >
+    <item row="0" column="0" >
      <widget class="QGroupBox" name="logoEnable" >
       <property name="title" >
        <string>_("Add logo")</string>
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" >
-      <item row="3" column="0" >
+       <item row="3" column="0" >
         <widget class="QLabel" name="label_22" >
          <property name="text" >
           <string>_("Transparency")</string>
       </layout>
      </widget>
     </item>
+    <item row="0" column="1" >
+     <widget class="QGroupBox" name="eraseEnable" >
+      <property name="title" >
+       <string>_("Logo erase")</string>
+      </property>
+      <property name="checkable" >
+       <bool>true</bool>
+      </property>
+      <property name="checked" >
+       <bool>false</bool>
+      </property>
+      <layout class="QGridLayout" >
+       <item row="1" column="0" >
+        <widget class="QLabel" name="label_16" >
+         <property name="text" >
+          <string>_("Top")</string>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="0" >
+        <widget class="QLabel" name="label_17" >
+         <property name="text" >
+          <string>_("Left")</string>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="1" >
+        <widget class="QSpinBox" name="eraseXSpin" />
+       </item>
+       <item row="1" column="1" >
+        <widget class="QSpinBox" name="eraseYSpin" />
+       </item>
+       <item row="0" column="1" >
+        <widget class="QLineEdit" name="eraseMaskText" />
+       </item>
+       <item row="0" column="0" >
+        <widget class="QLabel" name="label_15" >
+         <property name="text" >
+          <string>_("Mask")</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </item>
    </layout>
   </widget>
   <widget class="QWidget" name="tab_6" >
     <string>_("Advanced video filter controls")</string>
    </attribute>
    <layout class="QGridLayout" >
-   <item row="2" column="1" colspan="2" >
+    <item row="2" column="1" colspan="2" >
      <widget class="QLineEdit" name="subpictureFilterText" />
     </item>
     <item row="2" column="0" >