Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Friday 05 February 2010 23:49, Graeme Geldenhuys wrote: I can only imagine such hacks will inevitably fail somewhere down the line - or is simply not supported by all widgetsets. Is it just my imagination, or is there more and more feature being added to LCL which only works on specific

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Friday 05 February 2010 23:31, Kjow wrote: 2010/2/5 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: Yes, you need to mess with Gtk to do it. I would however recommend that you try it with Qt instead. The Qt API is much easier to use and the Qt interface is also much better

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Friday 05 February 2010 19:56, JoshyFun wrote: More or less :) Mostly is tell to GTK2 that I'll paint something over TEdit and please GTK do not erase it :) or I you do it let me know to repaint my own content. Exact example is on my wiki page (but works with qt only :) ). --

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread Graeme Geldenhuys
On 6 February 2010 04:28, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: But now Lazarus uses and requires Qt 4.5+ which is LGPL, the same license as Gtk, which means in short: no problems What does that mean? Can you now use Qt 4.5+ in commercial software without buying

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread Graeme Geldenhuys
On 6 February 2010 10:09, zeljko zel...@holobit.net wrote: and less buggy (just look at bug tracker, and compare number and type of qt bugs vs. gtk2 bugs), But that could also be explain as follows... not as many people are using the LCL-Qt widgetset compared to the LCL-GTK2 widgetset. :-)

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Saturday 06 February 2010 09:35, Graeme Geldenhuys wrote: On 6 February 2010 10:09, zeljko zel...@holobit.net wrote: and less buggy (just look at bug tracker, and compare number and type of qt bugs vs. gtk2 bugs), But that could also be explain as follows... not as many people are using

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread Kjow
2010/2/6 Graeme Geldenhuys graemeg.li...@gmail.com: On 6 February 2010 00:31, Kjow antispamm...@gmail.com wrote: What about licenses using of QT in commercial projects? You need to purchase a commercial license. $2500 US per developer - starting price (if I remember correctly). --

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Saturday 06 February 2010 12:02, Kjow wrote: 2010/2/6 Graeme Geldenhuys graemeg.li...@gmail.com: On 6 February 2010 00:31, Kjow antispamm...@gmail.com wrote: What about licenses using of QT in commercial projects? You need to purchase a commercial license. $2500 US per developer -

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread Kjow
2010/2/6 zeljko zel...@holobit.net: No, Graeme is wrong. Qt is LGPL-ed so you can create commercial apps without buying Qt commercial licenses. zeljko Oh, well this reevaluates the question. So if I use QT in my Lazarus projects I don't have to pay nothing to Nokia. And what about sources? Do

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, zeljko zel...@holobit.net wrote: No, Graeme is wrong. Qt is LGPL-ed so you can create commercial apps without buying Qt commercial licenses. So when do you need a Qt license then? -- Regards, - Graeme - ___ fpGUI - a

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, zeljko zel...@holobit.net wrote: I'll try Lazarus with LCL-Qt for the next week to see how it goes - I haven't tried LCL-Qt in a while. Feedback is welcome :) See my new message thread Lazarus IDE + Qt annoyances. -- Regards, - Graeme -

[Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
Hi, I was told to give feedback on my usage of LCL-Qt, so here goes. I simply recompiled Lazarus IDE with LCL-Qt. I downloaded and used bin-qt4pas-V1.72_Qt4.5.2.tar.gz for the qt4intf library. Using Ubuntu 9.04 (32-bit) and Lazarus 0.9.29 (svn updated from 2010-02-05). * Source Editor window

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Saturday 06 February 2010 12:39, Kjow wrote: 2010/2/6 zeljko zel...@holobit.net: No, Graeme is wrong. Qt is LGPL-ed so you can create commercial apps without buying Qt commercial licenses. zeljko Oh, well this reevaluates the question. So if I use QT in my Lazarus projects I don't

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 13:12, Graeme Geldenhuys wrote: Hi, I was told to give feedback on my usage of LCL-Qt, so here goes. I simply recompiled Lazarus IDE with LCL-Qt. I downloaded and used bin-qt4pas-V1.72_Qt4.5.2.tar.gz for the qt4intf library. Using Ubuntu 9.04 (32-bit) and

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, zeljko zel...@holobit.net wrote: * Treeview component doesn't point the + symbol to indicate that the node can be expanded. It draws an empty rectangle. See attached screenshot. some themes does not draw + symbol on linux (eg. windows theme), dunno why, problem is

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 13:32, Graeme Geldenhuys wrote: * IDE now doesn't detect when a file is changed by an external program. I don't get prompted by the IDE to reload the file. To make sure this is not a general IDE issue, I recompiled my IDE with GTK2 (same revision as I used for

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, zeljko zel...@holobit.net wrote: * Toolbar buttons with down arrow for dropdown menu. The down arrow is not drawn. See attached screenshot. no screenshoot, but also I don't have such arrow on dropdown menu , so must recompile into gtk2 to see what have to be there :)

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 14:00, Graeme Geldenhuys wrote: Here is another screenshot of Qt Designer showing that it is not an issue with my Qt theme. In Qt Designer the toolbar downarrows are drawn correctly (and they are flat buttons), but not in Lazarus IDE. Toolbar in Qt Designer is

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
A font issue: With IDE + LCL-GTK2 I use Source Editor with font DejaVu Sans Mono with Size 10 font, but in IDE + LCL-Qt the font size was much smaller, so I had to change the Source Editor font to DejaVu Sans Mono with Size 11 font so that the text looked the same size as under LCL-GTK2. This was

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, zeljko zel...@holobit.net wrote: Toolbar in Qt Designer is native QToolBar class, but in LCL we use LCL one, not native Qt class, so there could be the reason, Why the exception to the rule? Isn't the whole idea of LCL to wrap native widget components and not use custom drawn

[Lazarus] Strange compilation behaviour

2010-02-06 Thread Alex du Plessis
Hello List, No sooner have I resolved the one problem than the next puzzling experience. Previously I had a component installed that used the DCPcrypt package which I subsequently deleted. Now the application compiles with no errors, but at runtime I get the message: Class TDCP_ripemd160 not

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 14:13, Graeme Geldenhuys wrote: On 06/02/2010, zeljko zel...@holobit.net wrote: Toolbar in Qt Designer is native QToolBar class, but in LCL we use LCL one, not native Qt class, so there could be the reason, Why the exception to the rule? Isn't the whole idea of

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 14:09, Graeme Geldenhuys wrote: A font issue: With IDE + LCL-GTK2 I use Source Editor with font DejaVu Sans Mono with Size 10 font, but in IDE + LCL-Qt the font size was much smaller, so I had to change the Source Editor font to DejaVu Sans Mono with Size 11 font

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 14:09, Graeme Geldenhuys wrote: A font issue: With IDE + LCL-GTK2 I use Source Editor with font DejaVu Sans Mono with Size 10 font, but in IDE + LCL-Qt the font size was much smaller, so I had to change the Source Editor font to DejaVu Sans Mono with Size 11 font

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 14:00, Graeme Geldenhuys wrote: On 06/02/2010, zeljko zel...@holobit.net wrote: * Toolbar buttons with down arrow for dropdown menu. The down arrow is not drawn. See attached screenshot. no screenshoot, but also I don't have such arrow on dropdown menu ,

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Paul Ishenin
06.02.2010 20:13, Graeme Geldenhuys wrote: Why the exception to the rule? Isn't the whole idea of LCL to wrap native widget components and not use custom drawn ones? Every rule has an exception. This statement too. Best regards, Paul Ishenin. --

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Juha Manninen
With IDE + LCL-GTK2 I use Source Editor with font DejaVu Sans Mono with Size 10 font, but in IDE + LCL-Qt the font size was much smaller, so I had to change the Source Editor font to DejaVu Sans Mono with Size 11 font so that the text looked the same size as under LCL-GTK2. This was only an

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 15:46, Juha Manninen wrote: With IDE + LCL-GTK2 I use Source Editor with font DejaVu Sans Mono with Size 10 font, but in IDE + LCL-Qt the font size was much smaller, so I had to change the Source Editor font to DejaVu Sans Mono with Size 11 font so that the

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Juha Manninen
yes, not only on qt, look at http://bugs.freepascal.org/view.php?id=15331 I think it was only a QT issue but I reported it little wrong first. Your fix was late last year, r23129, and it still works for me. Juha M. -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, Juha Manninen juha.manni...@phnet.fi wrote: It is easy to change but still I wonder how can they measure the heights so differently. My thought too. The only thing I can think of is in my Gnome setup (global desktop settings), the DPI is forced to 96. Yet my X Window system

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Juha Manninen
Hi, I have OpenSuse 11.2 and KDE4.3.4. * Source Editor window keeps jumping. It jumps to the top left corner of the screen after opening every project. No jumping here. * Toolbar buttons with down arrow for dropdown menu. The down arrow is not drawn. It is drawn correctly for me. *

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, Graeme Geldenhuys graemeg.li...@gmail.com wrote: My thought too. The only thing I can think of is in my Gnome setup (global desktop settings), the DPI is forced to 96. Yet my X Window system reports the dpi otherwise, at 89 DPI. $ xdpyinfo | grep resolution resolution:

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread Graeme Geldenhuys
On 06/02/2010, Juha Manninen juha.manni...@phnet.fi wrote: * Source Editor window keeps jumping. It jumps to the top left corner of the screen after opening every project. No jumping here. I can make a screencast to prove it. :-) The Source Editor window jumps to position (0,0) whenever

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread JoshyFun
Hello Lazarus-List, Saturday, February 6, 2010, 9:17:01 AM, you wrote: The problem with LCL is that it inherits a lot of habits from Windows platforms GG This is something I have experienced as well, so am glad to see others GG are noticing the same thing. LCL is meant to be cross-platform,

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 16:20, Graeme Geldenhuys wrote: Functionality is still fine, it simply doesn't draw the + symbol in the small rectangle. Yes, it does ... check r 23656 zeljko -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread theo
Hi Zeljko, Here disabled toolbuttons in the IDE have a border (look like buttons) while enabled ones are flat. Need a screenshot? Cheers Theo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus IDE + Qt annoyances

2010-02-06 Thread zeljko
On Saturday 06 February 2010 18:45, theo wrote: Hi Zeljko, Here disabled toolbuttons in the IDE have a border (look like buttons) while enabled ones are flat. Need a screenshot? No, I see that, fight with it currently, but got strange results when drawing normal button via

[Lazarus] Lazarus compilation error

2010-02-06 Thread Howard Page-Clark
Hi I get the following error when doing a make clean all with latest SVN under win32 (Windows 7) ... compiling lclclasses.pp imglist.pp(160,14) Error: There is no method in an ancestor class to be overridden TCustomImageList.Equals(TObject):Boolean; imglist.pp(206,1) Fatal: There were 1

Re: [Lazarus] Lazarus compilation error

2010-02-06 Thread Vincent Snijders
Howard Page-Clark schreef: Hi I get the following error when doing a make clean all with latest SVN under win32 (Windows 7) ... compiling lclclasses.pp imglist.pp(160,14) Error: There is no method in an ancestor class to be overridden TCustomImageList.Equals(TObject):Boolean;

Re: [Lazarus] Delphi converter improvements

2010-02-06 Thread Juha Manninen
* The first is the usual dialog where converter inform us that some properties are invalid and offer us to remove them. But this dialog needs some improvement for example when there is a component on form resource that is unknown, such as the case of for example TRichedit, maybe because it's

Re: [Lazarus] Lazarus compilation error

2010-02-06 Thread Vincent Snijders
Howard Page-Clark schreef: On 06/2/10 9:02, Vincent Snijders wrote: Howard Page-Clark schreef: Hi I get the following error when doing a make clean all with latest SVN under win32 (Windows 7) ... compiling lclclasses.pp imglist.pp(160,14) Error: There is no method in an ancestor class to

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-06 Thread waldo kitty
On 2/4/2010 11:15, Klenongan wrote: @ waldo kitty no preview there... both are the same image and look like a lottery thing calling out upload and earn cash :? Strange, I can see the images just fine. Maybe something wrong with your proxy, or network settings? The xs.to is one of my

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-06 Thread waldo kitty
On 2/5/2010 06:24, Marco van de Voort wrote: (*) there probably is a good blurb about the name python. There is also one about Lazarus. When it is not instinctive however, it doesn't matter. So yes to Ruby, no to Python. What about Emerald? It is more precious than Ruby, provides a nice hook

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-06 Thread waldo kitty
On 2/5/2010 07:30, Paul van Helden wrote: It is a real pity about Jack Wolfskin, but I'd still go for the paw and refrain from making T-Shirts with it (or at least have the T-Shirts made by someone who cannot be sued :-) ). A big cat's paw print is the ultimate emblem of stealth and speed IMHO,

Re: [Lazarus] GTK2 EraseBackgound

2010-02-06 Thread zeljko
On Sunday 07 February 2010 00:08, JoshyFun wrote: No problem is not solved because: 1) EraseBackground is now invoked, but calling inherited EraseBackground does not perform the default erasebackground procedure. 2) Now background is completly gone due (1) 3) WMPaint is invoked but the