IceDesign GUI designer

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Kuron wrote: Thu Feb 02, 2023 10:47 pm Very happily just ordered it! Awesome product!
Thank you for your purchase, glad you like it :)
cptdark
New User
New User
Posts: 4
Joined: Sat Feb 04, 2023 2:08 pm

Re: IceDesign GUI designer

Post by cptdark »

Nice work, bought today.
One question: How to change tab order, or insert a Tab at specific position in a PanelGadget?
User avatar
Caronte3D
Addict
Addict
Posts: 1027
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: IceDesign GUI designer

Post by Caronte3D »

I tink it's not possible, you can only add or delete tabs.
cptdark
New User
New User
Posts: 4
Joined: Sat Feb 04, 2023 2:08 pm

Re: IceDesign GUI designer

Post by cptdark »

Caronte3D wrote: Sat Feb 04, 2023 8:36 pm I tink it's not possible, you can only add or delete tabs.
Then it's a feature request ;)
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

cptdark wrote: Sat Feb 04, 2023 8:16 pm Nice work, bought today.
One question: How to change tab order, or insert a Tab at specific position in a PanelGadget?
Thanks :)
It's actually possible to change the tab order through a new temporary tab and cut/paste all... but it's of course far from ideal.
I'm looking into how to change the order of the tabs.
And I should be able to do it, probably with 2 new options in the Panel Context Menu: "Move Tab to Left" and "Move Tab to Right"
cptdark
New User
New User
Posts: 4
Joined: Sat Feb 04, 2023 2:08 pm

Re: IceDesign GUI designer

Post by cptdark »

ChrisR wrote: Mon Feb 06, 2023 4:30 pm Thanks :)
It's actually possible to change the tab order through a new temporary tab and cut/paste all... but it's of course far from ideal.
I'm looking into how to change the order of the tabs.
And I should be able to do it, probably with 2 new options in the Panel Context Menu: "Move Tab to Left" and "Move Tab to Right"
Okay, I'll try.

Here's a bug I found:
* new Project
* add 4 Buttons
* left click first
* hold STRG and klick Button2, Button3, Button 4 -> all selected
* set Button_Toggle constant
* Result: Button 1 and 4 have this flag, Button 2 and 3 not

* new Project
* add 4 Buttons
* left click first
* hold STRG and klick Button2, Button3, Button 4 -> all selected
* klick Button3 without STRG pressed -> all seem to be still selected
* set Button_Toggle constant
* Result: Button 1 and 3 have this flag, Button 2 and 4 not

V1.8.8 64 Bit Win10
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

IceDesign has been updated in version 1.8.9
  • Fixed mass update of constants for a group of selected gadgets..
  • Possible reorganization of the panel tabs with 2 new options added in its context menu: "Move tab to the left" and "Move tab to the right".
Image
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: IceDesign GUI designer

Post by blueb »

Hi Chris... nice to see all the improvements. :)

Quick question... creating a 'JellyButton', I notice visually there is not a great differential between the regular button view and the toggled view.
Notice that the regular button turns a light blue when toggled.

Is it possible to enhance IceDesign to 'flip' the colors when the button is in the toggled mode?

Example code:

Code: Select all


EnableExplicit

;- Enumerations
Enumeration Window
  #Window_0
EndEnumeration

Enumeration Gadgets
  #Btn_Jelly_Toggle_Button
  #Btn_Regular_Toggle_Button
EndEnumeration

Enumeration Font
  #Font_0
EndEnumeration

;- Load Fonts
LoadFont(#Font_0, "Calibri", 14, #PB_Font_Bold)

;- Declare
Declare Open_Window_0(X = 0, Y = 0, Width = 1200, Height = 800)

XIncludeFile "JellyButtons.pbi"

Procedure Open_Window_0(X = 0, Y = 0, Width = 1200, Height = 800)
  If OpenWindow(#Window_0, X, Y, Width, Height, "Title", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered)
      SetWindowColor(#Window_0, $A8CAE3)
    JellyButton(#Btn_Jelly_Toggle_Button, 150, 230, 370, 110, "Jelly Toggle Button", $141F54, $A8CAE3, #PB_Button_Toggle)
      SetGadgetFont(#Btn_Jelly_Toggle_Button, FontID(#Font_0))
    ButtonGadget(#Btn_Regular_Toggle_Button, 150, 360, 370, 110, "Regular Toggle Button", #PB_Button_Toggle)
      SetGadgetFont(#Btn_Regular_Toggle_Button, FontID(#Font_0))

  EndIf
EndProcedure

CompilerIf (#PB_Compiler_IsMainFile)
;- Main Program
Open_Window_0()

;- Event Loop
Repeat
  Select WaitWindowEvent()
    Case #PB_Event_CloseWindow
      Break

      ;-> Event Gadget
    Case #PB_Event_Gadget
      Select EventGadget()
        Case #Btn_Jelly_Toggle_Button   ; Jelly Toggle Button
          Debug "Jelly toggled"
        Case #Btn_Regular_Toggle_Button   ; Regular Toggle Button
          Debug "Regular toggled"
      EndSelect

  EndSelect
ForEver
CompilerEndIf

- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Hi blueb, indeed there is not a big contrast, highlighting.
I looked quickly, the image (imgPressed) is just flipped vertically in Make_Jelly_Images() procedure. It would probably be better with a filter to highlight it.
As you know it, you may have already an idea! otherwise I'll have a look but I don't really have time the next few days.
ebs
Enthusiast
Enthusiast
Posts: 530
Joined: Fri Apr 25, 2003 11:08 pm

Re: IceDesign GUI designer

Post by ebs »

I just made my purchase this morning.

I've used other free and paid designers previously, and this one is considerably better.
It writes code without a lot of unnecessary details, and uses simple enumerations much like my manually-written code.

But the BEST part is the "PBForm2IceDesign.pbi" add-in, which converts your forms to IceDesign format.
It produced an almost flawless copy of a simple data entry form with text, string, date and listicon gadgets.
This is something I've been wanting to be able do for a long time. Bravo!
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Thank you for your purchase ebs and for your very nice comment :) I wish you a good use
ebs
Enthusiast
Enthusiast
Posts: 530
Joined: Fri Apr 25, 2003 11:08 pm

Re: IceDesign GUI designer

Post by ebs »

Hi @ChrisR,

My first request - would it be possible to add an Undo function?
I'm still learning exactly how the toolbar functions work with multiple controls, so an Undo button would be very handy.

Also a question - I haven't found a lot of difference between selecting multiple controls vs. making a group.
Could you please explain when to use one or the other?

Regards,
Eric
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Hi Eric,

You are not the first one to ask for Undo/Redo feature
But it is not so simple, I have many many possible action to deal with:
Create and delete gadget, open and close container, create and delete tab, change the tab order,
Cut, Copy, Paste, Clone, move or resize a gadget or a group of Gadgets,
Each property: Caption, Font, Back and Front Color, Lock and proportional, constants...
With grouped actions or not.

I have a template that is ~ ready for Undo/Redo, I may publish it in Tips and Tricks.
But I will not go further for the moment.
I'm leaving in 2 weeks 1/2 with my wife for a 6 months tour of Europe in a Camper Van and I won't have 4G everywhere so maybe some movies in the evening but not much computer.
I have some work to do to prepare the van and this trip and it would be too risky to do it before and not be able to do any support.
So if I do something, it will be later after the 6 months of travel.

#
About multiple selection and group
Create a group allows to select the whole group as soon as one of its gadgets is selected.
It can be useful for future selections eg: move an address goup, with name, mail, adress, city, country...
But otherwise, there is not a big difference between a multiple selection and making a group. Just the way to select them.
ebs
Enthusiast
Enthusiast
Posts: 530
Joined: Fri Apr 25, 2003 11:08 pm

Re: IceDesign GUI designer

Post by ebs »

Thanks for the information and have a great 6 months without a computer!
I'd like to be able to do that (sometimes) :D
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: IceDesign GUI designer

Post by Kuron »

Chris: Thank you for everything you do and I hope you and wifey have a wonderful and safe trip and enjoy yourselves. Enjoy your time together. More couples need to be able to do things like this.
Best wishes to the PB community. Thank you for the memories. ♥️
Post Reply