Package qtuiloader
provides
functions for dynamically creating widgets
from the user interface files created by program
Qt Designer.
This is achieved by providing bindings for the Qt class
QUiLoader
.
Directory ${=_TorchInstallDir=}/share/lua/5.1/qtuiloader
contains a small demonstration of this package.
Use program
Qt Designer
to examine file test.ui
.
Then load file test.lua
into the
qlua
program.
$ cd /usr/local/share/lua/5.1/qtuiloader $ /usr/local/bin/qlua Lua 5.1 Copyright (C) 1994-2008 Lua.org, PUC-Rio > dofile('test.lua')