Commit Graph

323 Commits

Author SHA1 Message Date
bart
52fa078278 TFloatSpinEditEx: publish properties that control the displaying mode. Part of issue #0037474.
git-svn-id: trunk@63990 -
2020-10-10 09:59:50 +00:00
juha
eff8fb999c Docs: Documentation updates for LazControls package. Issue #37631, patch from Don Siders.
git-svn-id: trunk@63824 -
2020-08-25 08:47:31 +00:00
bart
edf33e5e21 SpinEx: don't call KeyAllowed twice in TCustomFloatSpinEditEx.EditKeyPress.
git-svn-id: trunk@63805 -
2020-08-22 16:52:56 +00:00
bart
0d5d33c3d7 SpinEx: make it easier to override what is allowed to type in the control.
git-svn-id: trunk@63804 -
2020-08-22 16:23:16 +00:00
bart
e73e881289 SpinEx: don't call inherited KeyPress twice in TCustomSpinEditEx.EditKeyPress.
git-svn-id: trunk@63795 -
2020-08-19 19:45:47 +00:00
bart
ff62abace0 SpinEx: allow to read the inernal formatsettings of TCustomFloatSpinEditEx (needed for derived controls).
git-svn-id: trunk@63754 -
2020-08-16 13:47:24 +00:00
bart
3169d3729b SpinEx: minor optimization in StrToValue;
git-svn-id: trunk@63723 -
2020-08-11 21:19:21 +00:00
bart
292b94d79c SpinEx: add some comments to explain the different TDisplayMode's.
git-svn-id: trunk@63722 -
2020-08-11 21:15:49 +00:00
bart
4e07f19407 SpinEx: move StrToValue to the base class.
git-svn-id: trunk@63713 -
2020-08-10 21:14:02 +00:00
bart
d61c0bfbeb LazControls: implement new DisplayMode dmAutoZeroFixed for TFloatSpinEditEx. Display zero as '0.00' instead of 0.00E+00.
git-svn-id: trunk@63712 -
2020-08-10 14:16:25 +00:00
bart
fabfd9c5f0 LazControls: implement property DisplayMode for TFloatSpinEditEx. Remove property UseScientificNotation. As proposed by wp.
git-svn-id: trunk@63705 -
2020-08-09 11:18:48 +00:00
bart
2687b936ed LazControls: implement property ExponentDigits for TFloatSpinEditEx.
git-svn-id: trunk@63701 -
2020-08-08 21:40:27 +00:00
bart
c5e931129d LazControls: fix TFloatSpinEditEx.ValueToStr.
git-svn-id: trunk@63700 -
2020-08-08 21:12:54 +00:00
bart
e6dcde11e5 LazControls: allow the use of a thousandseparator in TSpinEditEx.
git-svn-id: trunk@63699 -
2020-08-08 14:53:21 +00:00
bart
312ee0974d LazControls: allow display text in scientific notation in TFloatSpinEditEx.
git-svn-id: trunk@63698 -
2020-08-08 12:31:28 +00:00
bart
f45054d487 LazControls: allow input in scientific notation in TFloatSpinEditEx.
git-svn-id: trunk@63697 -
2020-08-07 20:46:09 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
juha
651a6436a2 Support Haiku build. Makefiles are generated from Makefile.fpc files using proper tools. Issue #36316, patch from Alfred.
git-svn-id: trunk@62890 -
2020-04-05 11:35:01 +00:00
mattias
a472e9ef09 buildintf: split from ideintf
git-svn-id: trunk@62795 -
2020-03-22 11:58:11 +00:00
mattias
3721734fa2 lazcontrols: added $(IDEBuildOptions)
git-svn-id: trunk@62389 -
2019-12-14 17:36:39 +00:00
mattias
ab4a5849a6 lazcontrols: clean up
git-svn-id: trunk@62109 -
2019-10-22 15:10:30 +00:00
martin
6bb1920582 TLvlGraph: Reduce side effects of curved edge-style on continuous lines.
git-svn-id: trunk@60890 -
2019-04-07 19:52:09 +00:00
martin
98631703d8 TLvlGraph: Straighten the graph. Reduce the up/down movement of edges.
Center Nodes (incl. hidden nodes) according to their siblings in the next/prev level.

git-svn-id: trunk@60889 -
2019-04-07 19:52:08 +00:00
martin
72d4e6d824 TLvlGraph: Option to limit the maximal height of a Level. (height = count of visible / user-created nodes)
git-svn-id: trunk@60888 -
2019-04-07 19:52:06 +00:00
martin
e9367141f8 TLvlGraph: Improve MinimizeCrossings. Switch pairs even if they have SwitchDiff=0
A pair with "SwitchDiff=0" may block surrounding nodes from being switched. After switching, one of the changed neighbouring pairs may be able to reduce further crossings.

git-svn-id: trunk@60887 -
2019-04-07 19:52:05 +00:00
martin
4e2c794836 TLvlGraph: De-duplicate call to MinimizeOverlappings. Incompatible change of OnMinimizeOverlappings:
- added Handled param
- made all param into "var param", so the callback can adjust them

git-svn-id: trunk@60886 -
2019-04-07 19:52:03 +00:00
martin
d83b4c7a53 TLvlGraph: Minimize length of edges
git-svn-id: trunk@60884 -
2019-04-07 19:52:00 +00:00
martin
8924c68247 TLvlGraph: Reduce amount of BackEdges
git-svn-id: trunk@60883 -
2019-04-07 19:51:59 +00:00
martin
6fac9c5998 TLvlGraph: Find unconnected sub-graphs
git-svn-id: trunk@60882 -
2019-04-07 19:51:57 +00:00
martin
19cfa8541b TLvlGraph: Improve circular edges between adjacent Levels
git-svn-id: trunk@60881 -
2019-04-07 19:51:56 +00:00
martin
075f1ff8bc TLvlGraph: Enable routing of BackEdge (circlular edges going backward)
git-svn-id: trunk@60880 -
2019-04-07 19:51:54 +00:00
martin
13a45fd25f TLvlGraph: Fix correctly apply NodeGapBelow. Depends on node above visible.
git-svn-id: trunk@60879 -
2019-04-07 19:51:53 +00:00
martin
5b8832a7b0 TLvlGraph: Adjust node in/out-weights, if edge is destroyed.
git-svn-id: trunk@60878 -
2019-04-07 19:51:52 +00:00
martin
7a5bb3650c TLvlGraph: Avoid crash on empty level
git-svn-id: trunk@60877 -
2019-04-07 19:51:50 +00:00
martin
a807d6cb5a TLvlGraph: fixed hint for 1-to-1 edge
git-svn-id: trunk@60876 -
2019-04-07 19:51:48 +00:00
martin
22a3926b27 TLvlGraph: disabled left-over debug-define
git-svn-id: trunk@60875 -
2019-04-07 19:51:47 +00:00
martin
a1fd602a9a LazControls: add missing $(IDEBuildOptions)
git-svn-id: trunk@60839 -
2019-04-04 23:38:40 +00:00
martin
743dfad3a9 TCustomCheckBoxThemed.PaintSelf: fix calculating the y pos, if there is no caption.
git-svn-id: trunk@59664 -
2018-11-26 11:18:12 +00:00
martin
235888a37d TCustomCheckBoxThemed.PaintSelf: fix calculating the y pos.
In the old calculation "(ARect.Top+ARect.Bottom)div 2" there was a one pixel jump when traversing zero:
-2 div 2 = -1
-1 div 2 = 0
 0 div 2 = 0
 1 div 2 = 0  // 3rd time 0
 2 div 2 = 1

Now it is "Top + (Height div 2)" height does not change, so it never goes through 0.

This manufactured a painting bug in Object Inspector, where ScrollWindowEx relies on a repaint at the correct position.

git-svn-id: trunk@59650 -
2018-11-24 16:33:56 +00:00
juha
cd487bb192 LazControls: Improve the filter controls. Issue #34057, patch from Ondrej.
git-svn-id: trunk@59555 -
2018-11-16 11:06:02 +00:00
bart
5a23656f23 TFloatSpinEditEx:
- When incrementing DecimalPlaces first truncate FValue to the correct current DecimalPlaces. Issue #0034370.
- DecimalPlaces cannot be < 0

git-svn-id: trunk@59332 -
2018-10-21 13:27:12 +00:00
juha
b8f77626f9 LazControls: Call DoFilterItem instead of DoDefaultFilterItem in TTreeFilterBranch.SortAndFilter.
git-svn-id: trunk@59226 -
2018-10-02 11:38:55 +00:00
juha
d6624128a1 LazControls: Improve and optimize the filter controls. Issue #34057, patch from AlexeyT.
git-svn-id: trunk@59225 -
2018-10-02 09:47:13 +00:00
mattias
c2b0e049ef set trunk version to 2.0.0PreRelease
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
juha
deb177f78b LazControls: Add FilterOptions for filter controls. Issue #34057, patch from AlexeyT.
git-svn-id: trunk@58673 -
2018-08-04 21:27:39 +00:00
mattias
2bbe0a8cc7 updated makefiles
git-svn-id: trunk@58493 -
2018-07-11 23:58:59 +00:00
mattias
3575d8d0e1 make bigide: added cmdlinedebuggerbase and lazdebuggerlldb
git-svn-id: trunk@58363 -
2018-06-20 21:41:44 +00:00
bart
36249db121 TSpinEditEx: don't set NumbersOnly to True. It disallows users to type a '-' (at least on Windows)
git-svn-id: trunk@58355 -
2018-06-20 16:52:41 +00:00