A Text User Interface library.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
QUI is a widget based Text User Interface library for the D Language.
- Easy to add more widgets
- Widgets are isolated, each widget draws in it's own "area"
- Easy to get started with (
source/demo.dexplains how to use most of it)
- Timer Events, the timer duration can be changed
- Support for mouse events
- Most, if not all, of the code is commented
- Unicode characters supported
Setting it up
To use qui in your dub package, run this in your dub package's directory:
dub add qui
qui also uses
utils package, and you will also need it in your package, so you also need to do:
dub add utils
and add following import to your code.
import utils.misc : uinteger, integer;
All the widgets are contained in
qui.widgets, and the base classes are in
You should also read through
docs/*.md for a quick start on how to use and write new widgets.
The included demo configuration (
source/demo.d) demonstrates the usage of some of the included widgets. To build & run it, run the following:
dub fetch qui dub run qui --b=release --c=quidemo
docs/ for documentation on how to use qui and how to write widgets.
Additionally, you could also see
source/qui/widgets.d and see some existing widgets, this can be helpful in writing new widgets.
See the issues tab. If you came across some new issue, start a new one.
TODO for upcoming versions
QLayoutmanage scrolling of long widgets instead of implementing it in each widget
- Registered by Nafees Hassan
- 0.5.1 released a year ago
- Copyright © 2017-2020, Nafees Hassan