Re: Interested in GSOC Project:

2013-05-11 Thread Hashini Senaratne
Hello Tommaso, > Just while we're at it, can't we also have an inset-specific vertical scrolling feature ? > > Shortly, instead of the boolean expanded/collapsed insert, also allow for a third scrollable state where > I show just a part of it, with the possibility to drag the size of the par

Re: Interested in GSOC Project:

2013-05-02 Thread Tommaso Cucinotta
On 26/04/13 04:53, Hashini Senaratne wrote: >> an horizontal scrollbar I apologize for not having followed the discussion so far. I'm replying to a random e-mail about the Horizontal Scrollbar just to drop a few extra-thoughts: Just while we're at it, can't we also have an inset-specific vertic

Re: Interested in GSOC Project:

2013-04-25 Thread Hashini Senaratne
Jean-Marc Lasgouttes lyx.org> writes: > To be frank, I do not know. Sometimes (I will write about it in another > thread to vary a bit) I think that an horizontal scrollbar for the whole > workarea would actually be enough (but anyway the effect should be > obtained through changes to TextMetri

Re: Interested in GSOC Project:

2013-04-24 Thread Jean-Marc Lasgouttes
21/04/2013 17:04, Hashini Senaratne: Hello Scott, I was trying to sliding too long Labels for the past few days. I was able to learn many new things about painting methods and still interested to proceed with this project. After figuring out how the partial slides of current tables have been imp

Re: Interested in GSOC Project:

2013-04-23 Thread Jean-Marc Lasgouttes
Le 23/04/2013 17:25, Hashini Senaratne a écrit : Thank you for this information. I will try to learn more about this. Here, do you prefer sliding row by row or slide the whole paragraph? I think it would be better if I try and get back to you. If a table is too large (or a snippet with multiple c

Re: Interested in GSOC Project:

2013-04-23 Thread Hashini Senaratne
Jean-Marc Lasgouttes lyx.org> writes: > What I would try personally is to look at TextMetrics::drawParagraph > (TextMetrics.cpp). There, you can test whether the cursor is in the row > one wants to paint, and whether its x_pos() is too large for the screen. > In this case you can, as a first ex

Re: Interested in GSOC Project:

2013-04-23 Thread Hashini Senaratne
Scott Kostyshak lyx.org> writes: > I think it is best not to duplicate conversations. People on this list > generally find what's meant for them. If they don't, feel free to bump > the email after a few days and explicitly CC them. Thank you Scott. I got your advice and hope to work with the appl

Re: Interested in GSOC Project:

2013-04-22 Thread Jean-Marc Lasgouttes
21/04/2013 17:04, Hashini Senaratne: Hello Scott, I was trying to sliding too long Labels for the past few days. I was able to learn many new things about painting methods and still interested to proceed with this project. After figuring out how the partial slides of current tables have been imp

Re: Interested in GSOC Project:

2013-04-22 Thread Scott Kostyshak
On Sun, Apr 21, 2013 at 11:04 AM, Hashini Senaratne wrote: > I was trying to sliding too long Labels for the past few days. I was able to > learn many new things about painting methods and still interested to proceed > with this project. After figuring out how the partial slides of current tables

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-21 Thread Hashini Senaratne
Hello Liviu, Liviu Andronic gmail.com> writes: > > Dear Hashini, > I think best would be to wait for Google Melange to open its > applications system to students, in about a day or so. Then you could > start preparing a first draft of your application there, and mentors > could give you feedback

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-21 Thread Liviu Andronic
Dear Hashini, On Sun, Apr 21, 2013 at 5:05 PM, Hashini Senaratne wrote: > Also, I like to apply for this GSoC project. I went through the student > application template that LyX has suggested. I like if I can submit it as a > Wiki where I can update and modify with accordance to work I may do. I

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-21 Thread Hashini Senaratne
Hello Jean, I was trying to sliding too long Labels for the past few days. I was able to learn many new things about painting methods and still interested to proceed with this project. After figuring out how the partial slides of current tables have been implemented (using the method void Inset

Re: Interested in GSOC Project:

2013-04-21 Thread Hashini Senaratne
Hello Scott, I was trying to sliding too long Labels for the past few days. I was able to learn many new things about painting methods and still interested to proceed with this project. After figuring out how the partial slides of current tables have been implemented (using the method void Inse

Re: Interested in GSoC Project

2013-04-15 Thread stefano franchi
Hi Rajat, welcome to thew Lyx community! There has been quite a bit of discussion on the list on how to implement horizontal scroll bars for tables. Here is a starting point: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg178012.html Feel free to ask any questions you may have as you pu

Interested in GSoC Project

2013-04-15 Thread Rajat Gupta
Hi I am Rajat Gupta , a first year CSE student at MIT , Manipal . I have decent knowledge of Qt .I am really interested in "Horizontal scrollbar for tables and math" project and would like to know more from the mentor about it and also a bit guidance how to start with it . Regards Rajat gupta

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-15 Thread Jean-Marc Lasgouttes
14/04/2013 15:53, Hashini Senaratne: Thank you for the explanation. That makes more sense for me. I think I fully understood your point 1 and 3. I want to make sure if I correctly understood what you have mentioned under point 2. "when the test cursor is moved to a place where it would not be vis

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-14 Thread Hashini Senaratne
Jean-Marc Lasgouttes lyx.org> writes: > > Could you please explain it to me? > > It would look like: > > 1/ implement the function slide_row_by__amount_xx (I do not know in what > unit the xx should be). > > 2/ when the test cursor is moved to a place where it would not be > visible, move a b

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-14 Thread Hashini Senaratne
Scott Kostyshak lyx.org> writes: > OK, sounds good. I will go through my disorganized dump of notes this > weekend and write up some descriptions of minor bugs. I'm sure I have > something related to UI, but not sure how related to the part of UI > you will need for the project. Then you can see i

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-12 Thread Scott Kostyshak
On Fri, Apr 12, 2013 at 10:48 AM, Hashini Senaratne wrote: > Scott Kostyshak lyx.org> writes: >> Yes, it will probably take a lot of time. I think that doing whatever >> is the most fun/ least frustrating to get to know the code is the >> best. That could mean trying to solve a small bug or just

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-12 Thread Jean-Marc Lasgouttes
Le 12/04/2013 17:47, Hashini Senaratne a écrit : I also thought before implement moving for several rows, we should start with a single row. You have mentioned that 'move the row when the cursor moves'. What I understood was, first we are going to try to move a row. But did you meant that the row

Re: Interested in GSOC Project:

2013-04-12 Thread Hashini Senaratne
Hello Pavel, Pavel Sanda lyx.org> writes: > Bingo, they are no way related to QT and I suspect they had .ui extension > before LyX had QT graphical frontend at all. > We do the layout manually in the code, search for strings like menu, toolbar > or shortcut in the code :) Thank you Pavel for the

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-12 Thread Hashini Senaratne
Hello Jean, Jean-Marc Lasgouttes lyx.org> writes: > > If we are going to implement the buttons, I think we need to indent a slight > > amount horizontally for one click? Is that the same idea that had in your > > mind? If the click on this button, shows us the end (edge) of the object, > > that

Re: Interested in GSOC Project:

2013-04-12 Thread Hashini Senaratne
Hello Cyrille, Cyrille Artho aist.go.jp> writes: > > > * have buttons with arrows in the left and right margin or (since > these margins are currently thin) maybe buttons that appear as > needed when the mouse if over the problematic inset. > >>> > >>> I think this option will not

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-12 Thread Hashini Senaratne
Hello Scott, Scott Kostyshak lyx.org> writes: > Commenting out lines of code sounds like a great technique for > learning. I had never thought about that! That was because I am new to this and could not identified specific places with related code. I will promise you that I will improve on this.

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-12 Thread Jean-Marc Lasgouttes
11/04/2013 17:15, Hashini Senaratne: Today I installed QT4 dev tools and QT4 designer. But when I tried to open the file /lib/ui/default.ui it gave an error: "The file /lib/ui/default.ui is not a valid Designer UI file. Do you want to update the file location or generate a new form?" If you have

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-12 Thread Jean-Marc Lasgouttes
12/04/2013 03:38, Cyrille Artho: If possible, I would favor reusing existing UI elements as much as possible (which probably means a Qt scroll bar). The reason for this is that a user instantly knows what to expect, and that the elements will have a look and feel that corresponds to the target pl

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Cyrille Artho
* have buttons with arrows in the left and right margin or (since these margins are currently thin) maybe buttons that appear as needed when the mouse if over the problematic inset. I think this option will not much user-friendly. Well, it requires to move the mouse to some particular place,

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Scott Kostyshak
On Thu, Apr 11, 2013 at 1:42 PM, Hashini Senaratne wrote: > I tried to go through the source code and tried to figure out how the > vertical scrollbar has been implemented. I think this would be a bit > difficult task, until I get familiar with the code. I was able to disable > some functionality

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Pavel Sanda
Hashini Senaratne wrote: > I noticed that the two files that I have mentioned are not in qt4 format > after opening them as text. What is the use of them and why they are in .ui > format? According to my thoughts, the main layout of the LyX document Bingo, they are no way related to QT and I suspe

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Hashini Senaratne
Hello again, Hashini Senaratne gmail.com> writes: > Today I installed QT4 development tools and the QT4 designer. I could open > all the files in /src/frontends/qt4/ui by using the designer. But I failed > to open two files using qt4 designer; > /development/attic/lyxled/ui/MainWindowUi.ui > and

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Hashini Senaratne
Hello Scott, Scott Kostyshak lyx.org> writes: > > On Wed, Apr 10, 2013 at 3:07 AM, Hashini Senaratne gmail.com> wrote: > > If you have some time could you please give me some more details about > > autotools that you are aware of, later. I do not want to keep on disturbing > > you. So, I prefer

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Hashini Senaratne
Hello Jean, Jean-Marc Lasgouttes lyx.org> writes: > I am not competent at all when it comes to Qt, but I suuspect that a lot > of work will be needed in our WorkArea widget to have it aware that it > contains other Qt widgets (the scrollbars) and pass the needed messages > (process paint events.

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-11 Thread Jean-Marc Lasgouttes
10/04/2013 13:19, Hashini Senaratne: * Inserting a real scrollbar (that is, a Qt widget) in our workarea may prove difficult. Moreover the scrollbar would take room in the documents. Alternatives include: Is not it possible to implement to have a horizontal scrollbar (real scrollbar) like the

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Hashini Senaratne
Hello Jean, Jean-Marc Lasgouttes lyx.org> writes: > If you think about it, a table that is too wide is to wide. There is not > much LyX can do about it. What LyX could do, though is to tell you about > it using some visual markers obtained by parsing the LaTeX log file and > looking for 'over

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Cyrille Artho
If you think about it, a table that is too wide is to wide. There is not much LyX can do about it. What LyX could do, though is to tell you about it using some visual markers obtained by parsing the LaTeX log file and looking for 'overfull \hbox' warnings. There is a LaTeX hack that one can use

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Jean-Marc Lasgouttes
10/04/2013 07:38, Scott Kostyshak: On Tue, Apr 9, 2013 at 11:38 PM, Hashini Senaratne wrote: As I can see, in LyX if we print (/view as pdf) a document with a too wide table, the extra part is going to be cut out in the output. This will happen even if a horizontal bar is created to access the

Re: Interested in GSOC Project:

2013-04-10 Thread Hashini Senaratne
Hello Cyrille, Cyrille Artho aist.go.jp> writes: > > Hi Hanshini, > (probably my mails don't make it to the list directly as I'm writing from a > different account) I can see your mails in the developers list. Sorry for the slow response. I will soon get attached to this process. > I think

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Scott Kostyshak
On Wed, Apr 10, 2013 at 3:07 AM, Hashini Senaratne wrote: > If you have some time could you please give me some more details about > autotools that you are aware of, later. I do not want to keep on disturbing > you. So, I prefer search by myself, before asking everything from you. Running './conf

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Hashini Senaratne
Hello Liviu, Liviu Andronic gmail.com> writes: > The following is a bug rather unerlated to the original project > proposal, but it's an 'easyfix': http://www.lyx.org/trac/ticket/7790 . > It already has some patches that need to be updated for current trunk. > > If you're looking for easy targe

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Hashini Senaratne
Thank you very much again. I was able to use CMake with your simple guidelines. Scott Kostyshak lyx.org> writes: > Most devs use autotools so I don't know if you need to know how to use > CMake but since you expressed interest, I'll give the steps. It is > recommended to build it out-of-source,

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-10 Thread Liviu Andronic
On Wed, Apr 10, 2013 at 8:51 AM, Cyrille Artho wrote: > Hi Hanshini, > (probably my mails don't make it to the list directly as I'm writing from a > different account) > I think your messages get to the list. > I think the width of elements in the output is a general issue that most > users are

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Cyrille Artho
Hi Hanshini, (probably my mails don't make it to the list directly as I'm writing from a different account) I think the width of elements in the output is a general issue that most users are aware of. Having visual feedback in LyX would be a nice enhancement of course. Still, I would not crea

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Liviu Andronic
Hello Hashini, Welcome to LyX! On Wed, Apr 10, 2013 at 5:38 AM, Hashini Senaratne wrote: > If possible, please introduce me some introductory bugs that are easy to > start with and related to this project. > The following is a bug rather unerlated to the original project proposal, but it's an 'e

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Hashini Senaratne
Hello Cyrille, Cyrille Artho aist.go.jp> writes: > > Hi Hanshini, > You actually identified another problem. The original proposal targets the > LyX user interface, where a table or formula may be too wide. > This is an issue with the resulting text (typeset by LaTeX). I think it is > possibl

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Liviu Andronic
On Wed, Apr 10, 2013 at 8:22 AM, Cyrille Artho wrote: > Hi Hanshini, > You actually identified another problem. The original proposal targets the > LyX user interface, where a table or formula may be too wide. > >> >> As I can see, in LyX if we print (/view as pdf) a document with a too wide >> ta

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Scott Kostyshak
On Wed, Apr 10, 2013 at 2:12 AM, Hashini Senaratne wrote: > I used 'make' command to compile the system and I will like to learn about > the both way. So I will do some search and get back to you if I fail after > my attempts. Most devs use autotools so I don't know if you need to know how to us

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Cyrille Artho
Hi Hanshini, You actually identified another problem. The original proposal targets the LyX user interface, where a table or formula may be too wide. As I can see, in LyX if we print (/view as pdf) a document with a too wide table, the extra part is going to be cut out in the output. This will

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Hashini Senaratne
Hello Scott, Thank you very much for the quick response. >Scott Kostyshak lyx.org> writes: > Glad to see that you are all set up. I also use Ubuntu. Note that > there are two ways to build LyX -- with autotools and with CMake. I used 'make' command to compile the system and I will like to lear

Re: Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Scott Kostyshak
On Tue, Apr 9, 2013 at 11:38 PM, Hashini Senaratne wrote: > Hello all, > > This is regarding some problems that I came up with while trying to proceed > with the mentioned project idea. Hope I can get some ideas and help from here. Hi Hashini, you found the right place. > I am interested with th

Interested in GSOC Project: "Horizontal scrollbar for tables and math" and Some problems regarding the project

2013-04-09 Thread Hashini Senaratne
Hello all, This is regarding some problems that I came up with while trying to proceed with the mentioned project idea. Hope I can get some ideas and help from here. I am a Computer Science and Engineering undergraduate of University of Moratuwa, Sri Lanka. I have the programming experience with