Recent

Author Topic: AnchorDocking + Sparta basic package with QT  (Read 14174 times)

Groffy

  • Full Member
  • ***
  • Posts: 205
AnchorDocking + Sparta basic package with QT
« on: September 28, 2015, 10:29:17 am »
There was a discussion about that topic two weeks ago on the qt mailing list. I installed the package under Win7 /qt and win32 widgets + Lazarus 1.5 trunk. Its working for me so far, but with qt the keyboard keys CTRL+C / CTRL+V / CTRL+X  and the [Delete] key are not working. Can I post these issues here or should it stay separately in the QT mailing list?

Best regards
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

hnb

  • Sr. Member
  • ****
  • Posts: 268
Re: AnchorDocking + Sparta basic package with QT
« Reply #1 on: September 28, 2015, 09:03:10 pm »
Can be here. We have some bug in QT related to handling form where is set "ParentWindow" :/
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

zeljko

  • Hero Member
  • *****
  • Posts: 1051
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: AnchorDocking + Sparta basic package with QT
« Reply #2 on: September 28, 2015, 10:50:48 pm »
Where exactly ? Maybe I can fix it

Groffy

  • Full Member
  • ***
  • Posts: 205
Re: AnchorDocking + Sparta basic package with QT
« Reply #3 on: September 29, 2015, 07:05:51 am »
An issue I noticed so far (Lazarus trunk revision 49877 + qt 4.8.5) : Place a control on an empty form. Focus the control and press CTRL+C, focus the form and press CTRL+V. Exception message : "Cannot focus a disabled or invisible window"

« Last Edit: September 29, 2015, 07:41:59 am by Groffy »
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

zeljko

  • Hero Member
  • *****
  • Posts: 1051
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: AnchorDocking + Sparta basic package with QT
« Reply #4 on: September 29, 2015, 08:04:10 am »
Can you fill an issue about it ?

zeljko

  • Hero Member
  • *****
  • Posts: 1051
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: AnchorDocking + Sparta basic package with QT
« Reply #5 on: September 29, 2015, 09:19:09 am »
btw. I cannot reproduce it with trunk lazarus, fpc.2.6.4, linux 32 bit, qt 4.7.4

Groffy

  • Full Member
  • ***
  • Posts: 205
Re: AnchorDocking + Sparta basic package with QT
« Reply #6 on: September 29, 2015, 09:35:10 am »
@zelko

http://bugs.freepascal.org/view.php?id=28744

I did not test it under Linux Mint, I read somewhere that Sparta basic package is only compiling with fpc3.x (?)

Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

hnb

  • Sr. Member
  • ****
  • Posts: 268
Re: AnchorDocking + Sparta basic package with QT
« Reply #7 on: September 29, 2015, 09:40:12 am »
You need to install "Sparta Basic" package. As mentioned above keyboard keys CTRL+C / CTRL+V / CTRL+X  and the [Delete] key are not working for "docked designed form". Same for Popup menu - is not handled/detected for "docked designed form". Right click on form will bring to front PopupMenu assigned to PageControl (ide/sourceeditor.pp)
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

zeljko

  • Hero Member
  • *****
  • Posts: 1051
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: AnchorDocking + Sparta basic package with QT
« Reply #8 on: September 29, 2015, 10:47:58 am »
@hnb, ok I'll take a look into

zeljko

  • Hero Member
  • *****
  • Posts: 1051
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: AnchorDocking + Sparta basic package with QT
« Reply #9 on: September 29, 2015, 01:23:48 pm »
Is there anywhere howto install sparta package ? Where I can download it ?

GetMem

  • Hero Member
  • *****
  • Posts: 3495
Re: AnchorDocking + Sparta basic package with QT
« Reply #10 on: September 29, 2015, 01:31:10 pm »
@zeljko
You can find it in the FreeSparta branch(components directory): http://svn.freepascal.org/svn/lazarus/branches/free-sparta

zeljko

  • Hero Member
  • *****
  • Posts: 1051
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: AnchorDocking + Sparta basic package with QT
« Reply #11 on: September 29, 2015, 01:57:26 pm »
Thanks

Groffy

  • Full Member
  • ***
  • Posts: 205
Re: AnchorDocking + Sparta basic package with QT
« Reply #12 on: September 30, 2015, 08:13:46 am »
I made a mistake, I checked out the

http://svn.freepascal.org/svn/lazarus/branches/free-sparta

source, not Lazarus trunk. I guess the Sparta basic package will not compile under Lazarus trunk(?)
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

hnb

  • Sr. Member
  • ****
  • Posts: 268
Re: AnchorDocking + Sparta basic package with QT
« Reply #13 on: September 30, 2015, 08:26:23 am »
@Groffy

It should compile with trunk without any problems (ofc you need to use FPC 3.x). All changes from Sparta branch are merged to trunk (only "Sparta Basic" package is outside trunk. I need to fix few things. Anyway it is almost done :) ).
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

Groffy

  • Full Member
  • ***
  • Posts: 205
Re: AnchorDocking + Sparta basic package with QT
« Reply #14 on: September 30, 2015, 09:08:17 am »
@hnb

Thank you, Sparta basic package is compiling with Lazarus trunk / FPC3.0rc1

Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt