It is currently Thu Jul 18, 2019 10:35 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 101 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: SweetyVD (Visual Designer)
PostPosted: Sun Mar 26, 2017 3:06 am 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
SweetyVD (Visual Designer) is, as its name suggests, a small visual designer (without any more pretensions) to create an interface.

SweetyVD on French forum: http://www.purebasic.fr/french/viewtopi ... =3&t=16527

Not visible on the interface:
- Up, down, left and right arrows to move a gadget in addition to mouse and position.
- Shift + Arrows to resize with keyboard
- Right click to get a popup menu for creating gadgets with automatic alignment (idem bouton +). Insert key under Linux.
- Del key to delete a selected gadget.

Tested in Windows and in Linux under VMware. No Mac around to test it.
Note Linux: in order to use the WebGadget you have to utilize WebKitGTK. See Shardik's post viewtopic.php?f=15&t=54049
To install the Gtk3 libraries on Debian/Ubuntu:
sudo apt-get install libwebkitgtk-3.0-0

Given the concept, with real gadgets and overlay canvas, there is a tiny flickering when moving.
But with the advantage of having the real gadgets drawn and SetGadgetText, Attribute, State, available and visible.

Image

Thanks for your +- feedback 8)
Any ideas for improvement are welcome ;)

Last Edition 2017/05/18, Version 1.9.3
Complete package with sources, icon and images on Github github SweetyVD (Virtual Designer)
Latest release
Enjoy :)


Last edited by ChrisR on Thu May 18, 2017 1:18 pm, edited 11 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Mar 26, 2017 3:08 am 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Reserved


Last edited by ChrisR on Fri Mar 31, 2017 1:40 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Mar 26, 2017 1:38 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 805
Location: Cuernavaca, Mexico
Chris,
I like the simplicity, the ability to move gadgets with the arrow keys (and adjust the granularity down to 1 pixel, if I want)

Thanks for including the source code. It's nice to see your process. :)

Please continue to improve this, it's appreciated.

_________________
- It was too lonely at the top.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 8:08 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 3378
Location: New Zealand
nice thanks for sharing, works well

_________________
Got winter blues?
Enjoy a Caravan Trip into, "The Land of Grey and Pink", wine and punk weed optional!
https://www.youtube.com/watch?v=9hmFzGTxod4


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 9:07 am 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Thanks for your encouragements, I appreciate :)
Sorry for the late response, I was not at home Sunday and Monday

edited by fred: no such picture allowed.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 9:11 am 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4462
Location: Lyon - France
I love VD, great idea to try create it open source 8)
It's not also simple we believe, it's a lot of works :|

Good begining, always a little bit of flickering, and a resizing of the main window be usefull :?

I love too the "little icon" on the left :mrgreen:

Thanks for sharing 8)

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 9:25 am 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Hi KCC,
One of the first to have supported me, thanks :)
I did not know in what I start at the beginning.

The picture above is for you, sorry not a gif :wink:
It is really good to read you on the forum, with your incredible picture collection :shock:

Otherwise, the window is resizable, as well as the drawing area (ScrollArea).
And with (eg: size for testing: 1920*1020), if you resize the window, the ScrollArea follows.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 9:44 am 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Sorry for the picture Fred, it wanted to be only a trait of humor, sexy but no more.
I would take care.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 12:53 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 735
Location: Nottinghamshire UK
Hi ChrisR Just got to say Like it, Like it, Like it, Like it, Like it, Like it, Like it, !!! :) keep up the work.

Zebuddi.

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 10:10 pm 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Thanks Zebuddi to like it, :)

I updated the screen image with an example of the properties.
#
To be sure that there is no misunderstanding about the following of this dev.
The initial goal is just an exercise to enter into PB without others ideas behind.
I want to stay basic and simple, it remains the properties of the gadgets to be developed, with:
Caption, ToolTip, Mini, Maxi, Image, Front and Back Color, #PB Constants and maybe some Set Text|State
I did not really plan to go further, in a first step (container, rebuild an interface from a .pb source)
Then, I will see if it can be useful for? i don't know!
Regards :)


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 10:31 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 2967
Location: Boston, MA
haha, you are no beginner. 8)
Can't wait to see what happens when you are expert. :idea:

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Mar 28, 2017 10:56 pm 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Thanks, I take it as a compliment :)
But, no, no, I assure you, I am really a beginner on PC dev.
I come from the iSeries(As400) environment and there, indeed, I am rather an expert after 25 years on it (DB2/400,RPG3,4,ILE,SQL).
I had a good time on, reading sources as if they were a book.
But now it is really aging and not much interesting project around.
And I would like to move on to something else for my next 15 years of work.
but on PC dev, only few things on AutoIT and 3,4 small dev on PB, that's all.

Edit: And, I want to add that a lot of credit goes to:
STARGÅTE for his Transformation of gadgets at runtime module
Falsam for his Tiny Visual Designer (TVD)
As written in the source block title.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Mar 29, 2017 12:26 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 735
Location: Nottinghamshire UK
Hi ChrisR

SweetyVD_1.51.zip invalid\corrupt please can you post again :)

I was looking at Danilo`s Properties grid http://www.purebasic.fr/english/viewtopic.php?f=12&t=50014
with incorporating this, from the image looks like you`ve done a good job already. Already added two of my own gadgets so working on adding custom gadgets :)
So thank you for posting SweetyVD (not sure about the name though) It`s something I`ve really wanted to have a go at and have to say the code is short and concise easy to get to grips with and I`m sure i`m going to have many hours fun playing with ideas and learning :)

Zebuddi.

PS Was also looking at Stargates Tranformation code which is excellent :) and SweetyVD is my VD of Choice. Hummmmm see what i mean lol

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Mar 29, 2017 3:46 pm 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Hi Zebuddi,

I uploaded again, SweetyVD_1.51.zip, same url on post #1.
The first time I have a corrupted file following 7-zip + FilleZilla.

Thanks for the link to Danilo's PropertyGridGadget, sounds great :)
But for now, in a first step, I want to finish it by doing at the simplest.
And only few StringGadget + ListIconGadget for constants should be enough (Not so many properties to manage).
and I guess that it will be easier for understanding and for sharing it as base.

Have fun with it as I had to develop it 8)
(The hottest are calculations for mini, maxi moving)


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Fri Mar 31, 2017 1:47 pm 
Offline
User
User
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 84
Location: France
Updated to v1.6.0
The main properties are now handled (Caption, Tooltip, Mini, Maxi, Choose Image, Pick Front and Back Color, #PB Options).
All Gadgets, out of containers are available.
...
The Sceenshot and the Github link (new) has been updated on the first post.

Image

I hope there is not too much Bug
Thanks for your tests and feedback :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye