Make colors pane consistent with others

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37830 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-03-02 10:27:51 +00:00
parent e40e402170
commit f098abd832

View File

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>406</width>
<height>322</height>
<width>426</width>
<height>261</height>
</rect>
</property>
<property name="contextMenuPolicy" >
@ -18,333 +18,299 @@
<property name="toolTip" >
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_1" >
<item row="0" column="0" >
<widget class="QGroupBox" name="fontcolorGB" >
<property name="title" >
<string>Font colors</string>
</property>
<property name="flat" >
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2" >
<property name="margin" >
<number>11</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="fontColorLA" >
<property name="text" >
<string>Main text:</string>
</property>
<property name="buddy" >
<cstring>fontColorPB</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>11</number>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<layout class="QVBoxLayout" name="verticalLayout_3" >
<item>
<widget class="QGroupBox" name="fontcolorGB" >
<property name="title" >
<string>Font colors</string>
</property>
<property name="flat" >
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QPushButton" name="fontColorPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>Default...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="delFontColorTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="fontColorLA" >
<property name="text" >
<string>Main text:</string>
</property>
<property name="buddy" >
<cstring>fontColorPB</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="fontColorPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>Default...</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QToolButton" name="delFontColorTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item row="0" column="3" >
<spacer>
<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="1" column="0" >
<widget class="QLabel" name="noteFontColorLA" >
<property name="text" >
<string>Greyed-out notes:</string>
</property>
<property name="buddy" >
<cstring>fontColorPB</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="noteFontColorPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>&amp;Change...</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QToolButton" name="delNoteFontColorTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item row="1" column="3" >
<spacer>
<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>
</item>
</layout>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="noteFontColorLA" >
<property name="text" >
<string>Greyed-out notes:</string>
</property>
<property name="buddy" >
<cstring>fontColorPB</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>11</number>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="backgroundGB" >
<property name="title" >
<string>Background colors</string>
</property>
<property name="flat" >
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QPushButton" name="noteFontColorPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>&amp;Change...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="delNoteFontColorTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" >
<widget class="QLabel" name="backgroundColorLA" >
<property name="text" >
<string>Page:</string>
</property>
<property name="buddy" >
<cstring>backgroundPB</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="backgroundPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>Default...</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QToolButton" name="delBackgroundTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item row="0" column="3" >
<spacer>
<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="1" column="0" >
<widget class="QLabel" name="boxBackgroundColorLA" >
<property name="text" >
<string>Shaded boxes:</string>
</property>
<property name="buddy" >
<cstring>backgroundPB</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="boxBackgroundPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>&amp;Change...</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QToolButton" name="delBoxBackgroundTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item row="1" column="3" >
<spacer>
<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>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" >
<widget class="QGroupBox" name="backgroundGB" >
<property name="title" >
<string>Background colors</string>
</property>
<property name="flat" >
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3" >
<item row="0" column="0" >
<widget class="QLabel" name="backgroundColorLA" >
<property name="text" >
<string>Page:</string>
</property>
<property name="buddy" >
<cstring>backgroundPB</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>11</number>
</property>
<item>
<widget class="QPushButton" name="backgroundPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>Default...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="delBackgroundTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item>
<spacer>
<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>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="boxBackgroundColorLA" >
<property name="text" >
<string>Shaded boxes:</string>
</property>
<property name="buddy" >
<cstring>backgroundPB</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<layout class="QHBoxLayout" name="_2" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>11</number>
</property>
<item>
<widget class="QPushButton" name="boxBackgroundPB" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip" >
<string>Click to change the color</string>
</property>
<property name="text" >
<string>&amp;Change...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="delBoxBackgroundTB" >
<property name="minimumSize" >
<size>
<width>23</width>
<height>23</height>
</size>
</property>
<property name="toolTip" >
<string>Revert the color to the default</string>
</property>
<property name="text" >
<string>R&amp;eset</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<property name="arrowType" >
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
<item>
<spacer>
<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>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>126</height>
</size>
</property>
</spacer>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>385</width>
<height>22</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>