]> git.sesse.net Git - nageru/blobdiff - ui_mainwindow.ui
Add the beginnings of a very simple VU meter, based on libebur128.
[nageru] / ui_mainwindow.ui
index fa8bbe0d4c45d895bba544be49b97c1a6f295e78..12e386485147b6ef985a3dbafbfca6c4d23d1e3f 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>948</width>
-    <height>597</height>
+    <width>1089</width>
+    <height>664</height>
    </rect>
   </property>
   <property name="windowTitle">
    </property>
    <layout class="QGridLayout" name="gridLayout">
     <item row="0" column="0">
-     <layout class="QVBoxLayout" name="verticalLayout" stretch="2,0,1">
+     <layout class="QVBoxLayout" name="vertical_layout" stretch="0,0,0">
       <item>
-       <layout class="QHBoxLayout" name="me_displays" stretch="0,0,0">
+       <layout class="QHBoxLayout" name="me_displays" stretch="0,0,0,0">
         <item>
          <layout class="QVBoxLayout" name="verticalLayout_3">
           <property name="leftMargin">
            <number>0</number>
           </property>
           <item>
-           <widget class="GLWidget" name="me_preview">
+           <widget class="GLWidget" name="me_preview" native="true">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
               <horstretch>1</horstretch>
@@ -44,7 +44,7 @@
            </widget>
           </item>
           <item>
-           <widget class="QLabel" name="label">
+           <widget class="QLabel" name="label_preview">
             <property name="text">
              <string>Preview</string>
             </property>
          <layout class="QVBoxLayout" name="verticalLayout_2">
           <item>
            <widget class="QPushButton" name="transition_btn1">
+            <property name="minimumSize">
+             <size>
+              <width>115</width>
+              <height>0</height>
+             </size>
+            </property>
             <property name="text">
              <string>Cut</string>
             </property>
           </item>
           <item>
            <widget class="QPushButton" name="transition_btn2">
+            <property name="minimumSize">
+             <size>
+              <width>115</width>
+              <height>0</height>
+             </size>
+            </property>
             <property name="text">
              <string>Fade</string>
             </property>
           </item>
           <item>
            <widget class="QPushButton" name="transition_btn3">
+            <property name="minimumSize">
+             <size>
+              <width>115</width>
+              <height>0</height>
+             </size>
+            </property>
             <property name="text">
              <string>Wipe</string>
             </property>
            <number>0</number>
           </property>
           <item>
-           <widget class="GLWidget" name="me_live">
+           <widget class="GLWidget" name="me_live" native="true">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
               <horstretch>1</horstretch>
            </widget>
           </item>
           <item>
-           <widget class="QLabel" name="label_2">
+           <widget class="QLabel" name="label_live">
             <property name="text">
              <string>Live</string>
             </property>
           </item>
          </layout>
         </item>
+        <item>
+         <widget class="VUMeter" name="vu_meter" native="true">
+          <property name="minimumSize">
+           <size>
+            <width>30</width>
+            <height>0</height>
+           </size>
+          </property>
+         </widget>
+        </item>
        </layout>
       </item>
       <item>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
-          <width>0</width>
-          <height>0</height>
+          <width>20</width>
+          <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
-       <layout class="QHBoxLayout" name="horizontalLayout_5">
+       <layout class="QHBoxLayout" name="preview_displays">
         <property name="topMargin">
          <number>0</number>
         </property>
         <item>
-         <widget class="GLWidget" name="preview1">
+         <widget class="GLWidget" name="preview1" native="true">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
             <horstretch>1</horstretch>
          </widget>
         </item>
         <item>
-         <widget class="GLWidget" name="preview2">
+         <widget class="GLWidget" name="preview2" native="true">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
             <horstretch>1</horstretch>
          </widget>
         </item>
         <item>
-         <widget class="GLWidget" name="preview3">
+         <widget class="GLWidget" name="preview3" native="true">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
             <horstretch>1</horstretch>
          </widget>
         </item>
         <item>
-         <widget class="QGLWidget" name="preview4">
+         <widget class="QGLWidget" name="preview4" native="true">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
             <horstretch>1</horstretch>
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>948</width>
+     <width>1089</width>
      <height>19</height>
     </rect>
    </property>
  <customwidgets>
   <customwidget>
    <class>GLWidget</class>
-   <extends>QGLWidget</extends>
+   <extends>QWidget</extends>
    <header>glwidget.h</header>
   </customwidget>
+  <customwidget>
+   <class>QGLWidget</class>
+   <extends>QWidget</extends>
+   <header>qglwidget.h</header>
+  </customwidget>
+  <customwidget>
+   <class>VUMeter</class>
+   <extends>QWidget</extends>
+   <header>vumeter.h</header>
+   <container>1</container>
+  </customwidget>
  </customwidgets>
  <resources/>
  <connections/>