1. 14 Mar, 2019 1 commit
  2. 13 Mar, 2019 1 commit
  3. 03 Dec, 2018 1 commit
  4. 09 Oct, 2018 1 commit
  5. 17 Nov, 2017 1 commit
  6. 16 Nov, 2017 1 commit
  7. 07 Sep, 2017 3 commits
  8. 06 Sep, 2017 1 commit
  9. 30 Aug, 2017 4 commits
  10. 26 Jun, 2017 2 commits
  11. 09 May, 2017 3 commits
  12. 06 May, 2017 4 commits
    • Jean-Christophe Fillion-Robin's avatar
      Fix -Woverloaded-virtual warning in custom event translator · 70308a5c
      Jean-Christophe Fillion-Robin authored
      This commit fixes warning like one reported below occuring when imlementing
      custom event translators:
      
      
      ```
      In file included from /home/jcfr/Projects/Slicer/Libs/MRML/Widgets/qMRMLNodeComboBoxEventTranslator.h:28:0,
                       from /home/jcfr/Projects/Slicer/Base/QTGUI/qSlicerApplication.cxx:84:
      /home/jcfr/Projects/Slicer-Release/CTK-build/QtTesting/pqWidgetEventTranslator.h:62:16: warning: ‘virtual bool pqWidgetEventTranslator::translateEvent(QObject*, QEvent*, int, bool&)’ was hidden [-Woverloaded-virtual]
         virtual bool translateEvent(QObject* object, QEvent* event, int eventType, bool& error);
                      ^
      In file included from /home/jcfr/Projects/Slicer/Base/QTGUI/qSlicerApplication.cxx:84:0:
      /home/jcfr/Projects/Slicer/Libs/MRML/Widgets/qMRMLNodeComboBoxEventTranslator.h:43:16: warning:   by ‘virtual bool qMRMLNodeComboBoxEventTranslator::translateEvent(QObject*, QEvent*, bool&)’ [-Woverloaded-virtual]
         virtual bool translateEvent(QObject *Object, QEvent *Event, bool &Error);
                      ^
      ```
      70308a5c
    • Jean-Christophe Fillion-Robin's avatar
      Fix -Woverloaded-virtual warning in custom event player · 8f3038e8
      Jean-Christophe Fillion-Robin authored
      This commit fixes warning like one reported below occuring when imlementing
      custom event players:
      
      ```
      In file included from /home/jcfr/Projects/Slicer/Libs/MRML/Widgets/qMRMLCheckableNodeComboBoxEventPlayer.h:25:0,
                       from /home/jcfr/Projects/Slicer/Base/QTGUI/qSlicerApplication.cxx:82:
      /home/jcfr/Projects/Slicer-Release/CTK-build/QtTesting/pqWidgetEventPlayer.h:60:16: warning: ‘virtual bool pqWidgetEventPlayer::playEvent(QObject*, const QString&, const QString&, bool&)’ was hidden [-Woverloaded-virtual]
         virtual bool playEvent(
                      ^
      In file included from /home/jcfr/Projects/Slicer-Release/CTK-build/QtTesting/pqTreeViewEventPlayer.h:35:0,
                       from /home/jcfr/Projects/Slicer/Libs/MRML/Widgets/qMRMLTreeViewEventPlayer.h:25,
                       from /home/jcfr/Projects/Slicer/Base/QTGUI/qSlicerApplication.cxx:85:
      /home/jcfr/Projects/Slicer-Release/CTK-build/QtTesting/pqAbstractItemViewEventPlayerBase.h:51:8: warning:   by ‘virtual bool pqAbstractItemViewEventPlayerBase::playEvent(QObject*, const QString&, const QString&, int, bool&)’ [-Woverloaded-virtual]
         bool playEvent(QObject* object, const QString& command,
              ^
      ```
      8f3038e8
    • Jean-Christophe Fillion-Robin's avatar
      46837aa3
    • Jean-Christophe Fillion-Robin's avatar
      test: Fix pq(Double)SpinBoxEventTranslatorTest · bcbe1708
      Jean-Christophe Fillion-Robin authored
      This commit updates "pqDoubleSpinBoxEventTranslatorTest" and
      "pqSpinBoxEventTranslatorTester" to account for changes introduced
      in 61d84487 (Using isPrint() instead of isLetterOrNumber()).
      
      The new behavior only record value numerical values associated with the
      key event.
      bcbe1708
  13. 27 Feb, 2017 2 commits
  14. 10 Feb, 2017 2 commits
  15. 07 Feb, 2017 2 commits
    • Utkarsh Ayachit's avatar
      Merge branch 'qt5-fixes' into 'master' · 20ede6c4
      Utkarsh Ayachit authored
      Qt5 fixes
      
      See merge request !3
      20ede6c4
    • Utkarsh Ayachit's avatar
      Fixes for Qt 5 / OsX test playback. · 888e25d9
      Utkarsh Ayachit authored
      With Qt 5, on OsX all file dialog (and other modal dialog) tests would
      fail. The problem was that the modal dialog's event loop would not quite
      even after `QDialog::accept()` was called. This happened when
      `QApplication::processEvents` was called by the testing framework when
      processing a test item while the modal dialog was open. Skipping the
      calling of `QApplication::processEvents` overcomes that issue.
      888e25d9
  16. 25 Jan, 2017 2 commits
  17. 27 Jul, 2016 1 commit
  18. 26 Jul, 2016 1 commit
  19. 22 Jul, 2016 1 commit
  20. 21 Jul, 2016 1 commit
    • Yumin Yuan's avatar
      Add guard for context menu in some view event players · fd198ce4
      Yumin Yuan authored
      The pqAbstractItemViewEventPlayer, pqTreeViewEventPlayer and pqAbstractItemViewEventPlayerBase all try to handle an object command for the object's parent if the object itself is not what the players expects. This will not work in case of a context menu for these views, because the context menu's parent is the view, and in some cases, the view and the context menu commands are same, for example, "activate", so the view player will try to handle the command for context menu, which apparently will fail. The fix is not to look at the parent if it is a QMenu.
      fd198ce4
  21. 14 Jun, 2016 1 commit
  22. 10 Jun, 2016 1 commit
  23. 13 May, 2016 2 commits
  24. 03 May, 2016 1 commit