Re: QTabular.ui

2002-11-04 Thread Juergen Vigna
Jean-Marc Lasgouttes wrote:

"Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:




Dekel> 3) If a minipage is really needed in a cell, it can be added
Dekel> manually with Insert->minipage (although the user will need to
Dekel> manually match its width to the width of the column).

This is what I thought too. Of course, while reading the source, I
found some similar support for \parbox, and this one cannot go away
(yet).


Well you may add a minipage manually in each cell, but the WYSIWYG is
not so nice then clicking on the button and then if you add that by
hand you will have a minipage inside a parbox in some cases, I don't
think this is so nice to have. In the way I did it you have a nicer
View (without a lot of insets inside insets which are hard to see in
tabular cells especially if you have to use a lot) and also the minipage
substitues the parbox in this way while this is not done (and cannot be
done) if you remove that checkbox. One more think _if_ you nevertheless
opt for removing it you will have to handle the old fileformat and insert
the minipage insets in every cell which required it). So the work is
not done by only removing that button, but you have to do something
more!

 Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._




Re: QTabular.ui

2002-11-04 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> 3) If a minipage is really needed in a cell, it can be added
Dekel> manually with Insert->minipage (although the user will need to
Dekel> manually match its width to the width of the column).

This is what I thought too. Of course, while reading the source, I
found some similar support for \parbox, and this one cannot go away
(yet).

JMarc



Re: QTabular.ui

2002-11-03 Thread Dekel Tsur
On Tue, Oct 29, 2002 at 10:22:02AM +0100, Jean-Marc Lasgouttes wrote:
> > "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
> 
> Juergen> (except the OK and Apply buttons and the missing [obsolete?]
> Juergen> Minipage checkbox). 
> 
> What is this 'use minipage' thing anyway? Shouldn't we get rid of it?

It adds a minipage in cell in a fixed width column, where the width of the
minipage is the width of the column.
For example,

\begin{tabular}{p{5cm}}
cell without 'use minipage'
\\
\begin{minipage}[t]{5cm}
cell with 'use minipage'
\end{minipage}
\end{tabular}

I'm not sure why this is needed:
1) It seems that the only use for this is to have footnotes in a cell,
   and have the footnote text in bottom of the cell.
2) Adding a minipage will mess up the vertical spacing of the cell.
3) If a minipage is really needed in a cell, it can be added manually
with Insert->minipage (although the user will need to manually match its width
to the width of the column).



Re: QTabular.ui

2002-10-29 Thread John Levon
On Tue, Oct 29, 2002 at 11:47:28PM +0100, Juergen Spitzmueller wrote:

> Like this? (Attached)

applied. thanks a lot.

> [1] I do not like "Input". I'd rather have a "Paths" section. But I do not 
> know where to put the "Date Format" (in Input->Misc). What is this actually?
> (I hate "Misc" sections btw.).

Misc is a very good sign the UI is fucked up :)

btw, since we don't have to use that awful tabs-in-tabs thing, we can
take a much more fine-grained approach to splitting things up. We should
also give some serious consideration to an "Advanced" section. This is
also usually not a good idea, but in LyX's case, I think it's
acceptable (e.g. defining formats etc.)

regards
john

-- 
""All the people we like are We, and everyone else is They."
- Kipling



Re: QTabular.ui

2002-10-29 Thread John Levon
On Wed, Oct 30, 2002 at 12:05:19AM +0100, Juergen Spitzmueller wrote:

> Shure, I saw that. The question is how you will invoke them. With qfontdialog, 
> this might be a simple "Choose..." button which opens the font dialog.
> With qcolordialog too, but you somehow have to display the color of the 
> selected element _in_ the prefs dialog. KMail, for instance, shows the colors 
> in the browser (beneath the item).

I think it's a QFrame with its foreground set.

john
-- 
""All the people we like are We, and everyone else is They."
- Kipling



Re: QTabular.ui

2002-10-29 Thread Juergen Spitzmueller
John Levon wrote:
> http://doc.trolltech.com/3.0/qcolordialog.html
> http://doc.trolltech.com/3.0/qfontdialog.html
>
> both pretty easy to use I suppose.

Shure, I saw that. The question is how you will invoke them. With qfontdialog, 
this might be a simple "Choose..." button which opens the font dialog.
With qcolordialog too, but you somehow have to display the color of the 
selected element _in_ the prefs dialog. KMail, for instance, shows the colors 
in the browser (beneath the item).

Jürgen.



Re: QTabular.ui

2002-10-29 Thread Juergen Spitzmueller
John Levon wrote:
> Hmm. I'd far prefer a hierarchical set of entries in the left, like KDE
> kcontrol etc.

That's fine with me (this is qlistview, isn't it?).

Jürgen.



Re: QTabular.ui

2002-10-29 Thread John Levon
On Tue, Oct 29, 2002 at 11:47:28PM +0100, Juergen Spitzmueller wrote:

> I'm on it. It has a main dialog with a list browser and embeds modules (like 
> Edwin's document dialog). Most embeded modules have tabfolders (the 
> arrangement currently is - basically - the same as in the xforms' dialog, but 
> this might be changed [1]).

Hmm. I'd far prefer a hierarchical set of entries in the left, like KDE
kcontrol etc.

The list browser navigation is confusing enough already.

> Concerning the special qt widgets, you will have to investigate yourself (I 
> don't know what is possible with color and font pickers etc.)

http://doc.trolltech.com/3.0/qcolordialog.html
http://doc.trolltech.com/3.0/qfontdialog.html

both pretty easy to use I suppose.

> Concerning the prefs, I will include all the stuff from qt except 
> - font encoding
> - popup fonts
> - rescale bitmap fonts
> - printer flags? (Dekel recommended to remove them)
> 
> [1] I do not like "Input". I'd rather have a "Paths" section. But I do not 
> know where to put the "Date Format" (in Input->Misc). What is this actually?
> (I hate "Misc" sections btw.).
> 
> Recommendations are of course welcome (and I will post the ui files before I 
> begin the fine tune).

I can't even get my head round most of the prefs and what they do. This
stuff is long-haul fixes.

thanks
john

-- 
""All the people we like are We, and everyone else is They."
- Kipling



Re: QTabular.ui

2002-10-29 Thread Juergen Spitzmueller
John Levon wrote:
> Can you lay it out (so resizing works) ?

Like this? (Attached)

> > I can can draw the preferences dialog too, if that helps.
>
> It does.

I'm on it. It has a main dialog with a list browser and embeds modules (like 
Edwin's document dialog). Most embeded modules have tabfolders (the 
arrangement currently is - basically - the same as in the xforms' dialog, but 
this might be changed [1]).
OK?

Concerning the special qt widgets, you will have to investigate yourself (I 
don't know what is possible with color and font pickers etc.)
Concerning the prefs, I will include all the stuff from qt except 
- font encoding
- popup fonts
- rescale bitmap fonts
- printer flags? (Dekel recommended to remove them)

[1] I do not like "Input". I'd rather have a "Paths" section. But I do not 
know where to put the "Date Format" (in Input->Misc). What is this actually?
(I hate "Misc" sections btw.).

Recommendations are of course welcome (and I will post the ui files before I 
begin the fine tune).

Regards,
Jürgen.



QTabularDialog.ui
Description: application/designer


Re: QTabular.ui

2002-10-29 Thread John Levon
On Tue, Oct 29, 2002 at 11:00:19AM +0100, Juergen Spitzmueller wrote:

> Here is the ui file with the changes you proposed. I have added a few 
> connections, but that does not make much sense as I don't know how it's gonna 

Can you lay it out (so resizing works) ?

Basically use spacers (the icon that looks like those arm exerciser
things next to the question mark at the top) and layout each region
(right click on the region, and selection layout
vertically/horizontally/in a grid. IF you select multiple widgets (use
shift-click), you can group and lay out widgets like that too.

> I can can draw the preferences dialog too, if that helps.

It does.

thanks
john

-- 
"If I'm a troll, I'm the dopest troll alive."
- High C, alt.music.alternative



Re: QTabular.ui

2002-10-29 Thread Andre Poenitz
On Tue, Oct 29, 2002 at 11:00:19AM +0100, Juergen Spitzmueller wrote:
> I can can draw the preferences dialog too, if that helps.

I think this helps. Greatly.

Andre'


-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: QTabular.ui

2002-10-29 Thread Juergen Spitzmueller
John Levon wrote:
> Right. We haven't the manpower for a change the world approach right
> now.

Here is the ui file with the changes you proposed. I have added a few 
connections, but that does not make much sense as I don't know how it's gonna 
be implemented. However, I cannot do that at the moment, so I leave it up to 
you (or whoever finds the time).

I can can draw the preferences dialog too, if that helps.

Regards,
Jürgen. 


QTabularDialog.ui
Description: application/designer


Re: QTabular.ui

2002-10-29 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> (except the OK and Apply buttons and the missing [obsolete?]
Juergen> Minipage checkbox). 

What is this 'use minipage' thing anyway? Shouldn't we get rid of it?

JMarc



Re: QTabular.ui

2002-10-28 Thread John Levon
On Mon, Oct 28, 2002 at 07:47:32PM +0100, Juergen Spitzmueller wrote:

> > I wonder if "Columns/rows" could be "Selection". Maybe not ...
> 
> Maybe not. This is not the same, is it?

No, it isn't. But that stuff can and does apply to a selection too ..

> > To a degree, there's not much point trying to get things really spot-on,
> > since the whole interface is Wrong.
> 
> So we are now trying to get a functional dialog and rewrite the whole thing 
> from scratch eventually? Fine.

Right. We haven't the manpower for a change the world approach right
now.

thnaks
john

-- 
"All photography is accurate - none of it is truth."
- Richard Avedon



Re: QTabular.ui

2002-10-28 Thread Juergen Spitzmueller
John Levon wrote:
> I don't really like the "Table" page. I would prefer simple buttons like
>
>   | Add column | | Delete column |

OK.

> "Fixed Width" should be "Fixed width" as everywhere (if you need help
> deciding where you should and shouldn't use sentence capitalisation,
> please refer to the Gnome UI guidelines, which go into detail). I know

Point taken. 

> this is a little harder to get right for a German speaker ;)

Far worse: German speaker lacking in concentration.

> I wonder if "Columns/rows" could be "Selection". Maybe not ...

Maybe not. This is not the same, is it?

> To a degree, there's not much point trying to get things really spot-on,
> since the whole interface is Wrong.

So we are now trying to get a functional dialog and rewrite the whole thing 
from scratch eventually? Fine.

> Could we make "Longtabular" be "Long table" or something ?

OK.

> Note that you can't really have OK/apply/close yet, as there is no
> TabularParams. And I don't intend to fix this before 1.3.

I see. I will change this and try to get a bit further.

Thanks for the feedback,
Jürgen.

> thanks
> john



Re: QTabular.ui

2002-10-28 Thread John Levon
On Mon, Oct 28, 2002 at 04:28:58PM +0100, Juergen Spitzmueller wrote:

> Here is a first attempt on the Tabular dialog. It is still very close to the 

Great !

I don't really like the "Table" page. I would prefer simple buttons like
:

| Add column | | Delete column |

etc.

"Fixed Width" should be "Fixed width" as everywhere (if you need help
deciding where you should and shouldn't use sentence capitalisation,
please refer to the Gnome UI guidelines, which go into detail). I know
this is a little harder to get right for a German speaker ;)

I wonder if "Columns/rows" could be "Selection". Maybe not ...

To a degree, there's not much point trying to get things really spot-on,
since the whole interface is Wrong.

Could we make "Longtabular" be "Long table" or something ?

Note that you can't really have OK/apply/close yet, as there is no
TabularParams. And I don't intend to fix this before 1.3.

thanks
john

-- 
"All photography is accurate - none of it is truth."
- Richard Avedon