Update Axis Control widget
AbandonedPublic

Authored by rizzitello on Jul 9 2017, 4:10 PM.

Details

Diff Detail

Repository
R231 Atelier
Branch
updateAxisControl
Lint
No Linters Available
Unit
No Unit Test Coverage
rizzitello created this revision.Jul 9 2017, 4:10 PM
rizzitello retitled this revision from Update Axis Control widget T6424 to Update Axis Control widget.Jul 9 2017, 4:10 PM
rizzitello edited the summary of this revision. (Show Details)
patrickelectric requested changes to this revision.Jul 9 2017, 4:21 PM
patrickelectric added inline comments.
src/widgets/axiscontrol.cpp
100

== abs(value)

177

you can remove all this with this logic:
lb->setY(item->y() + value/std::abs(value)*lb->boundingRect().height() / fontMetrics().xHeight());

src/widgets/axiscontrol.h
74

nullptr

This revision now requires changes to proceed.Jul 9 2017, 4:21 PM
patrickelectric added inline comments.Jul 9 2017, 4:48 PM
src/widgets/axiscontrol.cpp
172–178

if and else are equals.

rizzitello updated this revision to Diff 16398.Jul 9 2017, 5:06 PM
rizzitello edited edge metadata.
  • Newest axiscontrol
rizzitello marked 4 inline comments as done.Jul 9 2017, 5:08 PM
laysrodrigues accepted this revision.Jul 12 2017, 12:31 PM
rizzitello updated this revision to Diff 16894.Jul 18 2017, 8:27 PM
  • Rebase to master
rizzitello updated this revision to Diff 16895.Jul 18 2017, 8:45 PM
  • email address update
tcanabrava accepted this revision.Jul 18 2017, 8:53 PM
rizzitello abandoned this revision.Jul 18 2017, 9:01 PM

merged