Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Custom form designer ? 10 years 5 months ago #4793

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor
Hello and bravo for new CT version. ;)

Could it be possible to have a "custom" form designer who loads, depends of the project (console or graphic) and the widgetset used (lcl gtk2, lcl qt, lcl win32, fpGUI, msei,...).

In LCL,because some widgetset are only gtk2 (not QT), it could be good that the palette components shows only the components working for the widgetset used.

And the form designer could be hided for console project (or fpGUI or msei).

The form designer would be the existing one for LCL and the one of fpGUI for fpGUI applications (idem for msei):

But, of course, the code editor will be the same for all kind of project.

Many thanks.:


PS : I have seen that you have add a option in Project Option : Platform :fpGUIPlatform:=x11

That is GREAT and ,maybe, you could use it for the component-palette and the form designer.

Many thanks.

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

Custom form designer ? 10 years 5 months ago #4794

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
Thanks Sir
We add your suggestions to our CT To-do-List.

Please, don't forget at this Plan GENERATION IV
we build the "basics", you can't imagine what we have ready for next Plan Ver (5.xx)...
PilotLogic Architect and Core Programmer

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

Custom form designer ? 10 years 5 months ago #4801

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor

we build the "basics"

Yep, i see you are on the good way.

you can't imagine what we have ready for next Plan Version

You can't imagine how much I'm looking forward to testing it (with lcl, fpGUI and msei all-in-one Typhon will be completely different from Lazarus).

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

Last edit: by fredvs.

Custom form designer ? 10 years 5 months ago #4816

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor
Hello Sternas.

If you agree for a Open Mind Typhon Project, i would propose to no more prioritize the widgetsets (with LCL and the others) but use a general widgetset option like this (in alphabetical order) :...

Project.Options.Widgetset :=

- default (usualy lcl_gtk2/Linux or lcl_win32/Windows)
- fpg_gdi
- fpg_x11
- lcl_carbon
- lcl_cocoa
- lcl_customdraw
- lcl_gtk
- lcl_gtk2
- lcl_gtk3
- lcl_qt
- lcl_nogui
- lcl_win32
- lcl_wince
- mse_lin
- mse_win
- none (for console app)

A other thing is the lcl components-palette.
There are lot of components who do not require lcl (Brook for example) and could be used by console or fpgui or msei.

Maybe create a "Common Palette" and a "Widgetset-specific Palette".

But that is a other story... (and needs lot of work)


Here, in my dreams, 3 Typhon-looks depending of widgetset used by project (console app (none), lcl app, fpgui app) (missing msei but same idea).

Console : Common Components Palette + LCL code editor + LCL message.




LCL : Common Components Palette + LCL Components Palette + LCL code editor + LCL form designer + LCL object-inspector + LCL message.




fpGUI : Common Components Palette + fpGUI Components Palette + LCL code editor + fpGUI form designer + fpGUI object-inspector + LCL message.



Thanks

PS : Im not member of any widgetset army...

Many thanks.

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

Last edit: by fredvs.

Custom form designer ? 10 years 5 months ago #4817

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
This is very very good Idea
my team here is under war now
We make plans but I thing until ver 5.xx we must solve some problems
of current Architecture...
PilotLogic Architect and Core Programmer

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

Custom form designer ? 10 years 5 months ago #4820

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor
Yep, nice to read such positive reactions...

Hum, if you want, i have adapt the fpGUI form designer, palette components and object editor so it fits perfectly in Typhon project, with same look as LCL.
(You can see on screen-shot earlier topic) and will share the code with pleasure.

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

Custom form designer ? 10 years 5 months ago #4821

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
We waiting for that Sir
PilotLogic Architect and Core Programmer

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

Custom form designer ? 10 years 5 months ago #4824

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor

We waiting for that Sir


Ok, i gonna first ask to Graeme if he agree (and if he is ok with the code-adaptation) and then i give you the source.

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

Custom form designer ? 10 years 5 months ago #4878

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor
Hello everybody.
Here extended version of fpGUI uidesigner.

github.com/fredvs/uidesigner_ext

It allows to perfectly fits the IDE.
There are also many other options (Window list, ...).

Just compile uidesigner.dpr:

in /bin there are binary for Linux 64 and Windows 32.

PS: You need to install fpGUI.
For that go to site:
=> github.com/graemeg/fpGUI/tree/develop

-Click on Download ZIP button, on right side...
-Unzip it.

Load Typhon:

- in Package, Open Package (.lpk)
Choose :
- for Windows : fpGUI-develop/src/corelib/gdi/fpgui_toolkit.lpk
- for Linux : fpGUI-develop/src/corelib/x11/fpgui_toolkit.lpk
Compile the package.

Have fun.

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

Last edit: by fredvs.

Custom form designer ? 10 years 5 months ago #4879

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
Thanks Sir
we have now a lot of work...
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Lieven Vandaele

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

Custom form designer ? 10 years 5 months ago #4882

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor

we have now a lot of work...


Not sure, only add a button to swith to fpGUI <> lcL designer.

The bigger work will be to add a command-line option for loading only one instance of Typhon.

Once you have done this, i will help you (if you want) for the rest....

Thats alll.

Many thanks.

PS : I upload a new version of fpGUI Ext_UiDesigner (better fit inside Typhon)

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

Last edit: by fredvs.

Custom form designer ? 10 years 4 months ago #4894

  • fredvs
  • fredvs's Avatar Topic Author
  • Visitor
  • Visitor
Hello everybody.
Here extended version of fpGUI uidesigner on GitHub.

>> github.com/fredvs/uidesigner_ext

The coming version will work "Run Only Once with Parameters".
Command line parameter allow to load a new file and close-save-load already loaded file.

So it will be extremely easy to integrate fpGUI with Typhon...

PS : Here a little utility allow to make Typhon (or other app) "Run Only Once and Post it"...
It comes with example (source and binary-compiled).

>> github.com/fredvs/runonce_postit

Have fun.

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

Last edit: by fredvs.
  • Page:
  • 1