GDB Memory viewer: port MemoryRangeSelector to QFormLayout/QDialogButtonBox
ClosedPublic

Authored by kossebau on Feb 10 2017, 1:13 PM.

Details

Summary

Using QFormLayout & QDialogButtonBox results in less code and
UI following automatically more closer to platform settings,
like order of Ok/Cancel buttons, icons on buttons, text on buttons,
alignment of labels in form.

Diff Detail

Repository
R32 KDevelop
Branch
lessCustomUIInMemoryRangeSelector
Lint
No Linters Available
Unit
No Unit Test Coverage
kossebau updated this revision to Diff 11174.Feb 10 2017, 1:13 PM
kossebau retitled this revision from to GDB Memory viewer: port MemoryRangeSelector to QFormLayout/QDialogButtonBox.
kossebau updated this object.
kossebau added reviewers: KDevelop, volden.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptFeb 10 2017, 1:13 PM

Before:

After:

apol accepted this revision.Feb 10 2017, 11:01 PM
apol added a reviewer: apol.
apol added a subscriber: apol.

Good!
This tab thing looks weird, is it a standard component? :S

This revision is now accepted and ready to land.Feb 10 2017, 11:01 PM
This revision was automatically updated to reflect the committed changes.
In D4549#85193, @apol wrote:

Good!
This tab thing looks weird, is it a standard component? :S

It is a QToolBox. Also raised my eyebrows, but leaving any change here to professional users of that tool :)

Thanks for review!