[Gambas-user] QtBasic = Q7Basic some interesting features

Demosthenes Koptsis demosthenesk at ...626...
Wed Jun 13 13:29:45 CEST 2012


Hello i would like to inform you about a basic language perhaps you may 
already know.

The old KBasic is now Q7Basic
http://www.q7basic.org/

This project has some nice features, it is an object oriented Basic 
compiler which generates equivalent C++ code, managing QT widgets and 
classes natively !
This means that you write in Basic language Qt code.
The compiler makes for you C++ files and a Qt Project that can be opened 
in QtCreator.

-----------------------------------------------------------------------
example for a PushButton with object name "a":
Signal on_a_clicked(Checked As Boolean)

     MsgBox("on_a_clicked")

     Dim w As QWidget = OpenWindow("window1")' returned qwidget is 
useable when it is still open only

End Signal

-----------------------------------------------------------------------

It is object oriented
It supports polymorphism
It uses ui files and QtDesigner as GUI builder
You can use C++ libs in your Basic Source code !!!
and more, see the site.

Actually has been going to be named QtBasic but this was not able due 
some copyright laws and the project named Q7Basic.

Benoit see it you can evaluate it better and see if there are any nice 
features for Gambas





More information about the User mailing list