Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-10

For QtLCL users - new feature, need testers

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

zeljko

Hi all,
Today I've commited new feature of qt widgetset (r43218) - scrollable forms. Now FCentralWidget isn't pure widget anymore but QAbstractScrollArea, which provides scrollbars on forms for us.
IT'S DISABLED BY DEFAULT, so if you want to test and use scrollable forms with qt widgetset you must enable QTSCROLLABLEFORMS define in lcl/interfaces/qt/qtdefines.inc.
It will be merged to 1.99.

Known issues: When source autocomplete window is activated in source editor QPainter asserts in console (but window is painted correctly).

What does not work (forms aren't scrollable)
1. FormStyle=fsMDIForm isn't scrollable form for LCL atm.
2. FormStyle=fsMDIChild isn't scrollable form atm.
3. QWidget_windowType(Widget) = QToolTip or QSplashScreen (that means hints and splash screen aren't scrollable).

Please, if you find any problem when QTSCROLLABLEFORMS are enabled open an issue about it so I can fix it before 1.2 release.

Thanks.

zeljko

Reply by email

zeljko
to zeljko
zeljko wrote 9 lines
Hi all, Today I've commited new feature of qt widgetset (r43218) - scrollable forms. Now FCentralWidget isn't pure widget anymore but QAbstractScrollArea, which provides scrollbars on forms for us. IT'S DISABLED BY DEFAULT, so if you want to test and use scrollable forms with qt widgetset you must enable QTSCROLLABLEFORMS define in lcl/interfaces/qt/qtdefines.inc. It will be merged to 1.99.

Not, 1.99 , but 1.0.99, it was typo .. sorry.

zeljko

Reply by email

Krzysztof
to zeljko

I'm still dreaming about modular Qt :) . Now to deploy QtLCL application I need to provide all Qt libs (even webkit, but I don't use it). I'm working on project based on pure Qt 5.1, I needed to use C++ instead of FPC :/ . Those libs are amazing, not only GUI but for example QMultimedia, QNetwork and websockets. I'm wondering if exists any tool which can automatically convert Qt API headers into FPC. For example gtk3 headers for FPC are generated by some tool (don't remember the name). Was current Qt4Pas unit written manually line by line? My dream is to write pure Qt application (I'm not interested in LCL) using FPC for all platforms as I'm doing now with C++

2013/10/12 zeljko

Show quoted text 27 lines
On 10/12/2013 04:38 PM, zeljko wrote: > Hi all, > Today I've commited new feature of qt widgetset (r43218) - scrollable > forms. > Now FCentralWidget isn't pure widget anymore but QAbstractScrollArea, > which provides scrollbars on forms for us. > IT'S DISABLED BY DEFAULT, so if you want to test and use scrollable > forms with qt widgetset you must enable QTSCROLLABLEFORMS define in > lcl/interfaces/qt/qtdefines.**inc. > It will be merged to 1.99. > Not, 1.99 , but 1.0.99, it was typo .. sorry. zeljko -- ______________________________**_________________ Lazarus mailing list .**freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131013/a5a44c86/attachment-0001.html>

Reply by email

zeljko
to Krzysztof
Krzysztof wrote 10 lines
I'm still dreaming about modular Qt :) . Now to deploy QtLCL application I need to provide all Qt libs (even webkit, but I don't use it). I'm working on project based on pure Qt 5.1, I needed to use C++ instead of FPC :/ . Those libs are amazing, not only GUI but for example QMultimedia, QNetwork and websockets. I'm wondering if exists any tool which can automatically convert Qt API headers into FPC. For example gtk3 headers for FPC are generated by some tool (don't remember the name). Was current Qt4Pas unit written manually line by line? My dream is to write pure Qt application (I'm not interested in LCL) using FPC for all platforms as I'm doing now with C++

Yes, there is actually tool which can create modular Qt libs, but it needs a lot of time to create C bindings. Feel free to create it using doxygen. From times of Kylix 3 Andreas Hausladen created QtC bindings by using doxygen (which creates classes in xml) ,and then via small console program he created libqtc and QtLibrary.pas.
Of course that was "all in one" library binding, but it can be separated into various C bindings. I support your idea too, but Den Jean created current bindings and he is working on that part, so maybe you should ask him , or maybe we can provide to him some bounty to create separated qtc bindings (libQt4Core -> libQt4PasCore,libQt4Gui -> libQt4PasGui, libQt4Network -> libQt4PasNetwork etc etc).

zeljko

Show quoted text 43 lines
2013/10/12 zeljko < <mailto:>> On 10/12/2013 04:38 PM, zeljko wrote: Hi all, Today I've commited new feature of qt widgetset (r43218) - scrollable forms. Now FCentralWidget isn't pure widget anymore but QAbstractScrollArea, which provides scrollbars on forms for us. IT'S DISABLED BY DEFAULT, so if you want to test and use scrollable forms with qt widgetset you must enable QTSCROLLABLEFORMS define in lcl/interfaces/qt/qtdefines.__inc. It will be merged to 1.99. Not, 1.99 , but 1.0.99, it was typo .. sorry. zeljko -- _________________________________________________ Lazarus mailing list <mailto:> http://lists.lazarus.__freepascal.org/mailman/__listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus> -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Krzysztof
to zeljko

2013/10/13 zeljko

Show quoted text 28 lines
On 10/13/2013 01:14 AM, Krzysztof wrote: > I'm still dreaming about modular Qt :) . Now to deploy QtLCL application > I need to provide all Qt libs (even webkit, but I don't use it). I'm > working on project based on pure Qt 5.1, I needed to use C++ instead of > FPC :/ . Those libs are amazing, not only GUI but for example > QMultimedia, QNetwork and websockets. I'm wondering if exists any tool > which can automatically convert Qt API headers into FPC. For example > gtk3 headers for FPC are generated by some tool (don't remember the > name). Was current Qt4Pas unit written manually line by line? My dream > is to write pure Qt application (I'm not interested in LCL) using FPC > for all platforms as I'm doing now with C++ > Yes, there is actually tool which can create modular Qt libs, but it needs a lot of time to create C bindings. Feel free to create it using doxygen. From times of Kylix 3 Andreas Hausladen created QtC bindings by using doxygen (which creates classes in xml) ,and then via small console program he created libqtc and QtLibrary.pas. Of course that was "all in one" library binding, but it can be separated into various C bindings. I support your idea too, but Den Jean created current bindings and he is working on that part, so maybe you should ask him , or maybe we can provide to him some bounty to create separated qtc bindings (libQt4Core -> libQt4PasCore,libQt4Gui -> libQt4PasGui, libQt4Network -> libQt4PasNetwork etc etc). zeljko

That would be a great idea. Is there any contact to Den Jean? -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131016/07847321/attachment.html>

Reply by email