GUIs??????
ValeT
Posts: 308
Hello,
I was wondering if GUIs could be implemented in the BASIC editor and SimpleIDE. I would like to see if something like the GUIs in Java could be implemented. Does anyone know if this is already supported or is currently in development?
@jazzed, the GUI windows would be used to display information in a better fashion. For example, if I wanted to get input from a user, to decide which LEDs to turn on in a Christmas light display, it would be easier if I could get input through a text field in a separate window compared to getting input through the terminal. Does that clear things up a little bit?
Thanks for the help
I was wondering if GUIs could be implemented in the BASIC editor and SimpleIDE. I would like to see if something like the GUIs in Java could be implemented. Does anyone know if this is already supported or is currently in development?
@jazzed, the GUI windows would be used to display information in a better fashion. For example, if I wanted to get input from a user, to decide which LEDs to turn on in a Christmas light display, it would be easier if I could get input through a text field in a separate window compared to getting input through the terminal. Does that clear things up a little bit?
Thanks for the help
Comments
Perfectly possible.
SimpleIDE is written in C++ and uses the Qt GUI toolkit.
One could extend SimpleIDE with whatever GUI interface you would like. Qt makes it quite easy to include all the usual widgets, edit boxes, check boxes, sliders, lots off stuff.
Of course rather than add all that to SimpleIDE it would be better to create your own GUI app. Qt is nice because the resulting code can be compiled for Windows, Mac, Linux and other platforms. There is a nice IDE for Qt called Qtcreator. Qt is very well documented.
You can get the Qt libraries and tools from here: http://qt-project.org/downloads and there is a ton of documentation on that site.
We look forward to seeing what you come up with.
But does the BASIC editor support GUIs? My brother is taking over my school's robotics club, and would like to do a project that is simple - in PBasic - that uses GUIs.
Sorry if this is a stupid question, but what do you mean by a GUI app?
Whatever language you use if your GUI is running on the PC it will need to be in communication with your Propeller. Over that USB-serial programming cable for example.
You will need to create cone in the GUI and in the Propeller to maintain that communication using whatever protocol you care for.