Hello all,

I have figured out that the code responsible for sliding the tables
partially (to give a solution to too large tables) under
InsetTabulartables.cpp.If I have correctly identified, this code lies within
the method void InsetTabular::resetPos(Cursor & cur) const. Please correct
me if it is not. Also as I noticed scx_ is the mutable int used to handle
this issue (defined in InsetTabulartables.h)

I tried to use the same method (by defining scx_ and using the case
LFUN_MOUSE_PRESS under doDispatch(Cursor & cur, FuncRequest & cmd) method)
to slide a Label (insetLabel.cpp). But the label got duplicated which
appeared below the original label. I cannot assure if the label gets slide
horizontally as I coded. But the new label was not actually aligned with the
old one. I want to identify what has happened.
If possible please give me some details about scx_ variable used in
InsetTabulartables.cpp (how it works) and also about some related details
about the method doDispatch.


In EmptyTable.cpp I noticed a method has been commented. That is "void
EmptyTable::mouseMoveEvent(QMouseEvent *ev)". Are not these QMouseEvents use
in the current versions of LyX?

Thank you
Hashini

Reply via email to