Skip to content
Snippets Groups Projects
  1. Oct 11, 2017
  2. Oct 04, 2017
  3. Sep 29, 2017
  4. Sep 19, 2017
  5. Sep 18, 2017
  6. Sep 15, 2017
  7. Sep 14, 2017
  8. Sep 12, 2017
  9. Sep 11, 2017
  10. Sep 09, 2017
  11. Sep 08, 2017
  12. Sep 07, 2017
  13. Sep 06, 2017
  14. Sep 05, 2017
  15. Sep 02, 2017
  16. 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
Loading