]> git.lyx.org Git - features.git/commit
Implement GUI for fixed size math delimiters (by Enrico Forestieri and me):
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 7 May 2006 10:51:19 +0000 (10:51 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 7 May 2006 10:51:19 +0000 (10:51 +0000)
commitb6c3478eda7703baff04c4e885f810a523cf283b
tree491b58b3bc586e35676f5f8f702847146ea3d1d0
parent123cc28dba5f8261fc6aa7c0b213127fbebd1a50
Implement GUI for fixed size math delimiters (by Enrico Forestieri and me):
* src/lfuns.h
(enum kb_action): New lfun LFUN_MATH_BIGDELIM

* src/LyXAction.C
(void LyXAction::init): New lfun LFUN_MATH_BIGDELIM

* src/mathed/math_nestinset.C
(void MathNestInset::doDispatch): remove debug message
(void MathNestInset::doDispatch): remove LFUN_MATH_DELIM test for
multiple cells (now in getStatus)
(void MathNestInset::doDispatch): Handle LFUN_MATH_BIGDELIM
(bool MathNestInset::getStatus): Disable LFUN_MATH_DELIM and
LFUN_MATH_BIGDELIM when the selection spans multiple cells

* src/frontends/qt3/ui/QDelimiterDialogBase.ui
Added a combobox for selecting delimiter size.

* src/frontends/qt3/QDelimiterDialog.[Ch]
(fix_name, QDelimiterDialog, insertClicked, size_selected):
Allow for fixed size delimiters.

* src/frontends/gtk/GMathDelim.C: Add FIXME commnent for fixed size
delimiters
* src/frontends/qt4/QDelimiterDialog.C: ditto
* src/frontends/xforms/FormMathsDelim.C: ditto

* src/frontends/controllers/ControlMath.[Ch]:
Added dispatchBigDelim() to deal with fixed size delimiters.

* src/text3.C
(void LyXText::dispatch): Handle LFUN_MATH_BIGDELIM
(bool LyXText::getStatus): ditto

* src/ToolbarBackend.C
(string const ToolbarBackend::getIcon): Handle LFUN_MATH_BIGDELIM

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13806 a592a061-630c-0410-9148-cb99ea01b6c8
13 files changed:
src/LyXAction.C
src/ToolbarBackend.C
src/frontends/controllers/ControlMath.C
src/frontends/controllers/ControlMath.h
src/frontends/gtk/GMathDelim.C
src/frontends/qt3/QDelimiterDialog.C
src/frontends/qt3/QDelimiterDialog.h
src/frontends/qt3/ui/QDelimiterDialogBase.ui
src/frontends/qt4/QDelimiterDialog.C
src/frontends/xforms/FormMathsDelim.C
src/lfuns.h
src/mathed/math_nestinset.C
src/text3.C