Is it possible to perform or-ing* of constants or CommonQt lacks this functionality? *Like in this C++ example: QLabel label("A label"); label.setAlignment( Qt::AlignRight | Qt::AlignBottom );
Hello.
On Sun, Nov 4, 2012 at 5:51 PM, Goheeca goheeca@gmail.com wrote:
Is it possible to perform or-ing* of constants or CommonQt lacks this functionality? *Like in this C++ example: QLabel label("A label"); label.setAlignment( Qt::AlignRight | Qt::AlignBottom );
You can use ENUM-OR, e.g. (qt:enum-or (#_Qt::AlignRight) (#_Qt::AlignBottom))
-- Ivan Shvedunov ivan4th@gmail.com ;; My GPG fingerprint is: 2E61 0748 8E12 BB1A 5AB9 F7D0 613E C0F8 0BC5 2807
commonqt-devel@common-lisp.net