Skip to content

Commit

Permalink
Compacting Section Break Inspector
Browse files Browse the repository at this point in the history
It is way too wide (depending on translation too), and so easy to miss the input field for the Pause property
  • Loading branch information
Jojo-Schmitz committed Mar 2, 2021
1 parent 0e9870b commit bdc97db
Showing 1 changed file with 64 additions and 45 deletions.
109 changes: 64 additions & 45 deletions mscore/inspector/inspector_sectionbreak.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>398</width>
<height>157</height>
<width>185</width>
<height>131</height>
</rect>
</property>
<property name="accessibleName">
Expand Down Expand Up @@ -76,72 +76,95 @@
<property name="spacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Pause:</string>
<item row="3" column="0" colspan="3">
<widget class="QCheckBox" name="startWithMeasureOne">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="buddy">
<cstring>pause</cstring>
<property name="text">
<string>Measure number one</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="Ms::ResetButton" name="resetStartWithMeasureOne" native="true">
<item row="0" column="1">
<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="3">
<widget class="Ms::ResetButton" name="resetPause" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Reset 'Start new section with measure number one' value</string>
<string>Reset 'Pause' value</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="pause">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Pause:</string>
</property>
<property name="buddy">
<cstring>pause</cstring>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="Ms::ResetButton" name="resetStartWithLongNames" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Pause</string>
</property>
<property name="suffix">
<string>s</string>
<string>Reset 'Start new section with long instrument names' value</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="Ms::ResetButton" name="resetPause" native="true">
<item row="3" column="3">
<widget class="Ms::ResetButton" name="resetStartWithMeasureOne" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Reset 'Pause' value</string>
<string>Reset 'Start new section with measure number one' value</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="startWithMeasureOne">
<item row="4" column="3">
<widget class="Ms::ResetButton" name="resetFirstSystemIndentation" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Start new section with measure number one</string>
<property name="accessibleName">
<string>Reset 'Start new section with long instrument names' value</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="startWithLongNames">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
Expand All @@ -150,44 +173,40 @@
</sizepolicy>
</property>
<property name="text">
<string>Start new section with long instrument names</string>
<string>Long instrument names</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="Ms::ResetButton" name="resetStartWithLongNames" native="true">
<item row="0" column="2">
<widget class="QDoubleSpinBox" name="pause">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Reset 'Start new section with long instrument names' value</string>
<string>Pause</string>
</property>
<property name="suffix">
<string>s</string>
</property>
</widget>
</item>
<item row="3" column="0">
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="firstSystemIndentation">
<property name="text">
<string>Start new section with first system indentation</string>
<string>First system indentation</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="Ms::ResetButton" name="resetFirstSystemIndentation" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="accessibleName">
<string>Reset 'Start new section with long instrument names' value</string>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Start new section with:</string>
</property>
</widget>
</item>

</layout>
</widget>
</item>
Expand Down

0 comments on commit bdc97db

Please sign in to comment.