soundboard/ui/settings.ui

180 lines
4.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Settings</class>
<widget class="QDialog" name="Settings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>409</width>
<height>285</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>SoundboardSettings</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>30</x>
<y>240</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Reset|QDialogButtonBox::Save</set>
</property>
</widget>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>381</width>
<height>221</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<layout class="QHBoxLayout" name="audioFolderRow">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QLabel" name="audioFolderLabel">
<property name="text">
<string>Audio Folder:</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="audioFolder">
<property name="text">
<string>Choose</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="masterVolumeRow">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QLabel" name="masterVolumeLabel">
<property name="text">
<string>Master Volume: 100%</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="masterVolume">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum">
<number>200</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>Settings</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>Settings</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>audioFolder</sender>
<signal>clicked()</signal>
<receiver>Settings</receiver>
<slot>selectAudioPath()</slot>
<hints>
<hint type="sourcelabel">
<x>282</x>
<y>65</y>
</hint>
<hint type="destinationlabel">
<x>285</x>
<y>118</y>
</hint>
</hints>
</connection>
<connection>
<sender>masterVolume</sender>
<signal>valueChanged(int)</signal>
<receiver>Settings</receiver>
<slot>masterVolumeChange(int)</slot>
<hints>
<hint type="sourcelabel">
<x>305</x>
<y>176</y>
</hint>
<hint type="destinationlabel">
<x>363</x>
<y>206</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>selectAudioPath()</slot>
<slot>masterVolumeChange(int)</slot>
</slots>
</ui>