- extensively use current QLocale for displaying values; use C locale for internal representation of values
- separate translated from non-translated API for obtaining value strings
- improve indentations and borders of combo, cursor, linestyle editors for various QStyles
- assume that invalid grid color means "no grid" for the editor view
- improve display of editors for when editor view's grid is off
- redraw the view when changing grid settings
- build color combo delegate even if KPROPERTY_KF is OFF
- add RectF editor
- temporarily use int spinbox editor for (u)longlong and uint types
- linestyle combo: improve drawing line previews
- font editor: properly use the current font when showing the font dialog
- kpropertyexample app:
- add test for precision of floating-point numbers
- fix font face
- add "Show grid" and "Show frame" check boxes for testing changes of grid and frame settings
Details
Details
- run the kpropertyexample app using various QStyles, test all editors
- look at the new APIs
Diff Detail
Diff Detail
- Repository
- R13 KProperty
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Tested using kproperty example. The expanded RectF shows the correct values, but the summary version shows Int values
Comment Actions
the diff between the last 2 revisions looks wrong
src/KPropertyEditorView.cpp | ||
---|---|---|
214 | can this fail? if it cant, then no-need for below if (w) ? |
src/editors/linestyleedit.cpp | ||
---|---|---|
42 | should we hard-code styles? what if they change in the future? |