Maybe that attached image was too big, here's a pointer:
http://oss.sgi.com/~nathans/vertical.png
On Wed, 2007-10-24 at 12:21 +1000, Nathan Scott wrote:
> On Wed, 2007-10-24 at 02:37 +0200, Olivier Tarnus wrote:
> > Hi Nathan,
> >
> > nscott@xxxxxxxxxx wrote:
> > >> Regarding the horizontal splitting, you're close to it ;-) I've a
> > >> working prototype that load a row option for each chart and load it to a
> > >> corresponding horizontal QSplitter that is child of the vertical
> > >> splitter. This let user split each row by an arbitrary number. Chart
> > >> addition/deletion is now working great. The row is actually a number,
> > >> but I'll try to make it text to simplify usage and loading of multiple
> > >> views.
> > >>
> > >> I've not worked on the time axis for the moment.
> > >>
> > >
> > > Hmm. It does seem to me that vertical-inside-of-horizontal is a better
> > > way
> > > to go than horizontal-inside-of-vertical ... but it will be good to have a
> > > look
> > > at your prototype and try it out, as its much easier to get a feel for
> > > these sort
> > > of things when you can interact with the thing.
> > >
> > Well actually the design is an array of horizontal qsplitters inside a
> > vertical qsplitter. This enable to split rows differently, but becomes
> > more tricky regarding the timeline...
> > If we have 4 rows with different number of graphs, should I add 4 rows
> > of timelines at the bottom? This seems not practical.
>
> Attached image is a mock-up of how I imagine this feature should look.
> This could be done with a single horizonal QSplitter and multiple
> vertical QSplitter children of that single horizonal splitter. That
> would allow the height and width of all charts to be independently
> resized, while still maintaining the (critical) functionality that is
> the vertical alignment of multiple charts with a time axis.
>
> The New/Edit Tab dialog would need a "Columns:" label+spinbox, and that
> would drive the number of vertical resize handles (number of vertical
> QSplitters within the one horizonal QSplitter.
>
> > I will try with grids...
>
> Hmm, they don't give the little handles for the user to resize however
> they want, do they? Not sure.
>
> > Attached, a patch that add a label containing value and time at the
> > pointer when a graph is clicked. The label is below the timeline.
>
> Sounds good - will take a look.
>
> cheers.
>
> --
> Nathan
|