Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A lightweight UI for medical visualizations #4: 2D Line Slider #1205
@@ Coverage Diff @@ ## master #1205 +/- ## ========================================== + Coverage 85.87% 85.91% +0.03% ========================================== Files 221 221 Lines 27116 27247 +131 Branches 2776 2782 +6 ========================================== + Hits 23285 23408 +123 - Misses 3148 3154 +6 - Partials 683 685 +2
I think it would be more user-friendly we could manually set not only the percentage but also the directly a value (assuming we defined some min/max values for the slider in the first hand). Also, it would be nice to have an easy of modifying the text that is displayed next to the slider.
Actually, I've already done those improvements but for an older version of the UI API. You can clearly reuse a lot of stuff from here
Look at the following new methods:
set_value. Also, I've modified
set_position (and maybe
I think it would be awesome to have those features. I might have time this weekend to make a PR on top of yours if you prefer. Let me know.
Other than that, there are small PEP8 issues.
Hi @ranveeraggarwal I am getting this error on windows 10
My vtk version is 6.3.0 in this machine.