MuseScore/mscore/synthcontrol.ui
Eric Fontaine 3d7b3f781c fix #182546 #182176 Move Metronome to PlayPanel
Moving the Metronome out of the Synth and into the PlayPanel fixes two problem:

182176 Synthesizer Metronome button not lined up with Metronome vol slider if adjust right edge of window.
182546 Metronome's volume and it's mute status are not saved/loaded from score or default.

Moved the metronome button and count-in button to be under the metronome volume slider.
2017-03-20 14:59:22 -04:00

338 lines
9.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SynthControl</class>
<widget class="QWidget" name="SynthControl">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>602</width>
<height>407</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="windowTitle">
<string>Synthesizer</string>
</property>
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0">
<property name="leftMargin">
<number>10</number>
</property>
<property name="horizontalSpacing">
<number>10</number>
</property>
<item row="2" column="0">
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="3">
<widget class="QPushButton" name="storeButton">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="text">
<string>Set as Default</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="saveButton">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="toolTip">
<string>Save to score</string>
</property>
<property name="text">
<string>Save to Score</string>
</property>
</widget>
</item>
<item row="0" column="2">
<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>
<item row="0" column="1">
<widget class="QPushButton" name="loadButton">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="toolTip">
<string>Load from score</string>
</property>
<property name="text">
<string>Load from Score</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="recallButton">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="text">
<string>Load Default</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" rowspan="3">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="Awl::MeterSlider" name="gain" native="true">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="statusTip">
<string>Master volume</string>
</property>
<property name="accessibleName">
<string>Master volume</string>
</property>
<property name="accessibleDescription">
<string>Use up and down arrows to modify</string>
</property>
<property name="channel" stdset="0">
<number>2</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Vol</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="masterEffectsTab">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<attribute name="title">
<string>Master Effects</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
<item row="1" column="0" colspan="6">
<widget class="QStackedWidget" name="effectStackA">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Effect B:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="effectA">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Effect A</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="6">
<widget class="QStackedWidget" name="effectStackB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Effect A:</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QComboBox" name="effectB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Effect B</string>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_4">
<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>
</widget>
<widget class="QWidget" name="tab">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<attribute name="title">
<string>Tuning</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_39">
<property name="text">
<string>Master tuning:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="masterTuning">
<property name="accessibleName">
<string>Master tuning</string>
</property>
<property name="accessibleDescription">
<string>Hertz</string>
</property>
<property name="suffix">
<string extracomment="Frequency Herz">Hz</string>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>300.000000000000000</double>
</property>
<property name="maximum">
<double>600.000000000000000</double>
</property>
<property name="value">
<double>440.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>275</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>127</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="changeTuningButton">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="text">
<string>Change Tuning</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Awl::Slider</class>
<extends>QWidget</extends>
<header>awl/slider.h</header>
</customwidget>
<customwidget>
<class>Awl::VolSlider</class>
<extends>Awl::Slider</extends>
<header>awl/volslider.h</header>
</customwidget>
<customwidget>
<class>Awl::MeterSlider</class>
<extends>Awl::VolSlider</extends>
<header>awl/mslider.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>effectA</tabstop>
<tabstop>effectB</tabstop>
<tabstop>masterTuning</tabstop>
<tabstop>changeTuningButton</tabstop>
<tabstop>gain</tabstop>
<tabstop>saveButton</tabstop>
<tabstop>loadButton</tabstop>
<tabstop>storeButton</tabstop>
<tabstop>recallButton</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>