Skip to content

Commit b13bd58

Browse files
committed
Use correct spinbox for corner radius
1 parent ab71a5b commit b13bd58

File tree

2 files changed

+33
-36
lines changed

2 files changed

+33
-36
lines changed

src/notation/view/widgets/editstyle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ EditStyle::EditStyle(QWidget* parent)
11961196
connect(resetTextStyleFrameBorderRadius, &QToolButton::clicked, this, [=]() {
11971197
resetTextStyle(TextStylePropertyType::FrameRound);
11981198
});
1199-
connect(textStyleFrameBorderRadius, &QDoubleSpinBox::valueChanged, this, [=]() {
1199+
connect(textStyleFrameBorderRadius, &QSpinBox::valueChanged, this, [=]() {
12001200
textStyleValueChanged(TextStylePropertyType::FrameRound, textStyleFrameBorderRadius->value());
12011201
});
12021202

src/notation/view/widgets/editstyle.ui

Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
</sizepolicy>
246246
</property>
247247
<property name="currentIndex">
248-
<number>5</number>
248+
<number>38</number>
249249
</property>
250250
<widget class="QWidget" name="PageScore">
251251
<layout class="QVBoxLayout" name="verticalLayout_20">
@@ -280,8 +280,8 @@
280280
<rect>
281281
<x>0</x>
282282
<y>0</y>
283-
<width>408</width>
284-
<height>517</height>
283+
<width>652</width>
284+
<height>710</height>
285285
</rect>
286286
</property>
287287
<layout class="QVBoxLayout" name="verticalLayout_10">
@@ -924,8 +924,8 @@
924924
<rect>
925925
<x>0</x>
926926
<y>0</y>
927-
<width>409</width>
928-
<height>1110</height>
927+
<width>641</width>
928+
<height>1560</height>
929929
</rect>
930930
</property>
931931
<layout class="QVBoxLayout" name="verticalLayout_72">
@@ -3227,8 +3227,8 @@
32273227
<rect>
32283228
<x>0</x>
32293229
<y>0</y>
3230-
<width>664</width>
3231-
<height>592</height>
3230+
<width>716</width>
3231+
<height>731</height>
32323232
</rect>
32333233
</property>
32343234
<layout class="QVBoxLayout" name="verticalLayout_9">
@@ -4534,8 +4534,8 @@
45344534
<rect>
45354535
<x>0</x>
45364536
<y>0</y>
4537-
<width>268</width>
4538-
<height>527</height>
4537+
<width>656</width>
4538+
<height>720</height>
45394539
</rect>
45404540
</property>
45414541
<layout class="QVBoxLayout" name="verticalLayout_38">
@@ -5337,8 +5337,8 @@
53375337
<rect>
53385338
<x>0</x>
53395339
<y>0</y>
5340-
<width>401</width>
5341-
<height>583</height>
5340+
<width>641</width>
5341+
<height>787</height>
53425342
</rect>
53435343
</property>
53445344
<layout class="QVBoxLayout" name="verticalLayout_67">
@@ -6060,8 +6060,8 @@
60606060
<rect>
60616061
<x>0</x>
60626062
<y>0</y>
6063-
<width>365</width>
6064-
<height>408</height>
6063+
<width>595</width>
6064+
<height>560</height>
60656065
</rect>
60666066
</property>
60676067
<layout class="QGridLayout" name="gridLayout_54" rowstretch="0,0,0,2">
@@ -6948,8 +6948,8 @@
69486948
<rect>
69496949
<x>0</x>
69506950
<y>0</y>
6951-
<width>459</width>
6952-
<height>494</height>
6951+
<width>656</width>
6952+
<height>720</height>
69536953
</rect>
69546954
</property>
69556955
<layout class="QVBoxLayout" name="verticalLayout_68">
@@ -10453,8 +10453,8 @@
1045310453
<rect>
1045410454
<x>0</x>
1045510455
<y>0</y>
10456-
<width>482</width>
10457-
<height>543</height>
10456+
<width>725</width>
10457+
<height>785</height>
1045810458
</rect>
1045910459
</property>
1046010460
<layout class="QVBoxLayout" name="verticalLayout_64" stretch="0,0,2">
@@ -12042,8 +12042,8 @@ followed by dashes</string>
1204212042
<rect>
1204312043
<x>0</x>
1204412044
<y>0</y>
12045-
<width>362</width>
12046-
<height>543</height>
12045+
<width>650</width>
12046+
<height>708</height>
1204712047
</rect>
1204812048
</property>
1204912049
<layout class="QVBoxLayout" name="verticalLayout_40">
@@ -12704,16 +12704,6 @@ followed by dashes</string>
1270412704
</property>
1270512705
</widget>
1270612706
</item>
12707-
<item row="4" column="1">
12708-
<widget class="QDoubleSpinBox" name="textStyleFrameBorderRadius">
12709-
<property name="keyboardTracking">
12710-
<bool>false</bool>
12711-
</property>
12712-
<property name="decimals">
12713-
<number>0</number>
12714-
</property>
12715-
</widget>
12716-
</item>
1271712707
<item row="1" column="2">
1271812708
<widget class="QToolButton" name="resetTextStyleFrameBackground">
1271912709
<property name="toolTip">
@@ -12836,6 +12826,13 @@ followed by dashes</string>
1283612826
</property>
1283712827
</widget>
1283812828
</item>
12829+
<item row="4" column="1">
12830+
<widget class="QSpinBox" name="textStyleFrameBorderRadius">
12831+
<property name="keyboardTracking">
12832+
<bool>false</bool>
12833+
</property>
12834+
</widget>
12835+
</item>
1283912836
</layout>
1284012837
</widget>
1284112838
</item>
@@ -13202,6 +13199,12 @@ followed by dashes</string>
1320213199
</layout>
1320313200
</widget>
1320413201
<customwidgets>
13202+
<customwidget>
13203+
<class>muse::uicomponents::RadioButtonGroupBox</class>
13204+
<extends>QGroupBox</extends>
13205+
<header>uicomponents/view/widgets/radiobuttongroupbox.h</header>
13206+
<container>1</container>
13207+
</customwidget>
1320513208
<customwidget>
1320613209
<class>Awl::ColorLabel</class>
1320713210
<extends>QPushButton</extends>
@@ -13226,12 +13229,6 @@ followed by dashes</string>
1322613229
<header>notation/view/widgets/alignSelect.h</header>
1322713230
<container>1</container>
1322813231
</customwidget>
13229-
<customwidget>
13230-
<class>muse::uicomponents::RadioButtonGroupBox</class>
13231-
<extends>QGroupBox</extends>
13232-
<header>uicomponents/view/widgets/radiobuttongroupbox.h</header>
13233-
<container>1</container>
13234-
</customwidget>
1323513232
</customwidgets>
1323613233
<tabstops>
1323713234
<tabstop>pageList</tabstop>

0 commit comments

Comments
 (0)