commit 64edb7a19629fd2d27a4e7415b58ef7f4bf1a6e1 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Thu Jun 11 11:29:11 2020 +0200
UI improvement to math matrix dialog, suggested by magistere (#11888) --- src/frontends/qt/ui/MathMatrixUi.ui | 252 +++++++++++++++-------------------- 1 files changed, 110 insertions(+), 142 deletions(-) diff --git a/src/frontends/qt/ui/MathMatrixUi.ui b/src/frontends/qt/ui/MathMatrixUi.ui index 8da4fd9..04af996 100644 --- a/src/frontends/qt/ui/MathMatrixUi.ui +++ b/src/frontends/qt/ui/MathMatrixUi.ui @@ -17,6 +17,115 @@ <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> + <item row="2" column="0" colspan="2"> + <widget class="QGroupBox" name="alignmentGB"> + <property name="title"> + <string>Alignment</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QGridLayout" name="grid_1"> + <property name="leftMargin"> + <number>11</number> + </property> + <property name="topMargin"> + <number>11</number> + </property> + <property name="rightMargin"> + <number>11</number> + </property> + <property name="bottomMargin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <item row="1" column="1"> + <widget class="QLineEdit" name="halignED"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Horizontal alignment per column (l,c,r)</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="valignLA"> + <property name="text"> + <string>&Vertical:</string> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>valignCO</cstring> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QComboBox" name="valignCO"> + <property name="toolTip"> + <string>Vertical alignment</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="widthLA_2"> + <property name="text"> + <string>Hori&zontal:</string> + </property> + <property name="buddy"> + <cstring>halignED</cstring> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="3" column="1" colspan="2"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QGroupBox" name="decorationtGB"> + <property name="title"> + <string>Appearance</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QGridLayout" name="grid_2"> + <item row="0" column="0"> + <widget class="QLabel" name="typeLA"> + <property name="text"> + <string>&Type:</string> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>decorationCO</cstring> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QComboBox" name="decorationCO"> + <property name="toolTip"> + <string>decoration type / matrix border</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> <item row="0" column="0" colspan="3"> <layout class="QHBoxLayout"> <property name="spacing"> @@ -110,7 +219,7 @@ </item> </layout> </item> - <item row="1" column="0" colspan="2"> + <item row="1" column="0" colspan="3"> <widget class="EmptyTable" name="table" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> @@ -123,147 +232,6 @@ </property> </widget> </item> - <item row="1" column="2"> - <spacer> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="2" column="0"> - <spacer> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="3" column="0" colspan="2"> - <widget class="QGroupBox" name="alignmentGB"> - <property name="title"> - <string>Alignment</string> - </property> - <property name="flat"> - <bool>true</bool> - </property> - <layout class="QGridLayout" name="grid_1"> - <property name="leftMargin"> - <number>11</number> - </property> - <property name="topMargin"> - <number>11</number> - </property> - <property name="rightMargin"> - <number>11</number> - </property> - <property name="bottomMargin"> - <number>11</number> - </property> - <property name="spacing"> - <number>6</number> - </property> - <item row="1" column="0"> - <widget class="QComboBox" name="valignCO"> - <property name="toolTip"> - <string>Vertical alignment</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="valignLA"> - <property name="text"> - <string>&Vertical:</string> - </property> - <property name="alignment"> - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - <property name="buddy"> - <cstring>valignCO</cstring> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="halignED"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Horizontal alignment per column (l,c,r)</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="widthLA_2"> - <property name="text"> - <string>Hori&zontal:</string> - </property> - <property name="buddy"> - <cstring>halignED</cstring> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item row="3" column="2"> - <widget class="QGroupBox" name="decorationtGB"> - <property name="title"> - <string>Appearance</string> - </property> - <property name="flat"> - <bool>true</bool> - </property> - <layout class="QGridLayout" name="grid_2"> - <item row="0" column="0"> - <widget class="QLabel" name="typeLA"> - <property name="text"> - <string>&Type:</string> - </property> - <property name="alignment"> - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - <property name="buddy"> - <cstring>decorationCO</cstring> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QComboBox" name="decorationCO"> - <property name="toolTip"> - <string>decoration type / matrix border</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item row="4" column="1" colspan="2"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - </item> </layout> </widget> <customwidgets> -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs