[go: up one dir, main page]

Menu

[r8]: / mainwindow.ui  Maximize  Restore  History

Download this file

414 lines (413 with data), 12.3 kB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>654</width>
    <height>563</height>
   </rect>
  </property>
  <property name="acceptDrops">
   <bool>false</bool>
  </property>
  <property name="windowTitle">
   <string>VidePub</string>
  </property>
  <widget class="QWidget" name="centralWidget">
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QScrollArea" name="scrollArea">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="minimumSize">
       <size>
        <width>0</width>
        <height>0</height>
       </size>
      </property>
      <property name="acceptDrops">
       <bool>false</bool>
      </property>
      <property name="locale">
       <locale language="French" country="France"/>
      </property>
      <property name="verticalScrollBarPolicy">
       <enum>Qt::ScrollBarAsNeeded</enum>
      </property>
      <property name="horizontalScrollBarPolicy">
       <enum>Qt::ScrollBarAsNeeded</enum>
      </property>
      <property name="widgetResizable">
       <bool>false</bool>
      </property>
      <widget class="DrawingArea" name="VideoFrame">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>1024</width>
         <height>1024</height>
        </rect>
       </property>
       <property name="acceptDrops">
        <bool>true</bool>
       </property>
      </widget>
     </widget>
    </item>
    <item>
     <widget class="QSlider" name="TimeSlider">
      <property name="maximum">
       <number>1000</number>
      </property>
      <property name="tracking">
       <bool>false</bool>
      </property>
      <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
     </widget>
    </item>
    <item>
     <layout class="QHBoxLayout" name="VideoButtons" stretch="0,0,0,0,0,0,0">
      <property name="sizeConstraint">
       <enum>QLayout::SetFixedSize</enum>
      </property>
      <item>
       <widget class="QPushButton" name="FastPrevButton">
        <property name="toolTip">
         <string>Goes 10s before</string>
        </property>
        <property name="text">
         <string>&lt;&lt;</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="PrevButton">
        <property name="toolTip">
         <string>Previous keyframe</string>
        </property>
        <property name="text">
         <string>&lt;</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="NextButton">
        <property name="toolTip">
         <string>Next keyframe</string>
        </property>
        <property name="text">
         <string>&gt;</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="FastNextButton">
        <property name="toolTip">
         <string>Goes 10s later</string>
        </property>
        <property name="text">
         <string>&gt;&gt;</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="NextLogoOn">
        <property name="toolTip">
         <string>Find next logo on</string>
        </property>
        <property name="text">
         <string>&gt;[]</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="NextLogoOff">
        <property name="toolTip">
         <string>Find next logo off</string>
        </property>
        <property name="text">
         <string>&gt;X</string>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </item>
    <item>
     <widget class="VideoSegmentList" name="RegionList">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="minimumSize">
       <size>
        <width>0</width>
        <height>0</height>
       </size>
      </property>
      <property name="maximumSize">
       <size>
        <width>16777215</width>
        <height>150</height>
       </size>
      </property>
      <property name="acceptDrops">
       <bool>false</bool>
      </property>
      <property name="toolTip">
       <string>List of detected regions. Select several regions to save them in the same file.</string>
      </property>
      <property name="selectionMode">
       <enum>QAbstractItemView::ContiguousSelection</enum>
      </property>
     </widget>
    </item>
    <item>
     <layout class="QHBoxLayout" name="SegmentButtons" stretch="0,0,0,0,0,0,0,0">
      <property name="sizeConstraint">
       <enum>QLayout::SetFixedSize</enum>
      </property>
      <item>
       <widget class="QPushButton" name="GotoBeginBt">
        <property name="toolTip">
         <string>Go to begin of first selected segment</string>
        </property>
        <property name="text">
         <string>|&lt;</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="GoToEndBt">
        <property name="toolTip">
         <string>Go to end of last selected segment</string>
        </property>
        <property name="text">
         <string>&gt;|</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="SetBeginBt">
        <property name="toolTip">
         <string>Move begin of first selection to current position.
Merge overlapping segments if necessary.</string>
        </property>
        <property name="text">
         <string>[</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="SetEndBt">
        <property name="toolTip">
         <string>Move end of first selection to current position.
Merge overlapping segment if necessary.</string>
        </property>
        <property name="text">
         <string>]</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="AddBt">
        <property name="toolTip">
         <string>Add a segment at current position.
Does nothing if current position is already inside a segment.</string>
        </property>
        <property name="text">
         <string>Add</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="MergeBt">
        <property name="toolTip">
         <string>Merge all selected segment by creating a region which goes from the beginning of the first segment to the end of the last one.</string>
        </property>
        <property name="text">
         <string>Merge</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="DeleteBt">
        <property name="toolTip">
         <string>Delete current selection</string>
        </property>
        <property name="text">
         <string>Delete</string>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>654</width>
     <height>20</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuFichier">
    <property name="locale">
     <locale language="English" country="UnitedStates"/>
    </property>
    <property name="title">
     <string>File</string>
    </property>
    <addaction name="actionOuvrir"/>
    <addaction name="actionDetect_Segments"/>
    <addaction name="actionSave_selection"/>
    <addaction name="separator"/>
    <addaction name="actionQuitter"/>
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <addaction name="actionAbout_VidePub"/>
   </widget>
   <addaction name="menuFichier"/>
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QToolBar" name="mainToolBar">
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionOuvrir"/>
   <addaction name="actionDetect_Segments"/>
   <addaction name="actionSave_selection"/>
   <addaction name="actionQuitter"/>
  </widget>
  <widget class="QStatusBar" name="statusBar"/>
  <action name="actionOuvrir">
   <property name="icon">
    <iconset resource="gnome_icons.qrc">
     <normaloff>:/gnome/document-open.png</normaloff>:/gnome/document-open.png</iconset>
   </property>
   <property name="text">
    <string>Open</string>
   </property>
   <property name="toolTip">
    <string>Open a video file</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+O</string>
   </property>
  </action>
  <action name="actionQuitter">
   <property name="icon">
    <iconset resource="gnome_icons.qrc">
     <normaloff>:/gnome/application-exit.png</normaloff>:/gnome/application-exit.png</iconset>
   </property>
   <property name="text">
    <string>Quit</string>
   </property>
   <property name="toolTip">
    <string>Quit application</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Q</string>
   </property>
  </action>
  <action name="actionDetect_Segments">
   <property name="icon">
    <iconset resource="gnome_icons.qrc">
     <normaloff>:/gnome/system-run.png</normaloff>:/gnome/system-run.png</iconset>
   </property>
   <property name="text">
    <string>Detect Segments</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+D</string>
   </property>
  </action>
  <action name="actionSave_selection">
   <property name="icon">
    <iconset resource="gnome_icons.qrc">
     <normaloff>:/gnome/document-save.png</normaloff>:/gnome/document-save.png</iconset>
   </property>
   <property name="text">
    <string>Save selection</string>
   </property>
   <property name="toolTip">
    <string>Save all selected segments into a single file</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+S</string>
   </property>
  </action>
  <action name="actionAbout_VidePub">
   <property name="icon">
    <iconset resource="gnome_icons.qrc">
     <normaloff>:/gnome/help-about.png</normaloff>:/gnome/help-about.png</iconset>
   </property>
   <property name="text">
    <string>About VidePub...</string>
   </property>
  </action>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>DrawingArea</class>
   <extends>QWidget</extends>
   <header>drawingarea.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>VideoSegmentList</class>
   <extends>QListWidget</extends>
   <header>videosegmentlist.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="gnome_icons.qrc"/>
 </resources>
 <connections/>
</ui>