soundboard/ui/editsample.ui

198 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EditSample</class>
<widget class="QDialog" name="EditSample">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>465</width>
<height>320</height>
</rect>
</property>
<property name="windowTitle">
<string>Edit Sample</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="SoundView" name="graphicsView" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="currentposLayout">
<item>
<widget class="QLabel" name="currentPosLabel">
<property name="text">
<string>Current: </string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="starttoCurrentButton">
<property name="text">
<string>SetStart</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="stoptoCurrentButton">
<property name="text">
<string>SetStop</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="timeRow">
<item>
<widget class="QLabel" name="startlabel">
<property name="text">
<string>Start:</string>
</property>
</widget>
</item>
<item>
<widget class="QTimeEdit" name="startTime">
<property name="displayFormat">
<string>mm:ss.z</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lengthlabel">
<property name="text">
<string>Length:</string>
</property>
</widget>
</item>
<item>
<widget class="QTimeEdit" name="lengthTime">
<property name="displayFormat">
<string>mm:ss.z</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="soundOutputselectLayout">
<item>
<widget class="QLabel" name="soundOutputselectLabel">
<property name="text">
<string>AudioDevice:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="soundOutputselect">
<property name="editable">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="buttonLayout">
<item>
<widget class="QPushButton" name="playButton">
<property name="text">
<string>Play</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="stopButton">
<property name="text">
<string>Stop</string>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
</property>
<property name="centerButtons">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>SoundView</class>
<extends>QWidget</extends>
<header>soundview.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>EditSample</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>257</x>
<y>305</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>EditSample</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>325</x>
<y>305</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>stopButton</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>407</x>
<y>299</y>
</hint>
<hint type="destinationlabel">
<x>132</x>
<y>301</y>
</hint>
</hints>
</connection>
</connections>
</ui>