Commit Graph

35 Commits

Author SHA1 Message Date
blink1073 1a01f1a83b Fix failing tests 2014-07-16 19:58:13 -05:00
blink1073 9576df45f8 Add tests for all of viewer subpackage, with necessary file mods 2014-07-16 19:38:23 -05:00
blink1073 44dc93d373 Use the more idiomatic list(). 2014-02-17 05:39:33 -06:00
blink1073 3931f18169 Add py3k compatibility for core widget and overlayplugin.
Dictionary keys are treated differently in py3k, causing the Canny
plugin to not work on py3k.
2014-02-16 21:22:44 -06:00
Stefan van der Walt f0506f1293 Fix imports under Python 3. 2013-06-29 10:17:42 -05:00
tonysyu c826935d9e Change default Slider update_on value to 'release'
Image filtering is usually slow, so updating on move was usually a bad idea.
2013-06-26 11:23:12 -05:00
Tony S Yu e7ca4b6138 Fix parameter name in docstring 2013-05-28 23:51:53 -05:00
Tony S Yu d183cce16c Remove alignment kwarg (left out from previous commit). 2013-05-26 18:28:12 -05:00
Tony S Yu a49502a7b1 Remove alignment kwarg for compatibility with older PyQt4 2013-05-26 14:05:02 -05:00
Tony S Yu a5d42a3940 Add skimage.viewer.qt wrapper.
This allows the viewer to use either PyQt4 or PySide as the toolkit.
2013-05-17 16:22:17 -05:00
Tony S Yu df916713f5 ENH: Add PaintTool and LabelPlugin 2012-12-26 22:03:59 -08:00
Tony S Yu d3edd350f9 ENH: Add open and save menu actions 2012-12-23 16:19:03 -08:00
Tony S Yu 06a8e7af85 BUG: Fix save to stack so it saves filtered image 2012-12-19 14:07:42 -05:00
Steven Silvester 1fd4042ee6 BUG: Added required QtCore import 2012-12-16 21:00:57 -06:00
Steven Silvester 70f1e6dd48 BUG: Remove focus from buttons which caused unintential clicking. 2012-12-16 20:56:03 -06:00
Tony S Yu 9bf512da8b ENH: Allow Save buttons to save overlay
Closes Github #264
2012-12-15 09:32:26 -05:00
Tony S Yu cb30c24427 ENH: Add measure tool plugin 2012-12-12 21:46:08 -05:00
Tony S Yu 588fe29b57 BUG: Allow slider to accept key press events 2012-12-09 20:54:10 -05:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Tony S Yu b14514e018 BUG: Fix nosetest and autodoc errors when PyQt4 not available
nose and autodoc imports the viewer modules so all PyQt4 imports must be wrapped in a try-except block. In addition, any classes derived from PyQt4 must be proxied since the class definition are run on import. This is really hacky.
2012-08-25 12:06:03 -04:00
Tony S Yu ffe2ebacae BUG: Update filter when edit-box is changed. 2012-08-22 22:47:54 -04:00
Tony S Yu cfd0b84a9b STY: Tweak button sizes. 2012-08-03 23:04:51 -04:00
Tony S Yu e96aca5637 ENH: Add OK/Cancel buttons 2012-08-03 22:27:05 -04:00
Tony S Yu 4ab583ba31 ENH: Add SaveButtons widget. 2012-08-03 21:50:28 -04:00
Tony S Yu 9ac42728c6 DOC: Clean up docstring for Slider 2012-08-03 20:47:42 -04:00
Tony S Yu ce017cc035 ENH: Add Slider value_type to allow int values. 2012-08-01 00:11:48 -04:00
Tony S Yu 3340d0612d BUG: Fix scaling when setting default slider value. 2012-07-28 14:38:46 -04:00
Tony S Yu 7d533e19a4 DOC: Add explanation of add operator. 2012-07-28 11:43:20 -04:00
Tony S Yu 1000c73ceb DOC: Explain use of callback parameter. 2012-07-28 11:40:04 -04:00
Tony S Yu 449f3e4cbf STY: Refactor BaseWidget from Slider and ComboBox 2012-07-27 22:58:20 -04:00
Tony S Yu 4620ee734e ENH: Create new Slider with editbox.
Also, make the behavior more consistent between updating plugin and widget parameters.
2012-07-27 22:21:26 -04:00
Tony S Yu daae405945 DOC: Add todo note 2012-07-23 21:55:30 -04:00
Tony S Yu 86b428952d ENH: Allow Plugin.add_widget to hook into Plugin attributes.
The `ptype` parameter of widget can now be set to 'plugin'. When this is the case, the plugin will set a plugin attribute whenever the widget is updated.

As an example, this commit adds a ComboBox widget which is hooked into the overlay color of the OverlayPlugin.
2012-07-22 13:24:41 -04:00
Tony S Yu 06449581bd ENH: Generalize add_widget function. 2012-07-22 02:26:03 -04:00
Tony S Yu 887a9119b2 ENH: Simplify creation of Slider widget. 2012-07-22 02:02:29 -04:00