You cannot post messages because only members can post, and you are not currently a member.
Description:
Users of EQL - an ECL embedded Qt Lisp
|
|
|
wrapping a non-qt c++ class
|
| |
I have an eql application that I'm writing using the my_app template
from the source tree, with most of the code in lisp. Can I link in and
use a C++ class from an external library? And if so, could someone
provide a small example?
martin
|
|
Critical bug fixed! (QTableWidget etc.)
|
| |
A critical bug has been fixed: when running e.g. "examples/0-Tutorial/4.lisp", both selection of items and editing didn't visually work properly. (The bug was in some originally pure virtual method, which returned a "null" value instead of the default one in the 'L' subclass.) I'm really sorry for this, and invite all of you to use the new version... more »
|
|
QBrush opacity problem
|
| |
Simple test script attached - I'm trying to define a brush via
(defun brush (r g b a)
(let ((brush (qnew "QBrush"))
(color (qfun "QColor" "fromRgb" r g b a)))
;(format t "~d" (qfun color "alpha"))
(x:do-with (qfun brush)
("setStyle" |Qt.SolidPattern|)
("setColor(QColor)" color))... more »
|
|
QCONNECT and conditions
|
| |
G'day,
I have attached a patch that outputs a message if a SERIOUS-CONDITION is encountered during the execution of a QCONNECT function. I find it particularly useful when using EQL in an embedded context as errors appear to be silently ignored.
Thanks
Mark
|
|
CL_EQL: use Qt from any CL + CFFI
|
| |
A (maybe a bit crazy) idea which I hade some time ago is now ready:
Using Qt interactively from any CL + CFFI + Slime (no CL threads needed).
It requires only CFFI and a small C++ plugin, and of course "EQL local-server".
See file "CL_EQL/README.txt" for more info:
[link]... more »
|
|
Segfault with QBrush(QGradient)
|
| |
G'day,
I get a segfault when I execute the following code:
(qnew "QBrush(QGradient)" (qnew "QLinearGradient(QPointF,QPoin tF)" '(0 0)
'(1 1)))
EQL version 12.10.7, Qt 4.8.3 and ECL 4a4c2289
Thanks
Mark
|
|
Can't get QIcon::fromTheme to work
|
| |
I can't seem to get an icon from a theme, possibly because I am not using it the right way. I have tried various ways, such as: (qfun "QIcon" "fromTheme(QString)" "icon-name") (let ((q-icon (qnew "QIcon"))) (qfun q-icon "fromTheme(QString)" "icon-name")) This results in: [EQL:err] QINVOKE-METHOD #<QIcon 0x4e533c0> NIL "fromTheme(QString)"... more »
|
|
Trivial one-way use (send only) of EQL from any CL
|
| |
So, playing around I had this stupid idea:
- run the "EQL local-server" (example 9)
- load "send.lisp" into any CL
Now you can do this:
#q (qmsg (package-name *package*))
#q (qmsg #.(package-name *package*)) ; pass any data
#q (load "../2-clock.lisp")
#q (qfun clock::*clock* "showMaximized")... more »
|
|
QAbstactItemView::State is protected
|
| |
G'day,
Please find attached a patch that removes an error about QAbstractItemView::State being protected.
I would guess the Qt class has changed. I am using Qt 4.8.3.
Thanks
Mark
|
|
|