1. 13 Jun, 2017 2 commits
    • Dmitry Kazakov's avatar
      Fix cyclic dependencies in Image Size dialog · 9d7248a5
      Dmitry Kazakov authored
      1) Now the dialog uses KisAspectRatioLocker and
         KisAcyclicSignalConnector which break update loops
         that caused rounding errors right after opening the
         dialog.
      
      2) Now the user can choose the unit of the field by switching
         a single combo box, not two separate ones: for width and height.
      9d7248a5
    • Dmitry Kazakov's avatar
      Fix KisAspectRatioLocker to handle Unit spin boxes correctly · 77ed769e
      Dmitry Kazakov authored
      value() and setValue() calls in QDoubleSpinBox are *not* virtual!
      In SliderWrapper we basically implement 'vtable' functionality,
      but it was implemented in an incorrect way: the pointers should be
      type-cast in a ascending inheritance order.
      77ed769e
  2. 29 Dec, 2016 2 commits
  3. 29 Aug, 2016 1 commit
  4. 05 Aug, 2016 1 commit
  5. 25 Jul, 2016 1 commit
  6. 15 Apr, 2016 1 commit
    • Dmitry Kazakov's avatar
      Fix wrong values of Grid spacing when changing the spin box · e6c23b27
      Dmitry Kazakov authored
      1) KisAspectRatioLocker blocks the signal of the second spinbox,
         but the configuration should be updated only when both the
         spinboxes are updated. Therefore a new signal in KisAspectRatioLocker
         has been implemented, which notifies the receivers that both boxes
         are ready.
      
      2) Allow 1 px grid :)
      
      Fixes T2245
      BUG:361721
      e6c23b27
  7. 25 Feb, 2016 1 commit