Commit Graph

300 Commits

Author SHA1 Message Date
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
ondrej
843f2cd278 SpinEditEx: set NumbersOnly to true in constructor to comply with its default value
git-svn-id: trunk@58349 -
2018-06-20 06:30:24 +00:00
juha
1b7b85692b LCL: Improve SpinEditEx controls and their UpDownVisible property.
git-svn-id: trunk@58347 -
2018-06-19 22:42:51 +00:00
juha
24756e40d1 LazControls: Add property UpDownVisible to SpinEditEx controls.
git-svn-id: trunk@58322 -
2018-06-19 08:04:04 +00:00
juha
f440f660a2 Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
ondrej
801f6efb1b LCL, components: TCustomEditButton: enable image list support, use LCLBtnGlyphs.
git-svn-id: trunk@57722 -
2018-04-26 09:59:30 +00:00
ondrej
81bee86e42 LCL: float spin (ex): fix streaming of Increment and MaxValue properties in FPC trunk. Issue #33567
git-svn-id: trunk@57605 -
2018-04-05 10:19:34 +00:00
juha
b2e65128ee Remove redundant "Assigned(X)" when checking "if X is Txxx". Issue #33030, patch from Vojtech Cihak.
git-svn-id: trunk@57099 -
2018-01-15 10:53:48 +00:00
bart
ae0e9976a3 LazControls: Prevent overflow in T(Float)SpinEditEx.
git-svn-id: trunk@56666 -
2017-12-07 21:28:44 +00:00
bart
eae4efc5bd LazControls: Make TSpinEditEx support Int64 values. TSpinEditEx does not inherit from TFloatSpinEditEx anymore. Issue #0032747.
git-svn-id: trunk@56645 -
2017-12-05 22:04:25 +00:00
mattias
19a4058156 lazcontrols: shortpathedit: fixed visibility
git-svn-id: trunk@56633 -
2017-12-05 12:37:56 +00:00
mattias
f7df76efc0 lazcontrols: smallorderedseteditor: added CreateOrderedSetEditor
git-svn-id: trunk@56564 -
2017-11-30 21:30:44 +00:00
mattias
fb2f71df0f lazcontrols: added TSmallOrderedSetEditDlg
git-svn-id: trunk@56563 -
2017-11-30 21:20:09 +00:00
mattias
28e9959386 lazcontrols: updated headers
git-svn-id: trunk@56562 -
2017-11-30 21:13:36 +00:00
ondrej
41299ef7d0 LCL: revert r56162, r56031, r55890 #9ac706fc7a (TabStop handling)
git-svn-id: trunk@56344 -
2017-11-10 08:19:00 +00:00
wp
ff5125737c LazControls: More consistent component palette icons (by Roland Hahn)
git-svn-id: trunk@56221 -
2017-10-28 10:40:04 +00:00
wp
cb655096b6 LazControls: New HiRes component palette icons (kindly provided by Roland Hahn).
git-svn-id: trunk@56219 -
2017-10-27 15:50:14 +00:00
michl
f9cb151061 LCL: Fixed TSpinEditEx Focus on Tab Click doesn't work. Issue #32601
git-svn-id: trunk@56162 -
2017-10-23 09:19:46 +00:00
wp
832ce1039a LazControls: Make TCustomLvlGraphControl respect property Color when painting its background.
git-svn-id: trunk@55993 -
2017-10-07 08:47:58 +00:00
wp
4803801696 LazControls: Add new property CaseSensitive to TLvlGraph (http://www.lazarusforum.de/viewtopic.php?f=18&t=11108).
git-svn-id: trunk@55990 -
2017-10-06 10:57:57 +00:00
juha
d969149f29 LazControls: In FilterEdits check everywhere if the associated control exists. Issue #32282.
git-svn-id: trunk@55673 -
2017-08-17 08:58:46 +00:00
juha
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +00:00
bart
d396b86379 SpinEditEx: implement increment/decrement with mousewheel.
git-svn-id: trunk@55023 -
2017-05-20 11:53:38 +00:00
mattias
1b4ad9eff5 debian: fixed permissions and description
git-svn-id: trunk@55004 -
2017-05-19 10:16:40 +00:00