Alfredo Braunstein wrote:
Index: lyxtext.h
+struct Pos {
+ int x;
+ int y;
+};
No default constructor to initialize these two? Brave man!
+ Pos pos_;
If it's public, you can get rid of the trailing underscore.
Tell the world what 'pos_
Angus Leeming wrote:
> Alfredo Braunstein wrote:
>
> Index: lyxtext.h
> +struct Pos {
> + int x;
> + int y;
> +};
> No default constructor to initialize these two? Brave man!
>
> + Pos pos_;
> If it's public, you can get rid of the tr
Alfredo Braunstein wrote:
>> below is a horrible mix of the two...
>
> But it's absolutely not fault of the patch. The absolute coordinates
> were needed, but absent. So it's all the rest that is at fault. We
> will have this sort of stuff until all have absolute coords.
Sorry, I should have made
I think that one of the problems is an extra redraw:
- update calls workarea::setScrollBarParams
- setScrollBarParams calls scrollbar_->setValue
- scrollbar_->setValue emits a signal (the scrollbar has changed)
- an extra update is called
Is there a way to call setValue without the scrollbar emit
Alfredo Braunstein wrote:
> Is there a way to call setValue without the scrollbar emitting
> valueChanged?
A workaround (can be possibly backported?):
Index: QContentPane.C
===
RCS file:
/usr/local/lyx/cvsroot/lyx-devel/src/frontend
Martin Vermeer wrote:
On Tue, Nov 18, 2003 at 09:26:51PM +0200, Josef Carel spake thusly:
Hello:
Im not sure it is a bug but in any case I need some help.
Im just in the begining of using Lyx, version 1.3.3
I can't centered images inserted through float system and
I can't find how to move it fro
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:
Alfredo> Alfredo Braunstein wrote:
>> Is there a way to call setValue without the scrollbar emitting
>> valueChanged?
Alfredo> A workaround (can be possibly backported?):
Does it work when clicking in the scrollbar instead of drag
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Am Dienstag, 18. November 2003 09:37 schrieb Andre Poenitz:
>> On Mon, Nov 17, 2003 at 08:58:36PM +0100, Georg Baum wrote: > Am
>> Montag, 17. November 2003 09:52 schrieb Andre Poenitz: > > Looks
>> good. Is this ready for 'commit'?
>>
Alfredo Braunstein wrote:
> A workaround (can be possibly backported?):
... but breaking the mouse wheel. Attached again with a fix.
This behaves as a x2 boost under qt for me in some situations (like
scrolling with page-down).
Alfredo
Index: QContentPane.C
=
Jean-Marc Lasgouttes wrote:
> Does it work when clicking in the scrollbar instead of dragging? Can't
Ups, no ;-)
> you check whether 'val' actually changed value?
It doesn't work. The problem is that the signal is emmited when the value
has been just changed.
I have to run... but I'll think of
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:
>> you check whether 'val' actually changed value?
Alfredo> It doesn't work. The problem is that the signal is emmited
Alfredo> when the value has been just changed.
You can also cache the value somewhere.
JMarc
Angus Leeming wrote:
> On Thursday 30 October 2003 2:00 pm, Ronald Florence wrote:
>> Angus Leeming <[EMAIL PROTECTED]> writes:
>> > The fix is trivial (for Qt too) and requires that
>> > LyX responds only to a subset of mouse events from the underlying
>> > X11, MacOS or Win32 graphics libraries.
On Tue, Nov 18, 2003 at 10:12:31AM +0100, Lars Gullik Bjønnes spake thusly:
> Martin Vermeer <[EMAIL PROTECTED]> writes:
...
> | Does this more clearly illustrate the idea?
> >
> | Check-in later today, shout to object ;-)
>
> Object!
>
> I am all for cleaning up and parametization. But I am
On Wednesday 19 November 2003 15:29, Martin Vermeer wrote:
One of the problems with Martin's messages is that you need to think a bit
about them. ;-)
[...]
> You see, the main difference between LaTeX and XML is, that while
> LaTeX is a (one!) mark-up language, XML is a meta-language or
> 'la
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
Jean-Marc> The following patch for 1.3.4cvs (should be easy to port to
Jean-Marc> 1.4.0cvs) remove all use of non-ascii characters in strings
Jean-Marc> seen by gettext.
Since nobody complained, I applied it. I'll do the same f
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes:
Michael> I guess that your recent proposal to remove all non-ASCII
Michael> characters will circumvent the problem though it does not
Michael> really remove the cause. I think in the long term, we have to
Michael> switch to UTF-8 anywa
Alfredo Braunstein <[EMAIL PROTECTED]> writes:
>> Index: text2.C
>> +{
>> +pos_.x = 0;
>> +pos_.y = 0;
>> +}
>> Ah-haa! struct Pos does indeed need a default constructor!
>
| I guess it's a matter of preferences... (I prefer to think them as two
| simple variables grouped toghether
2003-11-19 Angus Leeming <[EMAIL PROTECTED]>
* lyxtextclass.C (LyXTextClass): fix warning about variable
initialization in constructor being re-ordered to match declaration.
I probably won't be near this computer till next week, so please apply this
for me.
Angus
Index: src/Ch
18 matches
Mail list logo