>>Can you use the tooltip text for that? Otherwise, we could add names >>in the toolbar specification. > > I could use tooltips I suppose ... a minor point anyway.
Yes, but it is all these minor points that make a polished UI. >>John> horizontal, vertical, t,b,l,r too... >> >>This is probably a general qt2-only pref. Not something we want in the >>general toolbar code... > > hmm ? It's a hint - frontends are free to ignore it. This makes sense to > me. I thought that all toolbar in KDE apps were supposed to be setable by the user as floating top, bottom, whatever... However, we could have a flag in the format telling whether a toolbar should default to on/off. >>I'm not sure what Newline is good for here (actually, I think we >>should nuke it). > > So how do I have multiple user defined toolbars ? Toolbar "one" Enabled 1 #this one is shown by default ... End Toolbar "two" Enabled 0 #this one is hidden by default ... End I do not say this is the right solution, just a thought. >>If you do not have a buffer, there is nothing to display, no? > Then the backend should return nothing (I've already done this). > > Making me check the magic type and see if it's one that might require a > buffer is ugly. You do not have to check for that. getStatus tells you whether a lyxfunc is enabled or not, whatever the reason (no buffer, readonly, ...) >>Feel free to change that. Note however that recomputing the toc at >>each key press may prove expensive. > > I believe we've covered this territory (unsuccessfully) before. Yes, but we will have to eventually find a solution. >>It would be interesting to know what applications without hardcoded >>menus (koffice??) do > > yes, it would. I suspect they just hard code everything in; they don't > need to work with more than one frontend. Even these apps do not allow to redefine menus (a la word)? They suck. > We reached this empasse before. You claim I don't have to fill menus on > demand on the one hand, but say I can't keep up to date on the other. > > I can't spot the middle ground you're talking about ? I do not say I won't change my opinion, I am arguing. Convince me. JMarc