Commit Graph

72 Commits

Author SHA1 Message Date
juha
0d8acaed21 LCL: Improve things on big endian systems. Issue , patch from Mark Morgan Lloyd
git-svn-id: trunk@48671 -
2015-04-06 19:12:20 +00:00
zeljko
f6fa81d118 LCL: TCustomListView: implemented SelectAll & ClearSelection for delphi compatibility. issue
git-svn-id: trunk@43244 -
2013-10-14 07:35:34 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
zeljko
25658113df LCL: TListView fixed "List index out of bounds" while deleting items. issue
git-svn-id: trunk@38145 -
2012-08-04 10:31:18 +00:00
paul
ecc2d0a144 lcl: add an ability to use own TListItems and TListItem descendant classes for compatibility with delphi (issue )
git-svn-id: trunk@36812 -
2012-04-16 07:29:35 +00:00
zeljko
7066e26b30 LCL: trigger TCustomListView.DoSelectItem after ItemIndex is invalidated for Delphi compatibility. issue
git-svn-id: trunk@35566 -
2012-02-23 15:12:51 +00:00
zeljko
973cb8b092 LCL: TListView trigger OnSelectItem when Selected item is deleted - Delphi compat. issue
git-svn-id: trunk@35537 -
2012-02-21 13:12:58 +00:00
zeljko
464767f88f LCL: TListItems formatting
git-svn-id: trunk@35535 -
2012-02-21 13:01:22 +00:00
zeljko
31a93e1b6e LCL: added Delphi compatibile function TCustomListView.FindData(StartIndex: Integer; Value: Pointer; Inclusive, Wrap: Boolean): TListItem;
git-svn-id: trunk@31480 -
2011-06-30 15:11:09 +00:00
zeljko
cd32bf59f0 LCL: preserve selection when moving items. Return cached checked item when moving items.
Win32: simplified LVItem assigning in case of exchange and move, fixed bugs

git-svn-id: trunk@31373 -
2011-06-25 08:31:57 +00:00
zeljko
fe54d8652c LCL: TListViewItems: do not call ws ItemExchange() or ItemMove() if OwnerData = True.
git-svn-id: trunk@31368 -
2011-06-24 21:04:30 +00:00
zeljko
a0933e1606 Gtk: implemented ListView.Exchange() and ListView.Move().
LCL: do not call Exchange() or Move() if both indexes are equal.

git-svn-id: trunk@31367 -
2011-06-24 20:10:28 +00:00
zeljko
d827c3f379 Win32: implemented TListView.Exchange() and TListView.Move()
LCL: Use TFPList instead of TList for internal FList of TListViewItems
LCL: TListViewItems invalidate cacheindex and cacheitem when doing exchange or move.

git-svn-id: trunk@31364 -
2011-06-24 19:18:43 +00:00
zeljko
8bdf87abed LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
dmitry
90a7d1e94e lcl: split listitems to ownerdatalistitems. fix
git-svn-id: trunk@29669 -
2011-02-26 04:04:14 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
zeljko
0038d3b64b lcl: TListItems.BeginUpdate, TListItems.EndUpdate implementation, fixes
git-svn-id: trunk@24950 -
2010-04-26 07:42:40 +00:00
paul
448b7689cf lcl: clean listview items flag on handle destruction
git-svn-id: trunk@24691 -
2010-04-18 08:46:29 +00:00
paul
9781e6db98 lcl: invalidate selection of OwnerData listview after changing items count + formatting
git-svn-id: trunk@23960 -
2010-03-12 03:30:32 +00:00
paul
c6c63ccae9 lcl: fix ownerdata listview notifications
git-svn-id: trunk@23909 -
2010-03-10 02:54:12 +00:00
dmitry
11f880e78a lcl: setting items state on listview handle creation
git-svn-id: trunk@23724 -
2010-02-17 06:51:12 +00:00
dmitry
c5a6b22731 lcl: fix for
git-svn-id: trunk@23651 -
2010-02-05 23:37:24 +00:00
paul
3319ecca5b lcl: add GetOwner to some TPersistent descendants
git-svn-id: trunk@23237 -
2009-12-23 08:48:01 +00:00
andrew
e49b42439b * gtk2 Listview now uses custom GtktreeModel that gets it's data directly from TListItems. Old behavior can be restored by compiling lcl with -dUseOrigTreeModel
git-svn-id: trunk@22945 -
2009-12-03 16:15:31 +00:00
paul
747db959f4 lcl: add enumerators for TListItems, TTreeNodes, TToolBar
git-svn-id: trunk@22409 -
2009-11-03 16:07:56 +00:00
paul
833166cbd0 lcl: allow ItemChanged event for OwnerData listview
git-svn-id: trunk@22284 -
2009-10-26 07:17:16 +00:00
paul
ae65b07221 lcl, win32, carbon: initial implementation of virtual TListView by Dmitry (issue )
git-svn-id: trunk@21524 -
2009-09-01 16:44:31 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
c363b5fff8 gtk2: fix item exchange (bug )
git-svn-id: trunk@18809 -
2009-02-23 13:48:46 +00:00
paul
7b0a85df11 lcl: add TListItems.BeginUpdate, TListItems.EndUpdate with empty implementation to simplify delphi project conversion
git-svn-id: trunk@16941 -
2008-10-09 09:33:45 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
4ee45a7631 LCL: reverted accidental commits of r15706 #d49446d842
git-svn-id: trunk@15707 -
2008-07-08 16:48:59 +00:00
vincents
d49446d842 LCL: fixed typo in postscriptcanvas (bug )
git-svn-id: trunk@15706 -
2008-07-08 16:45:16 +00:00
paul
b5adcbda29 listview: update listitem state
git-svn-id: trunk@13802 -
2008-01-19 17:31:38 +00:00
paul
2bc5188cb4 TListView:
- lcl: better handling of TListItem.Checked
- gtk1/2 implemented TListView.Checkboxes and TListItem.Checked

git-svn-id: trunk@12755 -
2007-11-06 09:20:04 +00:00
vincents
263aa5147d LCL: fixed loading ListView items on 64 bits targets
+ the LCL now reads/writes ListView.Items.LazData property which does not include ListItem.Data pointer value
* the only reads, but doesn't write ListView.Items.Data property. It assumes a 32 bit data field. This is to be compatible with existing lfm files and Delphi.

git-svn-id: trunk@10946 -
2007-04-14 20:49:16 +00:00
marc
352eaa11ed * made naming more consistent. Intfxxx methods are called by the interface, WSxxx methods call the interface
git-svn-id: trunk@9785 -
2006-09-02 16:21:55 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
f9b6743de3 fixed updating Selected on TListView deletion
git-svn-id: trunk@8478 -
2006-01-10 14:04:58 +00:00
vincents
1a223037c8 fixed sorting of treeview nodes (issue , )
git-svn-id: trunk@8220 -
2005-11-24 21:58:26 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
mattias
d3799fa495 added TListItems.FindCaption partstart parameter
git-svn-id: trunk@7096 -
2005-04-22 08:19:39 +00:00
mattias
b045cbd550 added TListView.FindCaption from Matthijs Willemstein
git-svn-id: trunk@7095 -
2005-04-21 16:15:52 +00:00
marc
6ed8e2ecf4 * Reworked listviews to match new interface
git-svn-id: trunk@6848 -
2005-02-26 17:08:41 +00:00
marc
18ba83a732 * Rewrite of streamreading/writing to be sparc compatible
(no unaligned read/writes)

git-svn-id: trunk@6618 -
2005-01-16 23:01:07 +00:00
marc
9d753bdd48 + Added generic endian functions
git-svn-id: trunk@6240 -
2004-11-13 17:22:15 +00:00
marc
092f8fd53e * Fixed endianess
git-svn-id: trunk@6239 -
2004-11-13 15:53:14 +00:00
mattias
2d80b0247f improved DefineProperties to read/write endian independent
git-svn-id: trunk@5790 -
2004-08-15 17:00:58 +00:00
marc
c4afc3033d * Implemented most of TListColoum/Item in the Ws for gtk and win32
git-svn-id: trunk@5667 -
2004-07-11 17:20:47 +00:00