Skip to content

Commit

Permalink
fix #17588: Place border around colour boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jul 30, 2012
1 parent 06bcedd commit a625599
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 5 deletions.
2 changes: 1 addition & 1 deletion awl/colorlabel.cpp
Expand Up @@ -95,7 +95,7 @@ void ColorLabel::mousePressEvent(QMouseEvent*)
if (_pixmap)
return;
QColor c = QColorDialog::getColor(_color, this,
tr("MuseScore: select color"),
tr("MuseScore: Select Color"),
QColorDialog::ShowAlphaChannel
);
if (c.isValid()) {
Expand Down
3 changes: 3 additions & 0 deletions mscore/element.ui
Expand Up @@ -240,6 +240,9 @@
<property name="toolTip">
<string notr="true"/>
</property>
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item row="0" column="5">
Expand Down
6 changes: 5 additions & 1 deletion mscore/inspector_element.ui
Expand Up @@ -139,7 +139,11 @@
</widget>
</item>
<item row="0" column="1">
<widget class="Awl::ColorLabel" name="color"/>
<widget class="Awl::ColorLabel" name="color">
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="visible">
Expand Down
6 changes: 5 additions & 1 deletion mscore/inspector_group_element.ui
Expand Up @@ -53,7 +53,11 @@
</widget>
</item>
<item row="0" column="0">
<widget class="Awl::ColorLabel" name="color"/>
<widget class="Awl::ColorLabel" name="color">
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="setVisible">
Expand Down
3 changes: 3 additions & 0 deletions mscore/lineproperties.ui
Expand Up @@ -112,6 +112,9 @@
<height>0</height>
</size>
</property>
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item>
Expand Down
12 changes: 10 additions & 2 deletions mscore/prefsdialog.ui
Expand Up @@ -683,7 +683,11 @@
<number>0</number>
</property>
<item>
<widget class="Awl::ColorLabel" name="bgColorLabel"/>
<widget class="Awl::ColorLabel" name="bgColorLabel">
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
</layout>
</item>
Expand Down Expand Up @@ -734,7 +738,11 @@
<number>0</number>
</property>
<item>
<widget class="Awl::ColorLabel" name="fgColorLabel"/>
<widget class="Awl::ColorLabel" name="fgColorLabel">
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
</layout>
</item>
Expand Down
9 changes: 9 additions & 0 deletions mscore/textproperties.ui
Expand Up @@ -500,6 +500,9 @@
<property name="toolTip">
<string>text color</string>
</property>
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item>
Expand Down Expand Up @@ -912,13 +915,19 @@
<property name="toolTip">
<string>frame color</string>
</property>
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Awl::ColorLabel" name="frameColor">
<property name="toolTip">
<string>frame color</string>
</property>
<property name="frameShape">
<set>QFrame::Box</set>
</property>
</widget>
</item>
<item row="2" column="2">
Expand Down

0 comments on commit a625599

Please sign in to comment.