Class QtLuaListener emits signals when its parent receives event messages. This is convenient because the Lua program can define event handling functions using the signal connection function qt.connect.

Subsections

  1. qt.QtLuaListener(qwidget)
  2. [QtLuaListener signal] sigClose()
  3. [QtLuaListener signal] sigResize(int,int)
  4. [QtLuaListener signal] sigKeyPress(QString,QByteArray,QByteArray)
  5. [QtLuaListener signal] sigKeyRelease(QString,QByteArray,QByteArray)
  6. [QtLuaListener signal] sigMousePress(int,int,QByteArray,QByteArray,QByteArray)
  7. [QtLuaListener signal] sigMouseRelease(int,int,QByteArray,QByteArray,QByteArray)
  8. [QtLuaListener signal] sigMouseDoubleClick(int,int,QByteArray,QByteArray,QByteArray)
  9. [QtLuaListener signal] sigMouseMove(int,int,QByteArray,QByteArray)
  10. [QtLuaListener signal] sigEnter(bool)
  11. [QtLuaListener signal] sigFocus(bool)
  12. [QtLuaListener signal] sigShow(bool)
  13. [QtLuaListener signal] sigPaint()