Wrapper functions for all Qt methods

10 views
Skip to first unread message

polos

unread,
Sep 27, 2014, 11:16:08 AM9/27/14
to eql-...@googlegroups.com
I've added generation of wrapper functions for all (more than 4000) Qt methods (see "src/lisp/define-all-wrappers.lisp").

After loading "src/lisp/all-wrappers.lisp", Qt function calls can be written like this:

  (|show| widget)

  (|toString| (|currentTime.QTime|)) ; static function

  (|begin(QWidget*)| painter)        ; type list where needed


The advantages are:

- tab completion in Emacs (more than 4000 functions)
- ambiguous type lists: tab completion will show all options
- no more casts needed (see note in Sokoban example)

See also new "README-OPTIONAL.txt" (for integrating wrappers permanently).

Paul
Reply all
Reply to author
Forward
0 new messages