Welcome, Guest
Username: Password: Remember me
CodeTyphon Platforms (Win32/64, GTK2/3/4, QT4/5/6, Cocoa, FpGUI etc) Development, discussions and problems

TOPIC:

Patch for fpGUI integration... 9 years 4 months ago #6309

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Hello :)

I tried to integrate fpGui and uidesigner into codetyphon as described in the readme file readme_patch_typhon.txt.
But, in uidesigner_ext settings integration for "lazarus" and "codetyphon" is always disabled.
What's wrong? Can you help me please?


Hum, i do not understand...

In designer_ext, there is "settings" menu. When you click on it, there is a window with => Integration into IDE =>
. None
. Into Lazarus
. Into Typhon => click on it.

See first topic of "Patch for fpGUI integration..." for explaination how to install all.

PS : Typhon or Lazarus must be installed.

What os are you using (Linux, Windows,...) and where have you installed Typhon (C:\, /user/.. ?)

Fred

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6312

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
Typhon 5.1 is installed (c:\typhoon) on Win7 and works fine.
Also latest Lazarus is installed as secondary installation (but not used).
The latest developer edition of fpGui is installd in Typhon (compiled via designer_ext.lpi).

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6313

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Hello.

What is the directory of designer_ext ( c:\designer_ext\ ? )

Could you please run designer_ext.exe as standalone, then click on => Settings => General settings.

On bottom of setting-form, what do you get ? =>
Location of ini file : c:\users\... ?

Fre;D

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6315

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
@ Wosc => Indeed, you are right, for Windows it was a problem...

I apologize. It was because Windows use different config-directory with each new Windows version.

It is fixed in new release.

May you try with committed version ? (there are already compiled designer_ext in /bin/widows)=> github.com/fredvs/uidesigner_ext

PS You do not need to re-apply the Typhon patch, it was a designer_ext problem.
PS2 I hope that Sternas will integrate fpGUI designer in real, so that "virtual" integration will become "true" integration.

Many thanks to note it.

Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by Fred.

Patch for fpGUI integration... 9 years 4 months ago #6316

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
Directory of uidesigner_ext is c:\lib\fpc\uidesigner_ext.
If I compile(as described) then the new EXE is in c:\lib\fpc\uidesigner_ext\src\uidesigner_ext.exe
The Path in General Settings is: c:\Users\ws\AppData\Local\designer_ext\designer_ext.ini

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6317

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

The Path in General Settings is: c:\Users\ws\AppData\Local\designer_ext\designer_ext.ini


Hello. Yes, it was what i guess, Windows 7 uses a different config-path than XP.

It is fixed in new designer_ext release. (see my last topic, just before your last one).
=> github.com/fredvs/uidesigner_ext

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6318

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
May Thanks.
Now the settings dialog in designer_ext work.

But, how I use the CodeTyphon integration?
I can not detect any changes, even if I open some ofe the fpGUI samples.
Can you pleas help me?

Best Regards
Wolfram

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6319

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

Now the settings dialog in designer_ext work.


That are already good news :)

Do you have checked Integration into Typhon and closed designer_ext after that ?

Please, do not try to load files of designer_ext project => It could cause conflict with designer_ext loaded by Typhon.

Normally, if you load from "open file" in Typhon a fpGUI-form-file, Typhon must load fpGUI-form-file in his source-editor and also load designer_ext with that file.

Hum, give me some minutes and i will do a screen-recording of what must append.

Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by Fred.

Patch for fpGUI integration... 9 years 4 months ago #6321

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

Hum, give me some minutes and i will do a screen-recording of what must append.


=> sites.google.com/site/fiensprototyping/typhon_integration.mp4



[EDIT]

I can not detect any changes, even if I open some ofe the fpGUI samples.


The file must be a "fpGUI form", like in fpGUI/examples/gui/animation/anim_test.lpr, otherwise, designer_ext is not loaded.

Please Log in or Create an account to join the conversation.

Last edit: by Fred.

Patch for fpGUI integration... 9 years 4 months ago #6323

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
Sorry, the downloaded mp4 is only 2k and do not work.

And if I open the project "anim_test.lpi" or if I open the file "anim_test.lpr" nothin special happend.
Only the file is shown in the editor.

Please Log in or Create an account to join the conversation.

Last edit: by wolfram.

Patch for fpGUI integration... 9 years 4 months ago #6325

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
[EDIT] => Here mp4 in attachment.

File Attachment:

File Name: typhon_int....mp4.zip
File Size:3,694 KB

Sorry, the downloaded mp4 is only 2k and do not work.

Strange... (it is working here...).


And if I open the project "anim_test.lpi" or if I open the file "anim_test.lpr" nothin special happend.
Onl the file is shown in the editor.

Hum, have you apply the typhon patch in /designer_ext/patch/Typhon and re-compiled Typhon ?

Please Log in or Create an account to join the conversation.

Last edit: by Fred.

Patch for fpGUI integration... 9 years 4 months ago #6326

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
Ok, the mp4 video now works fine.
(BTW: which software you use to make the screen recording?)

Hum, have you apply the typhon patch in /designer_ext/patch/Typhon and re-compiled Typhon ?

Yes I have done this and then cecompiled with CodeTyphon Center big IDE 32 bit.
But I have done this with the .pas patch file from yesterday.

Please Log in or Create an account to join the conversation.

Last edit: by wolfram.

Patch for fpGUI integration... 9 years 4 months ago #6327

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

Yes I have done this and then cecompiled with CodeTyphon Center ig IDE 32 bit.
But I have done this with the .pas patch file from yesterday.

Aaargh, so i do not understand (the patch was not changed from yesterday).


(BTW: which software you use to make the screen recording?)

=> SimpleScreenRecorder 0.3.1
=> github.com/MaartenBaert/ssr
=> www.maartenbaert.be/simplescreenrecorder/

I use it on Linux, i do not know if a Windows version is available...

PS: Sorry to say it but, what a hell to use Windows => Compile Typhon takes many hours => Same Typhon compiled in Linux takes few minutes...

Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by Fred.

Patch for fpGUI integration... 9 years 4 months ago #6329

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
I have now made the patch a second time.
Now it works (Win7,32bit) in Typhon 32 and 64.
Many thanks for your good work.

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6330

  • wolfram
  • wolfram's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
I have some problems how to work with this fpGUI Typhon integration.
E.g. I open a fpGUI sample.
Then the Designer_ext starts.
I add some controls and then use File-Save in the fpGui Designer.
Now Typhon says, that the File has changed outside the Typhon editor and
I say YES to relod the changes from file.
Now fpGUI designer ends and I have to reload the project in Typhon so that fpGUI disigenr starts again.
During this reload fpGUI desinger causes a exception and I have to to a second reload of the project.

In ddition there ar problems in fpGUI deigner.
E.g. if I add some new controls, then the coresponding unit will not be inserted in the uses area automticaly.

All this is not very useful.
Or am I doing something wrong?

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6332

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

I add some controls and then use File-Save in the fpGui Designer.
Now Typhon says, that the File has changed outside the Typhon editor and
I say YES to relod the changes from file.

Yes, it is the way it should work.

Now fpGUI designer ends and I have to reload the project in Typhon so that fpGUI disigenr starts again.
During this reload fpGUI desinger causes a exception and I have to to a second reload of the project.

No, that is not normal, i will check it this (late) afternoon. I have to confess you that i dont have fully tested ide integration with Windows.
I will fix it.

In ddition there ar problems in fpGUI deigner.
E.g. if I add some new controls, then the coresponding unit will not be inserted in the uses area automticaly.

Do you mean that if you add, for example a fpgCheckbox, in uses section fpg_checkbox is not added automatic ?
Yes, i know, that was asked already in fpGUI forum. It is on the TODO list.


Write you later.
Fre;D

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6339

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

Now fpGUI designer ends and I have to reload the project in Typhon so that fpGUI disigenr starts again.
During this reload fpGUI desinger causes a exception and I have to to a second reload of the project.

=>

No, that is not normal, i will check it this (late) afternoon. I have to confess you that i dont have fully tested ide integration with Windows.
I will fix it.


Yes, indeed, there are big problems with Ide integration in Windows.
I am verry sorry but, till now, i do not find the solution ( => problems with TProcess).

So, i apologize, but IDE integration is only working in Linux, for now.

But you can use Designer_ext as stand-alone in Windows, of course.

Fre;D

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6340

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
[EDIT] => Deleted all because of good news in next topic...

Please Log in or Create an account to join the conversation.

Last edit: by Fred.

Patch for fpGUI integration... 9 years 4 months ago #6341

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Hello everybody.

I am happy to come today with excellent news. :)

IDE integration is now fully ok for Windows too ;-)

After loooong and big fight => Yep, it is working.
Tested on Windows XP, 7, 8 and via Linux-Wine.

=> github.com/fredvs/uidesigner_ext

Fre;D

Please Log in or Create an account to join the conversation.

Patch for fpGUI integration... 9 years 4 months ago #6359

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

In ddition there ar problems in fpGUI deigner.
E.g. if I add some new controls, then the coresponding unit will not be inserted in the uses area automticaly.


=> Done :)

Hello everybody ;-)

I am happy to present the automatic units adder =>

> sites.google.com/site/fiensprototyping/fpgui_autounits.mp4

The goal of that feature is for lazy programmer, like me. ;-)
But all the others must not cry, it is a option in "Settings", so if you prefer to add units manually, you can. ;)

All widgets are implemented.

=> github.com/fredvs/uidesigner_ext

Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by Fred.