qooxview 1.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.project +13 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +89 -0
- data/LICENSE.txt +619 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/VERSIONS +12 -0
- data/lib/qooxview/additions.rb +161 -0
- data/lib/qooxview/config_yaml.rb +42 -0
- data/lib/qooxview/entity.rb +698 -0
- data/lib/qooxview/frontend/1build_generate +14 -0
- data/lib/qooxview/frontend/2src_generate +4 -0
- data/lib/qooxview/frontend/Manifest.json +34 -0
- data/lib/qooxview/frontend/README +19 -0
- data/lib/qooxview/frontend/UploadMgr/.project +11 -0
- data/lib/qooxview/frontend/UploadMgr/Manifest.json +34 -0
- data/lib/qooxview/frontend/UploadMgr/config.json +77 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/Manifest.json +34 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/config.json +84 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/generate.py +72 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/Application.js +224 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/simulation/DemoSimulation.js +44 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/test/DemoTest.js +55 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/theme/Appearance.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/theme/Color.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/theme/Decoration.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/theme/Font.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/class/uploadmgr/demo/theme/Theme.js +21 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/index.html +9 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/resource/uploadmgr/demo/test.png +0 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/script/uploadmgr.demo.d88b4fb45db4.js +1 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/script/uploadmgr.demo.js +211 -0
- data/lib/qooxview/frontend/UploadMgr/demo/default/source/translation/readme.txt +3 -0
- data/lib/qooxview/frontend/UploadMgr/generate.py +72 -0
- data/lib/qooxview/frontend/UploadMgr/server/LICENSE.TXT +3 -0
- data/lib/qooxview/frontend/UploadMgr/server/README.txt +3 -0
- data/lib/qooxview/frontend/UploadMgr/server/java/com/zenesis/qx/upload/DemoUploadServlet.java +176 -0
- data/lib/qooxview/frontend/UploadMgr/server/perl.cgi +62 -0
- data/lib/qooxview/frontend/UploadMgr/server/php.php +116 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/AbstractHandler.js +278 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/File.js +178 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/FormHandler.js +192 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/InputElement.js +68 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/MParameters.js +67 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/MUploadButton.js +40 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/UploadButton.js +35 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/UploadMgr.js +301 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/UploadToolbarButton.js +35 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/XhrHandler.js +176 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/simulation/DemoSimulation.js +44 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/test/DemoTest.js +55 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/theme/Appearance.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/theme/Color.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/theme/Decoration.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/theme/Font.js +18 -0
- data/lib/qooxview/frontend/UploadMgr/source/class/com/zenesis/qx/upload/theme/Theme.js +21 -0
- data/lib/qooxview/frontend/UploadMgr/source/index.html +9 -0
- data/lib/qooxview/frontend/UploadMgr/source/resource/com/zenesis/qx/upload/banner-bg.png +0 -0
- data/lib/qooxview/frontend/UploadMgr/source/resource/com/zenesis/qx/upload/banner.png +0 -0
- data/lib/qooxview/frontend/UploadMgr/source/resource/com/zenesis/qx/upload/logo.gif +0 -0
- data/lib/qooxview/frontend/UploadMgr/source/resource/com/zenesis/qx/upload/test.png +0 -0
- data/lib/qooxview/frontend/UploadMgr/source/translation/readme.txt +3 -0
- data/lib/qooxview/frontend/build/index.html +11 -0
- data/lib/qooxview/frontend/build/resource/frontend/test.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/app-header.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/down-invert.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/down-small-invert.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/down-small.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/down.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/forward.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/left-invert.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/left.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/rewind.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/right-invert.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/right.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/up-invert.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/up-small.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows/up.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/arrows-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/button-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/button-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/checkradio-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/colorselector/brightness-field.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/colorselector/brightness-handle.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/colorselector/huesaturation-field.jpg +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/colorselector/huesaturation-handle.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/colorselector-combined.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/cursors/alias.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/cursors/copy.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/cursors/move.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/cursors/nodrop.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/cursors-combined.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-checked.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-preselected.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-pressed.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/button.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-focused-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-hovered-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-pressed-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked-pressed.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-checked.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-focused-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-hovered-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-pressed-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-pressed.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined-focused-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined-hovered-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox-undetermined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checkbox.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checked-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/checked.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/input-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/input.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-focused-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-hovered-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-pressed-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked-pressed.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-checked.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-focused-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-focused.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-hovered-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-pressed-invalid.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton-pressed.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/radiobutton.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-arrow-right.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-arrow.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/tooltip-error.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/undetermined-disabled.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/form/undetermined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/group-item.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox/groupbox.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/groupbox-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu/background.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu/bar-background.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu/checkbox-invert.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu/checkbox.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu/radiobutton-invert.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu/radiobutton.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu-background-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/menu-checkradio-combined.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane/pane.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/pane-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-bg-horizontal.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-horizontal.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-vertical.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-bg-vertical.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-button-bg-horizontal.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-button-bg-vertical.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-down.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-left.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-right.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/scrollbar-up.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar/slider-knob-background.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/scrollbar-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/selection.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-small.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow/shadow.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow-small-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow-small-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/shadow-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/splitpane/knob-horizontal.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/splitpane/knob-vertical.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/splitpane-knobs-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table/ascending.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table/boolean-false.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table/boolean-true.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table/descending.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table/header-cell.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table/select-column-order.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/table-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-bottom-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-left-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-right-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tab-button-top-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview/tabview-pane.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-left-active-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-left-active-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-left-inactive-b-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-left-inactive-t-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-right-active-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-right-active-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-right-inactive-b-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-right-inactive-t-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-top-active-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-top-active-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-top-inactive-b-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-button-top-inactive-t-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-pane-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tabview-pane-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/toolbar/toolbar-gradient-blue.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/toolbar/toolbar-gradient.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/toolbar/toolbar-handle-knob.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/toolbar/toolbar-part.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/toolbar-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tooltip-error-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tooltip-error-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tree/closed-selected.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tree/closed.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tree/open-selected.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tree/open.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/tree-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/captionbar-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/close-active-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/close-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/close-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/maximize-active-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/maximize-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/maximize-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/minimize-active-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/minimize-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/minimize-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/restore-active-hovered.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/restore-active.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/restore-inactive.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-b.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-bl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-br.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-c.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-l.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-r.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-t.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-tl.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar-tr.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window/statusbar.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-captionbar-buttons-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-captionbar-lr-active-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-captionbar-lr-inactive-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-captionbar-tb-active-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-captionbar-tb-inactive-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-statusbar-lr-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/decoration/Modern/window-statusbar-tb-combined.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/actions/dialog-cancel.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/actions/dialog-ok.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/actions/view-refresh.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/actions/window-close.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/apps/office-calendar.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/apps/utilities-color-chooser.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/mimetypes/office-document.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/places/folder-open.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/16/places/folder.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/22/mimetypes/office-document.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/22/places/folder-open.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/22/places/folder.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/32/mimetypes/office-document.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/32/places/folder-open.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/icon/Tango/32/places/folder.png +0 -0
- data/lib/qooxview/frontend/build/resource/qx/static/blank.gif +0 -0
- data/lib/qooxview/frontend/build/resource/qx/static/blank.png +0 -0
- data/lib/qooxview/frontend/build/script/frontend.js +213 -0
- data/lib/qooxview/frontend/config.json +58 -0
- data/lib/qooxview/frontend/generate.py +149 -0
- data/lib/qooxview/frontend/mklink +2 -0
- data/lib/qooxview/frontend/readme.txt +11 -0
- data/lib/qooxview/frontend/source/class/frontend/Application.js +84 -0
- data/lib/qooxview/frontend/source/class/frontend/LAYOUT +120 -0
- data/lib/qooxview/frontend/source/class/frontend/Lib/Fields.js +1486 -0
- data/lib/qooxview/frontend/source/class/frontend/Lib/RPC.js +104 -0
- data/lib/qooxview/frontend/source/class/frontend/Lib/TimerF.js +63 -0
- data/lib/qooxview/frontend/source/class/frontend/Views/Form.js +150 -0
- data/lib/qooxview/frontend/source/class/frontend/Views/Ltab.js +633 -0
- data/lib/qooxview/frontend/source/class/frontend/__init__.js +6 -0
- data/lib/qooxview/frontend/source/class/frontend/globals.js +51 -0
- data/lib/qooxview/frontend/source/class/frontend/simulation/DemoSimulation.js +42 -0
- data/lib/qooxview/frontend/source/class/frontend/test/DemoTest.js +55 -0
- data/lib/qooxview/frontend/source/class/frontend/theme/Appearance.js +18 -0
- data/lib/qooxview/frontend/source/class/frontend/theme/Color.js +18 -0
- data/lib/qooxview/frontend/source/class/frontend/theme/Decoration.js +18 -0
- data/lib/qooxview/frontend/source/class/frontend/theme/Font.js +18 -0
- data/lib/qooxview/frontend/source/class/frontend/theme/Theme.js +21 -0
- data/lib/qooxview/frontend/source/index.html +11 -0
- data/lib/qooxview/frontend/source/resource/frontend/test.png +0 -0
- data/lib/qooxview/frontend/source/translation/readme.txt +3 -0
- data/lib/qooxview/helpers/config_base.rb +264 -0
- data/lib/qooxview/helpers/icc.rb +222 -0
- data/lib/qooxview/helpers/make_steps.rb +77 -0
- data/lib/qooxview/helpers/migration_version.rb +18 -0
- data/lib/qooxview/helpers/open_print.rb +286 -0
- data/lib/qooxview/helpers/permission.rb +146 -0
- data/lib/qooxview/helpers/qoox_parser.rb +54 -0
- data/lib/qooxview/helpers/session.rb +68 -0
- data/lib/qooxview/helpers/static.rb +23 -0
- data/lib/qooxview/helpers/upload_files.rb +27 -0
- data/lib/qooxview/helpers/vtlist_pane.rb +158 -0
- data/lib/qooxview/helpers/welcome.rb +55 -0
- data/lib/qooxview/qooxview.rb +175 -0
- data/lib/qooxview/rpcqooxdoo.rb +395 -0
- data/lib/qooxview/storage_handler.rb +455 -0
- data/lib/qooxview/storage_type.rb +129 -0
- data/lib/qooxview/storages/csv.rb +170 -0
- data/lib/qooxview/storages/ldap.rb +238 -0
- data/lib/qooxview/storages/sqlite.rb +198 -0
- data/lib/qooxview/value.rb +202 -0
- data/lib/qooxview/version.rb +3 -0
- data/lib/qooxview/view.rb +904 -0
- data/lib/qooxview.rb +83 -0
- data/qooxview.gemspec +50 -0
- data/test/benchmark_creation.rb +37 -0
- data/test/config.yaml +36 -0
- data/test/entities/config.rb +33 -0
- data/test/entities/course.rb +28 -0
- data/test/entities/databases.rb +17 -0
- data/test/entities/doubleCase.rb +12 -0
- data/test/entities/dummies.rb +24 -0
- data/test/entities/inventory.rb +6 -0
- data/test/entities/needs.rb +20 -0
- data/test/entities/person.rb +73 -0
- data/test/file_binary.bin +0 -0
- data/test/files/print_formulas.ods +0 -0
- data/test/files/print_formulas_2.ods +0 -0
- data/test/files/student_card.odg +0 -0
- data/test/gettext.po +24 -0
- data/test/gettext.pot +0 -0
- data/test/messages.mo +0 -0
- data/test/po/fr/LC_MESSAGES/gettext.mo +0 -0
- data/test/qooxdoo-layout-frontend.js +49 -0
- data/test/qv_configbase.rb +98 -0
- data/test/qv_entity.rb +271 -0
- data/test/qv_gettext.rb +28 -0
- data/test/qv_helpers.rb +173 -0
- data/test/qv_icc.rb +60 -0
- data/test/qv_migration.rb +130 -0
- data/test/qv_permission.rb +34 -0
- data/test/qv_print.rb +73 -0
- data/test/qv_session.rb +29 -0
- data/test/qv_sqlite.rb +73 -0
- data/test/qv_store_csv.rb +86 -0
- data/test/qv_stype.rb +41 -0
- data/test/qv_view.rb +204 -0
- data/test/st_dummy.rb +30 -0
- data/test/test.rb +49 -0
- data/test/views/aview.rb +24 -0
- data/test/views/bview.rb +10 -0
- data/test/views/configviews.rb +19 -0
- data/test/views/courseshow.rb +11 -0
- data/test/views/cview.rb +22 -0
- data/test/views/login.rb +15 -0
- data/test/views/print.rb +10 -0
- metadata +1068 -0
data/test/qv_print.rb
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
class TC_Print < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
dputs(2){ 'Deleting everything'
|
6
|
+
}
|
7
|
+
Entities.delete_all_data
|
8
|
+
Entities.load_all
|
9
|
+
Entities.ConfigBases.load
|
10
|
+
end
|
11
|
+
|
12
|
+
def teardown
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_print_nup
|
16
|
+
card = OpenPrint.new('Files/student_card.odg')
|
17
|
+
if true
|
18
|
+
card_1_pdf = card.print( [[/--NAME1--/, 'card1']], nil, 'name-1')
|
19
|
+
card_2_pdf = card.print( [[/--NAME1--/, 'card2']], nil, 'name-2')
|
20
|
+
else
|
21
|
+
card_1_pdf = '/tmp/name-1.pdf'
|
22
|
+
card_2_pdf = '/tmp/name-1.pdf'
|
23
|
+
end
|
24
|
+
assert_equal %w(/tmp/name-nup-front.pdf /tmp/name-nup-back.pdf),
|
25
|
+
OpenPrint.pdf_nup_duplex( [card_1_pdf, card_2_pdf], 'name-nup')
|
26
|
+
|
27
|
+
assert_equal %w(/tmp/name-nup-front.pdf /tmp/name-nup-back.pdf),
|
28
|
+
OpenPrint.pdf_nup_duplex( [card_1_pdf], 'name-nup')
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_print_formulas
|
32
|
+
op = OpenPrint.new('Files/print_formulas_2.ods')
|
33
|
+
op.print([%w(101 1), %w(102 2), %w(1002 1), %w(1003 2),
|
34
|
+
%w(2010-08-20 2015-01-07)])
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_openprint
|
38
|
+
@admin = Entities.Persons.create( :login_name => 'admin', :password => 'super123',
|
39
|
+
:permissions => ['default'] )
|
40
|
+
@josue = Entities.Persons.create( :login_name => 'josue', :password => 'super',
|
41
|
+
:permissions => ['default'] )
|
42
|
+
|
43
|
+
mm = RPCQooxdooService.services['View.PrintView']
|
44
|
+
sa = Sessions.create( @admin )
|
45
|
+
sj = Sessions.create( @josue )
|
46
|
+
PrintView.class_eval('
|
47
|
+
def call_lpstat(ip)
|
48
|
+
return []
|
49
|
+
end ')
|
50
|
+
|
51
|
+
assert_equal [:print_student], mm.printer_buttons
|
52
|
+
|
53
|
+
assert_equal mm.reply(:update, :print_student => 'print_student PDF'),
|
54
|
+
mm.reply_print( sa )
|
55
|
+
|
56
|
+
assert_equal mm.reply(:update, :print_student => 'print_student HP_LaserJet'),
|
57
|
+
mm.rpc_print( sa, :print_student, 'menu' => 'HP_LaserJet')
|
58
|
+
|
59
|
+
assert_equal mm.reply(:update, :print_student => 'print_student HP_LaserJet'),
|
60
|
+
mm.rpc_print( sa, :print_student, {} )
|
61
|
+
|
62
|
+
assert_equal mm.reply(:update, :print_student => 'print_student HP_LaserJet'),
|
63
|
+
mm.rpc_print( sa, :print_student, 'menu' => '')
|
64
|
+
|
65
|
+
assert_equal 'HP_LaserJet', mm.stat_printer( sa, :print_student ).data_str
|
66
|
+
assert_equal 'PDF', mm.stat_printer( sj, :print_student ).data_str
|
67
|
+
|
68
|
+
assert_equal mm.reply(:update, :print_student => 'print_student HP_LaserJet2'),
|
69
|
+
mm.rpc_print( sj, :print_student, 'menu' => 'HP_LaserJet2')
|
70
|
+
assert_equal 'HP_LaserJet', mm.stat_printer( sa, :print_student ).data_str
|
71
|
+
assert_equal 'HP_LaserJet2', mm.stat_printer( sj, :print_student ).data_str
|
72
|
+
end
|
73
|
+
end
|
data/test/qv_session.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
class TC_Session < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
Entities.delete_all_data
|
6
|
+
@admin = Entities.Persons.create( :first_name => "admin", :pass => "super123",
|
7
|
+
:address => "cdlf 24", :credit => 10000 )
|
8
|
+
Entities.Courses.create( :first_name => "base_1010", :start => "1.10.2010")
|
9
|
+
Entities.Courses.create( :first_name => "base_1011", :start => "1.11.2010")
|
10
|
+
@dummies_one = Entities.Dummies.create( :first_name => "one", :phone => "111",
|
11
|
+
:no_cache => "123" )
|
12
|
+
end
|
13
|
+
|
14
|
+
def teardown
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_new_session
|
18
|
+
session = Sessions.create( @admin )
|
19
|
+
dputs( 1 ){ "#{session.inspect}" }
|
20
|
+
assert_equal @admin.session_id, session.sid
|
21
|
+
assert_equal "admin", session.owner.first_name
|
22
|
+
|
23
|
+
search = Sessions.match_by_sid( session.sid )
|
24
|
+
assert_equal session.sid, search.sid
|
25
|
+
|
26
|
+
search.close
|
27
|
+
assert_equal nil, Sessions.match_by_sid( session.sid )
|
28
|
+
end
|
29
|
+
end
|
data/test/qv_sqlite.rb
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'benchmark'
|
3
|
+
|
4
|
+
class TC_SQLite < Test::Unit::TestCase
|
5
|
+
def setup
|
6
|
+
Entities.delete_all_data
|
7
|
+
@m1 = Entities.Movements.create( :desc => 'salaire', :money => 100 )
|
8
|
+
@m2 = Entities.Movements.create( :desc => 'pain', :money => 200 )
|
9
|
+
Entities.save_all
|
10
|
+
end
|
11
|
+
|
12
|
+
def teardown
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_create
|
16
|
+
one = Entities.Movements.match_by_desc('salaire')
|
17
|
+
assert_not_nil one
|
18
|
+
two = Entities.Movements.match_by_desc('pain')
|
19
|
+
assert_not_nil two
|
20
|
+
assert_equal 100, one.money
|
21
|
+
assert_equal 200, two.money
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_load
|
25
|
+
Entities.Movements.load
|
26
|
+
test_create
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_speed
|
30
|
+
Entities.delete_all_data
|
31
|
+
dputs( 1 ){ 'Creation of 250 entities: ' }
|
32
|
+
(1..4).each{|f|
|
33
|
+
dputs( 1 ){ Benchmark.measure{
|
34
|
+
(1..250).each{|e|
|
35
|
+
Entities.Movements.create( :desc => 'test', :money => e)
|
36
|
+
}
|
37
|
+
}.to_s
|
38
|
+
}
|
39
|
+
}
|
40
|
+
dputs( 1 ){ 'Loading 1000 entities: ' }
|
41
|
+
dputs( 1 ){ Benchmark.measure{ Entities.Movements.load }.to_s }
|
42
|
+
dputs( 1 ){ 'Searching in 1000 entities: ' }
|
43
|
+
dputs( 1 ){ Benchmark.measure{ Entities.Movements.matches_by_desc('test')}.to_s }
|
44
|
+
dputs( 1 ){ 'Searching test gives ' +
|
45
|
+
"#{Entities.Movements.matches_by_desc('test').count}"}
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_set_value
|
49
|
+
Entities.Movements.load
|
50
|
+
@m1.money = 300
|
51
|
+
@m2.money = 500
|
52
|
+
assert_equal 300, @m1.money
|
53
|
+
assert_equal 500, @m2.money
|
54
|
+
Entities.Movements.delete_all(true)
|
55
|
+
Entities.Movements.load
|
56
|
+
one = Entities.Movements.match_by_desc('salaire')
|
57
|
+
two = Entities.Movements.match_by_desc('pain')
|
58
|
+
assert_equal 100, one.money
|
59
|
+
assert_equal 200, two.money
|
60
|
+
|
61
|
+
one.money = 300
|
62
|
+
Entities.Movements.save
|
63
|
+
two.money = 500
|
64
|
+
Entities.Movements.save
|
65
|
+
assert_equal 300, one.money
|
66
|
+
assert_equal 500, two.money
|
67
|
+
Entities.Movements.load
|
68
|
+
one = Entities.Movements.match_by_desc('salaire')
|
69
|
+
two = Entities.Movements.match_by_desc('pain')
|
70
|
+
assert_equal 300, one.money
|
71
|
+
assert_equal 500, two.money
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
require 'benchmark'
|
2
|
+
|
3
|
+
class TC_Store_CSV < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
dputs(2) { 'Deleting everything' }
|
6
|
+
Entities.delete_all_data
|
7
|
+
|
8
|
+
dputs(2) { 'Setting up data' }
|
9
|
+
@admin = Persons.create(:first_name => 'admin', :pass => 'super123',
|
10
|
+
:address => 'cdlf 24', :credit => 10000)
|
11
|
+
Courses.create(:first_name => 'base_1010', :start => '1.10.2010')
|
12
|
+
@base_1011 = Courses.create(:first_name => 'base_1011', :start => '1.11.2010',
|
13
|
+
:teacher => @admin)
|
14
|
+
@dummies_one = Dummies.create(:first_name => 'one', :phone => '111',
|
15
|
+
:no_cache => '123')
|
16
|
+
dputs(2) { 'Finished setting up data' }
|
17
|
+
end
|
18
|
+
|
19
|
+
def teardown
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_dirty_flag
|
23
|
+
Entities.save_all
|
24
|
+
assert !@admin.changed
|
25
|
+
assert !Persons.changed
|
26
|
+
|
27
|
+
@admin.first_name = 'addmin'
|
28
|
+
assert @admin.changed
|
29
|
+
assert Persons.changed
|
30
|
+
|
31
|
+
Entities.save_all
|
32
|
+
assert !Persons.changed
|
33
|
+
|
34
|
+
surf = Persons.create(:first_name => 'surfer')
|
35
|
+
assert Persons.changed
|
36
|
+
assert surf.changed
|
37
|
+
end
|
38
|
+
|
39
|
+
def get_persons_csv
|
40
|
+
(Dir.glob('data/Persons.csv') +
|
41
|
+
Dir.glob('data/backup/Persons.csv.*')).sort
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_backup_count
|
45
|
+
(0..5).each { |i|
|
46
|
+
assert( get_persons_csv.size == i,
|
47
|
+
"We don't have #{i} files, but #{get_persons_csv.size}: #{get_persons_csv.inspect}")
|
48
|
+
@admin.first_name = "admin#{i}"
|
49
|
+
Entities.save_all
|
50
|
+
}
|
51
|
+
assert get_persons_csv.size == 6
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_dirty_data
|
55
|
+
(0..5).each { |i|
|
56
|
+
assert( get_persons_csv.size == i,
|
57
|
+
"We don't have #{i} files, but #{get_persons_csv.size}: #{get_persons_csv.inspect}")
|
58
|
+
@admin.first_name = "admin#{i}"
|
59
|
+
Entities.save_all
|
60
|
+
}
|
61
|
+
|
62
|
+
Entities.load_all
|
63
|
+
assert_equal 'admin5', Persons.find_by_pass('super123').first_name
|
64
|
+
assert_equal 6, get_persons_csv.count
|
65
|
+
|
66
|
+
# Test an invalid file - will the second-last be taken?
|
67
|
+
File.open('data/Persons.csv', 'a') { |f|
|
68
|
+
f.write('--no--valid--json--')
|
69
|
+
}
|
70
|
+
Entities.delete_all_data(true)
|
71
|
+
Entities.load_all
|
72
|
+
assert_equal 'admin4', Persons.find_by_pass('super123').first_name
|
73
|
+
assert_equal 6, get_persons_csv.count
|
74
|
+
|
75
|
+
# Invalidate everything
|
76
|
+
get_persons_csv.each { |name|
|
77
|
+
File.open(name, 'a') { |f|
|
78
|
+
f.write('--no--valid--json--')
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
Entities.delete_all_data(true)
|
83
|
+
Entities.load_all
|
84
|
+
assert_equal 1, get_persons_csv.count, get_persons_csv
|
85
|
+
end
|
86
|
+
end
|
data/test/qv_stype.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
class TC_SType < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
Entities.delete_all_data()
|
6
|
+
@one = Entities.Dummies.create( :first_name => "one", :phone => "111" )
|
7
|
+
@two = Entities.Dummies.create( :first_name => "two", :phone => "222" )
|
8
|
+
end
|
9
|
+
|
10
|
+
def teardown
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_type
|
14
|
+
assert_equal "111", @one.phone
|
15
|
+
assert_equal "222", @two.phone
|
16
|
+
|
17
|
+
assert_equal [ :dummy_id, :first_name ], @one.get_storage[:STdummy1].fields.keys.sortk
|
18
|
+
assert_equal [ :address, :dummy_id, :phone ], @one.get_storage[:STdummy2].fields.keys.sortk
|
19
|
+
|
20
|
+
assert_equal [ :address, :dummy_id, :first_name, :no_cache, :phone ],
|
21
|
+
Entities.Dummies.get_field_names.sortk
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_config
|
25
|
+
assert_equal "passit", @one.get_storage[:STdummy1].conf
|
26
|
+
assert_equal "hello_", @two.get_storage[:STdummy2].conf
|
27
|
+
|
28
|
+
assert_equal 20, @two.field_args( :phone )[:length]
|
29
|
+
end
|
30
|
+
|
31
|
+
# Look whether a new data-set get's the data_create called
|
32
|
+
def test_create
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_all
|
37
|
+
assert @one.get_storage[:STdummy1].has_field( :dummy_id )
|
38
|
+
assert @one.get_storage[:STdummy2].has_field( :dummy_id )
|
39
|
+
assert @one.get_storage[:STdummy3].has_field( :dummy_id )
|
40
|
+
end
|
41
|
+
end
|
data/test/qv_view.rb
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
class SimulWebReq
|
4
|
+
def self.header
|
5
|
+
{}
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.peeraddr
|
9
|
+
[0, 0, 0, 0]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
class TC_View < Test::Unit::TestCase
|
14
|
+
def setup
|
15
|
+
Entities.delete_all_data()
|
16
|
+
@admin = Entities.Persons.create(:first_name => 'admin', :pass => 'super123',
|
17
|
+
:permissions => 'admin')
|
18
|
+
@surf = Entities.Persons.create(:first_name => 'surf', :pass => 'surf',
|
19
|
+
:permissions => 'internet', :credit => 5000)
|
20
|
+
@autre = Entities.Persons.create(:first_name => 'autre', :pass => 'surf',
|
21
|
+
:permissions => 'internet', :credit => 5000)
|
22
|
+
@base = Entities.Courses.create(:first_name => 'base_10', :teacher => @surf)
|
23
|
+
@session_admin = Sessions.create(@admin, '0.1')
|
24
|
+
@session_surf = Sessions.create(@surf, '0.2')
|
25
|
+
end
|
26
|
+
|
27
|
+
def teardown
|
28
|
+
end
|
29
|
+
|
30
|
+
def request(service, method, args)
|
31
|
+
RPCQooxdooHandler.request(1, service, method, args, SimulWebReq)
|
32
|
+
end
|
33
|
+
|
34
|
+
def make_list(configs = [])
|
35
|
+
([%w(BView BView),
|
36
|
+
%w(CView CView),
|
37
|
+
%w(CourseShow CourseShow),
|
38
|
+
%w(AView AView),
|
39
|
+
%w(PrintView PrintView)] +
|
40
|
+
configs.collect { |c|
|
41
|
+
%W(ConfigView#{c} ConfigView#{c}) }).sort
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_order
|
45
|
+
View.update_configured_all
|
46
|
+
reply = request('View', 'list', [['0.1']])
|
47
|
+
dputs(1) { reply['result'].inspect }
|
48
|
+
assert_equal [%w(BView BView),
|
49
|
+
%w(CView CView),
|
50
|
+
%w(ConfigView2 ConfigView2),
|
51
|
+
%w(CourseShow CourseShow),
|
52
|
+
%w(PrintView PrintView),
|
53
|
+
%w(AView AView)],
|
54
|
+
reply['result'][0][:data][:views]
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_update
|
58
|
+
reply = request('View.AView', 'update', [['0.1']])
|
59
|
+
result = reply['result'][0][:data][0][:data]
|
60
|
+
dputs(4) { "Reply is #{reply.inspect} - result is #{result.inspect}" }
|
61
|
+
assert_equal 'admin', result[:first_name], result.inspect
|
62
|
+
assert !result.key(:permission)
|
63
|
+
end
|
64
|
+
|
65
|
+
def test_show
|
66
|
+
reply = request('View.CView', 'show', [['0.1']])
|
67
|
+
result = reply['result']
|
68
|
+
assert_equal [{:cmd => 'show',
|
69
|
+
:data =>
|
70
|
+
{:view_class => 'CView',
|
71
|
+
layout: ['group',
|
72
|
+
[['vbox',
|
73
|
+
[['group',
|
74
|
+
[['hbox',
|
75
|
+
[['group',
|
76
|
+
[['fields', [['int', :person_id, 'person_id', {:id => true}]]],
|
77
|
+
['vbox', [[:button, :new, 'new', {}]]]]]]]]],
|
78
|
+
['group',
|
79
|
+
[['hbox',
|
80
|
+
[['group',
|
81
|
+
[['fields',
|
82
|
+
[['str', :first_name, 'first_name', {:callback => 'yes', :width => 300}],
|
83
|
+
['str', :pass, 'pass', {:width => 300}]]]]]]]]],
|
84
|
+
['window:cview',
|
85
|
+
[['group',
|
86
|
+
[['fields',
|
87
|
+
[['int', :counter, 'counter', {:min => 10, :max => 20}],
|
88
|
+
['str', :street, 'street', {:hidden => true}]]]]]]]]]]],
|
89
|
+
:data_class => 'Persons'}}],
|
90
|
+
result
|
91
|
+
end
|
92
|
+
|
93
|
+
def test_config
|
94
|
+
assert_equal true, View.Welcome.need_pass
|
95
|
+
assert_equal false, View.Welcome.hide_pass
|
96
|
+
end
|
97
|
+
|
98
|
+
def test_layout
|
99
|
+
assert_equal ['group',
|
100
|
+
[['fields',
|
101
|
+
[['int', :person_id, 'person_id', {:id => true}],
|
102
|
+
['str', :first_name, 'first_name', {}],
|
103
|
+
['str', :pass, 'pass', {}],
|
104
|
+
['str', :address, 'address', {}],
|
105
|
+
['int', :credit, 'credit', {}],
|
106
|
+
['int', :ro_int, 'ro_int', {:ro => true}],
|
107
|
+
['list', :ro_list, 'ro_list', {:ro => true, :list_values => [1, 2, 3]}],
|
108
|
+
['list', :ro_list2, 'ro_list2', {:ro => true}],
|
109
|
+
['fromto', :duration, 'duration', {}],
|
110
|
+
['list', :worker, 'worker', {:list_values => %w(admin autre surf)}]]]]],
|
111
|
+
View.AView.layout_eval
|
112
|
+
end
|
113
|
+
|
114
|
+
def test_list_update
|
115
|
+
assert_equal ['list', :worker, 'worker', {:list_values => %w(admin autre surf)}],
|
116
|
+
View.AView.layout_eval[1][0][1][9],
|
117
|
+
View.AView.layout_eval.inspect
|
118
|
+
Entities.Persons.create(:first_name => 'foo', :pass => 'foo',
|
119
|
+
:session_id => '0.3', :permission => 'internet')
|
120
|
+
assert_equal ['list', :worker, 'worker', {:list_values => %w(admin autre foo surf)}],
|
121
|
+
View.AView.layout_eval[1][0][1][9]
|
122
|
+
end
|
123
|
+
|
124
|
+
def test_filter_from_entity
|
125
|
+
data = Hash[*%w( l_a 1 l_b 2 l_c 3 l_d 4 )]
|
126
|
+
assert_equal Hash[*%w( l_b 2 )], View.AView.filter_from_entity(data)
|
127
|
+
assert_equal Hash.new, View.AView.filter_from_entity(Hash.new)
|
128
|
+
assert_equal Hash.new, View.AView.filter_from_entity(nil)
|
129
|
+
data.delete('l_b')
|
130
|
+
assert_equal Hash.new, View.AView.filter_from_entity(Hash.new)
|
131
|
+
end
|
132
|
+
|
133
|
+
def test_view_subclass
|
134
|
+
assert_equal 2, View.AView.test_sub
|
135
|
+
end
|
136
|
+
|
137
|
+
def test_view_entities
|
138
|
+
assert_equal ['group',
|
139
|
+
[['fields',
|
140
|
+
[['list',
|
141
|
+
:teacher,
|
142
|
+
'teacher',
|
143
|
+
{:list_type => :drop,
|
144
|
+
:all => true,
|
145
|
+
:list_values => [[3, 'autre'], [2, 'surf']]}],
|
146
|
+
['list',
|
147
|
+
:assistant,
|
148
|
+
'assistant',
|
149
|
+
{:list_type => :drop,
|
150
|
+
:all => true,
|
151
|
+
:list_values => [[0, '---'], [1, 'admin'], [3, 'autre'], [2, 'surf']],
|
152
|
+
:empty => true}],
|
153
|
+
['list',
|
154
|
+
:students,
|
155
|
+
'students',
|
156
|
+
{:list_type => :single, :list_values => []}]]]]],
|
157
|
+
View.CourseShow.layout_eval
|
158
|
+
@admin.credit = 2000
|
159
|
+
assert_equal ['group',
|
160
|
+
[['fields',
|
161
|
+
[['list',
|
162
|
+
:teacher,
|
163
|
+
'teacher',
|
164
|
+
{:list_type => :drop,
|
165
|
+
:all => true,
|
166
|
+
:list_values => [[1, 'admin'], [3, 'autre'], [2, 'surf']]}],
|
167
|
+
['list',
|
168
|
+
:assistant,
|
169
|
+
'assistant',
|
170
|
+
{:list_type => :drop,
|
171
|
+
:all => true,
|
172
|
+
:list_values => [[0, '---'], [1, 'admin'], [3, 'autre'], [2, 'surf']],
|
173
|
+
:empty => true}],
|
174
|
+
['list',
|
175
|
+
:students,
|
176
|
+
'students',
|
177
|
+
{:list_type => :single, :list_values => []}]]]]],
|
178
|
+
View.CourseShow.layout_eval
|
179
|
+
end
|
180
|
+
|
181
|
+
def test_parse_request
|
182
|
+
params = View.CourseShow.parse_request(0, 0, ['test', {'one' => 2,
|
183
|
+
'teacher' => @surf.id}])
|
184
|
+
assert_equal @surf.id, params[1]['teacher']
|
185
|
+
end
|
186
|
+
|
187
|
+
def test_configured
|
188
|
+
ConfigBase.store(function: [])
|
189
|
+
assert_equal make_list([2]), View.list(@session_admin)[:views].sort
|
190
|
+
|
191
|
+
ConfigBase.store(functions: [1])
|
192
|
+
assert_equal make_list([1, 2]),
|
193
|
+
View.list(@session_admin)[:views].sort
|
194
|
+
|
195
|
+
ConfigBase.value = :one
|
196
|
+
ConfigBase.store
|
197
|
+
assert_equal make_list([1, 2, 3]),
|
198
|
+
View.list(@session_admin)[:views].sort
|
199
|
+
|
200
|
+
ConfigBase.store(functions: [1, 2])
|
201
|
+
assert_equal make_list([1]),
|
202
|
+
View.list(@session_admin)[:views].sort
|
203
|
+
end
|
204
|
+
end
|
data/test/st_dummy.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
class STdummy1 < StorageType
|
2
|
+
attr_accessor :conf, :fields
|
3
|
+
|
4
|
+
def load
|
5
|
+
{}
|
6
|
+
end
|
7
|
+
|
8
|
+
def save( data, notmp: false )
|
9
|
+
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
class STdummy2 < STdummy1
|
15
|
+
|
16
|
+
def configure( config )
|
17
|
+
dputs( 3 ){ "Configuration of STdummy2 is: #{config.inspect}" }
|
18
|
+
@conf = config[:conf] + '_'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
class STdummy3 < STdummy2
|
23
|
+
def configure( config )
|
24
|
+
@data_cache = false
|
25
|
+
end
|
26
|
+
|
27
|
+
def get_entry( id, field )
|
28
|
+
return field.to_s
|
29
|
+
end
|
30
|
+
end
|
data/test/test.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#!/usr/local/bin/ruby -I.. -I.
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
$LOAD_PATH.push '.'
|
6
|
+
|
7
|
+
require 'test/unit'
|
8
|
+
#require 'test/unit/testsuite'
|
9
|
+
DEBUG_LVL = 0
|
10
|
+
CONFIG_FILE='config.yaml'
|
11
|
+
require 'QooxView'
|
12
|
+
require 'st_dummy'
|
13
|
+
|
14
|
+
Permission.add('default', 'View,View.Login')
|
15
|
+
Permission.add('admin', '.*', '.*')
|
16
|
+
Permission.add('internet', 'Internet,PersonShow', 'default')
|
17
|
+
Permission.add('student', '', 'internet')
|
18
|
+
Permission.add('professor', '', 'student')
|
19
|
+
Permission.add('cybermanager', '', '')
|
20
|
+
Permission.add('secretary', 'PersonModify,FlagAddInternet', 'professor,cybermanager')
|
21
|
+
|
22
|
+
QooxView.init('entities', 'views')
|
23
|
+
|
24
|
+
tests = Dir.glob('qv_*.rb')
|
25
|
+
#tests = %w( permission )
|
26
|
+
#tests = %w( entity )
|
27
|
+
#tests = %w( configbase )
|
28
|
+
|
29
|
+
tests.each { |t|
|
30
|
+
begin
|
31
|
+
require "qv_#{t}"
|
32
|
+
rescue LoadError => e
|
33
|
+
require t
|
34
|
+
end
|
35
|
+
}
|
36
|
+
|
37
|
+
$profiling = get_config(nil, :profiling)
|
38
|
+
if $profiling
|
39
|
+
require 'rubygems'
|
40
|
+
require 'perftools'
|
41
|
+
PerfTools::CpuProfiler.start("/tmp/#{$profiling}") do
|
42
|
+
Test::Unit::UI::Console::TestRunner.run(TC_Helpers)
|
43
|
+
end
|
44
|
+
puts "Now run the following:
|
45
|
+
pprof.rb --pdf /tmp/#{$profiling} > /tmp/#{$profiling}.pdf
|
46
|
+
open /tmp/#{$profiling}.pdf
|
47
|
+
CPUPROFILE_FREQUENCY=500
|
48
|
+
"
|
49
|
+
end
|
data/test/views/aview.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
class AView < View
|
2
|
+
def layout
|
3
|
+
set_data_class :Persons
|
4
|
+
|
5
|
+
show_find :person_id
|
6
|
+
show_block :block_one
|
7
|
+
show_block :block_two
|
8
|
+
show_int_ro :ro_int
|
9
|
+
show_list_ro :ro_list, '[1,2,3]'
|
10
|
+
show_list_ro :ro_list2
|
11
|
+
show_fromto :duration
|
12
|
+
show_list :worker, 'Entities.Persons.list_first_name'
|
13
|
+
|
14
|
+
@order = 60
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_sub
|
18
|
+
return 2
|
19
|
+
end
|
20
|
+
|
21
|
+
def update( session )
|
22
|
+
update_form_data( session.owner )
|
23
|
+
end
|
24
|
+
end
|
data/test/views/bview.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
class ConfigView1 < View
|
2
|
+
def layout
|
3
|
+
@functions_need = [ :take ]
|
4
|
+
end
|
5
|
+
end
|
6
|
+
|
7
|
+
class ConfigView2 < View
|
8
|
+
def layout
|
9
|
+
@functions_reject = [ :over ]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
class ConfigView3 < View
|
14
|
+
def layout
|
15
|
+
@functions_need = [ :take ]
|
16
|
+
@functions_reject = [ :over ]
|
17
|
+
@values_need = { :value => :one }
|
18
|
+
end
|
19
|
+
end
|
data/test/views/cview.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
class CView < View
|
2
|
+
def layout
|
3
|
+
set_data_class :Persons
|
4
|
+
|
5
|
+
gui_vbox do
|
6
|
+
gui_hbox do
|
7
|
+
show_find :person_id
|
8
|
+
show_button :new
|
9
|
+
end
|
10
|
+
gui_hbox do
|
11
|
+
show_block :block_one, :width => 300
|
12
|
+
show_arg :first_name, :callback => 'yes'
|
13
|
+
end
|
14
|
+
gui_window :cview do
|
15
|
+
show_int :counter, :min => 10, :max => 20
|
16
|
+
show_str_hidden :street
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
@order = 40
|
21
|
+
end
|
22
|
+
end
|