[3e4acc]: libgui / LabelPropertiesWidgetBase.ui Maximize Restore History

Download this file

LabelPropertiesWidgetBase.ui    236 lines (235 with data), 6.4 kB

<ui version="4.0" >
 <class>LabelPropertiesWidgetBase</class>
 <widget class="QDialog" name="LabelPropertiesWidgetBase" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>368</width>
    <height>253</height>
   </rect>
  </property>
  <property name="sizePolicy" >
   <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle" >
   <string>Label Properties...</string>
  </property>
  <layout class="QVBoxLayout" >
   <property name="spacing" >
    <number>10</number>
   </property>
   <property name="leftMargin" >
    <number>10</number>
   </property>
   <property name="topMargin" >
    <number>10</number>
   </property>
   <property name="rightMargin" >
    <number>10</number>
   </property>
   <property name="bottomMargin" >
    <number>10</number>
   </property>
   <item>
    <layout class="QGridLayout" >
     <item row="1" column="1" >
      <widget class="SelectTimeWidget" native="1" name="time" >
       <property name="minimumSize" >
        <size>
         <width>0</width>
         <height>100</height>
        </size>
       </property>
       <property name="focusPolicy" >
        <enum>Qt::TabFocus</enum>
       </property>
       <property name="whatsThis" >
        <string>&lt;b>label position:&lt;/b>&lt;br>
Here you can set the position of the label, either by time, by percentage of the whole file or by an absolute sample position. However, internally Kwave always uses the position in samples.</string>
       </property>
      </widget>
     </item>
     <item row="2" column="0" >
      <widget class="QLabel" name="textLabel1_2" >
       <property name="text" >
        <string>Description:</string>
       </property>
       <property name="wordWrap" >
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item row="2" column="1" >
      <widget class="QLineEdit" name="edDescription" >
       <property name="toolTip" >
        <string>some description of the label (optional)</string>
       </property>
       <property name="whatsThis" >
        <string>&lt;b>label description:&lt;/b>&lt;br>
Here you can enter some short text to describe the label.</string>
       </property>
      </widget>
     </item>
     <item row="1" column="0" >
      <widget class="QLabel" name="textLabel1" >
       <property name="text" >
        <string>Position:</string>
       </property>
       <property name="wordWrap" >
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item row="0" column="0" >
      <widget class="QLabel" name="textLabel1_2_2" >
       <property name="text" >
        <string>Index:</string>
       </property>
       <property name="wordWrap" >
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item row="0" column="1" >
      <widget class="QLineEdit" name="lblIndex" >
       <property name="enabled" >
        <bool>false</bool>
       </property>
       <property name="toolTip" >
        <string>index of the label</string>
       </property>
       <property name="whatsThis" >
        <string>&lt;b>label index&lt;/b>&lt;br>
This is just a numeric index of the label, starting with zero, sorted by position. Lower index means 'left', higher index means 'right'. You cannot change the index itself, but change the label's position.</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QFrame" name="frame5" >
     <property name="frameShape" >
      <enum>QFrame::NoFrame</enum>
     </property>
     <property name="frameShadow" >
      <enum>QFrame::Plain</enum>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" >
     <item>
      <widget class="QPushButton" name="btHelp" >
       <property name="enabled" >
        <bool>false</bool>
       </property>
       <property name="text" >
        <string>&amp;Help</string>
       </property>
       <property name="shortcut" >
        <string>Alt+H</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer>
       <property name="orientation" >
        <enum>Qt::Vertical</enum>
       </property>
       <property name="sizeType" >
        <enum>QSizePolicy::Expanding</enum>
       </property>
       <property name="sizeHint" >
        <size>
         <width>91</width>
         <height>21</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="btOK" >
       <property name="text" >
        <string>O&amp;K</string>
       </property>
       <property name="shortcut" >
        <string>Alt+K</string>
       </property>
       <property name="default" >
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="btCancel" >
       <property name="text" >
        <string>&amp;Cancel</string>
       </property>
       <property name="shortcut" >
        <string>Alt+C</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="10" margin="10" />
 <customwidgets>
  <customwidget>
   <class>SelectTimeWidget</class>
   <extends>QWidget</extends>
   <header>libgui/SelectTimeWidget.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>edDescription</tabstop>
  <tabstop>btHelp</tabstop>
  <tabstop>btOK</tabstop>
  <tabstop>btCancel</tabstop>
  <tabstop>lblIndex</tabstop>
  <tabstop>time</tabstop>
 </tabstops>
 <includes>
  <include location="local" >libgui/SelectTimeWidget.h</include>
 </includes>
 <resources/>
 <connections>
  <connection>
   <sender>btOK</sender>
   <signal>clicked()</signal>
   <receiver>LabelPropertiesWidgetBase</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel" >
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>btCancel</sender>
   <signal>clicked()</signal>
   <receiver>LabelPropertiesWidgetBase</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel" >
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>