cboulanger / qx-contrib-Dialog

A set of often used dialog widgets for the qooxdoo framework (deprecated, use qooxdoo/qxl.dialog instead)
6 stars 10 forks source link
qooxdoo-package

Deprecation Notice

The qooxdoo dialog package has moved to https://github.com/qooxdoo/qxl.dialog. While this repo/package is still functional, it won't be maintained any longer. If you are using the Dialog package, please migrate at your earliest convenience. The only code migration necessary is to install qooxdoo/qxl.dialog instead of cboulanger/qx-contrib-Dialog and replace the dialog top-level namespace uses in your apps with qxl.dialog.

Qooxdoo Dialog Widgets

This is version 2 which only works with the new JavaScript compiler and qooxdoo v6. qooxdoo v5 and the python toolchain are no longer supported.

A set of often used dialog widgets for the qooxdoo framework.

Demo: http://cboulanger.github.io/qx-contrib-Dialog/build/index.html

API Viewer: http://cboulanger.github.io/qx-contrib-Dialog/api/index.html#dialog

See Demo app for examples how to use the widgets.

Installation:

qx contrib install cboulanger/qx-contrib-Dialog

Install icon theme

From v1.3.0 on, the contrib allows you to use custom icons for the dialogs. However, this means that the icons will not work out of the box. You must use or extend one of the shipped icon themes in your application's meta theme (see this example) or copy the alias definitions from one of them into your own icon theme. You can also use your own choice of icons by writing an icon theme which defines defining the aliases "dialog.icon.(ok|cancel|info|warning|error)" with the paths to the icons. Those paths also need to be put into a @asset compiler hint. See, for example, this theme class.

Testing

npm install -g qxcompiler # must be version >=  v0.2.19
npm install
qx serve --target=build

Once the message 'Compiled x classes' appears, open a new terminal and start the tests with tests/run.sh. When the tests succeed, you can kill the server process in the first tab.

Changelog

v2.0.0

TODO