Enumerations: important change! (EQL 11.2.1)

7 views
Skip to first unread message

Polos Ruetz

unread,
Feb 15, 2011, 6:32:19 AM2/15/11
to eql-user
Enumerations in EQL have been quite a hassle in the past...
I changed them in a uniform, simple, and hopefully familiar looking manner.
Example: (see http://gitorious.com/eql/eql/blobs/master/src/lisp/enums.lisp)

Qt.AlignCenter

Note to Emacs/SLIME users: in order to have them available in code
completion, you need to type them all lower case (not camelCase).

Sorry if this change breaks your current code, but I think this
simplification has been really necessary.

Paul

P.S. currently all enums defined with Q_ENUMS, Q_FLAGS are fully
supported; some other ones are still missing, as I need to add them
manually...

Polos Ruetz

unread,
Feb 16, 2011, 5:56:42 AM2/16/11
to eql-user
On 15 Feb, 12:32, Polos Ruetz <polos.ru...@gmail.com> wrote:
>   Qt.AlignCenter

Update(!)

In EQL 11.2.2 I made a small but significant change, example:

|Qt.AlignCenter|

So, the case is now preserved, which fits perfectly with e.g. auto
completion in Emacs/SLIME (please ignore the statement from my message
above, regarding lower case / camelCase in auto completion).

Paul

Polos Ruetz

unread,
Mar 28, 2011, 3:24:01 PM3/28/11
to eql-user
On 15 Feb, 13:32, Polos Ruetz <polos.ru...@gmail.com> wrote:
> P.S. currently all enums defined with Q_ENUMS, Q_FLAGS are fully
> supported; some other ones are still missing

P.P.S. I just added all Qt enums (parsing the Html docu).

Paul
Reply all
Reply to author
Forward
0 new messages