Skip to content
Snippets Groups Projects
  1. Sep 01, 2017
    • Charan DSouza's avatar
      Fixed the bug #65. · f754c628
      Charan DSouza authored
      Analysis:
      This bug is there for following reasons.
      1.ElectrodeButton for channels is directly added to the ChannelMappingEditor component.
      2.When we drag the button we set the visibility of the lastHoverButton which makes it visible and shows on top of other components.
      3. Also finding the correct button Logic is not proper as we are not considering the buttons which are scrolled up and invisible.
      
      Solution:
      1. Create Viewport for holding the ElectrodeButton for channels.
      2. Also create a Holder Component to hold all ElectrodeButton.
      3. Add the ElectrodeButton to Holder Component and set the size of the Holder Component to fit all buttons.
      4. Set setViewPosition for Viewport based on the scroll and drag.
      
      More Improvement:
      1. We can remove upButton and downButton.
      2. Viewport has its own scrolling which can be used for scrolling. Currently its been hidden using code "electrodeButtonViewport->setScrollBarsShown(false,false,true,true);"
      f754c628
  2. Jan 12, 2017
  3. Jan 10, 2017
  4. Oct 14, 2016
  5. Jun 16, 2016
  6. Jun 05, 2016
  7. Apr 26, 2016
  8. Mar 22, 2016
  9. Mar 18, 2016
  10. Nov 30, 2015
  11. Nov 10, 2015
  12. Oct 07, 2015
  13. Sep 23, 2015
Loading