Skip to content
Snippets Groups Projects
  1. Oct 09, 2020
  2. Jun 29, 2020
  3. Jun 25, 2020
    • Christos Tsolakis's avatar
      Added ability to check widget's size and aspect ratio. · 59ac2a76
      Christos Tsolakis authored
      e.g
      
      check if the widget size is at least a given size:
      
      <pqevent object=".../MultiViewWidget1" command="sizeGreaterOrEqual"
      arguments="640,400" />
      
      check if the widget aspect ratio matches:
      
      <pqevent object=".../MultiViewWidget1" command="aspectRatio"
      arguments="1.6" />
      59ac2a76
  4. Feb 09, 2020
  5. Feb 07, 2020
  6. Dec 11, 2019
  7. Oct 18, 2019
  8. Oct 15, 2019
  9. Oct 03, 2019
  10. Oct 01, 2019
  11. Aug 02, 2019
  12. Jul 31, 2019
  13. Mar 14, 2019
  14. Mar 13, 2019
  15. Dec 03, 2018
  16. Oct 09, 2018
  17. Nov 17, 2017
  18. Nov 16, 2017
  19. Sep 07, 2017
  20. Sep 06, 2017
  21. Aug 30, 2017
  22. Jun 26, 2017
  23. May 09, 2017
  24. May 06, 2017
    • 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
  25. Feb 27, 2017
  26. Feb 10, 2017
Loading