VirtualTreeview/pl

From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en) español (es) français (fr) polski (pl)

O VirtualTreeview

VirtualTreeview to kontrolka TreeView zbudowana od podstaw.

Jej główne cechy to:

  • Jest bardzo szybka. Dodanie miliona węzłów zajmuje tylko ~ 700 milisekund
  • Bardzo mała zajętość pamięci. Przydziela tylko około 60 bajtów na węzeł
  • Zoptymalizowana pod kątem szybkiego dostępu. Przejście miliona węzłów zajmuje zaledwie 0,5 sekundy
  • Obsługiwany jest wielokrotny wybór
  • Obsługiwane jest rysowanie całego drzewa do mapy bitowej lub drukarki
  • można użyć stałego obrazu tła
  • Obsługiwany jest styl gorący dla węzłów
  • Węzły mogą mieć indywidualne wysokości
  • Sortowanie według porównania zwrotnego
  • Wsparcie dla Unicode
  • Obsługiwanych jest wiele kolumn
  • ... i wiele więcej

Ten komponent został zaprojektowany dla aplikacji wieloplatformowych.

Anivt.gif

Autor

Autor: Mike Lischke
Stary LCL Port: Joerg Thaler,Christian Ulrich
Nowy LCL Port: Luiz Américo

Licencja

LGPL or Mozilla Public Licence 1.1

Pobieranie

Zobacz stronę publikacji projektu

Note that v5.5.3.1 is included in Lazarus v2.0+, there is not need for a separate download. Warto pamiętać, że wersja 5.5.3.1 jest zawarta w Lazarus v2.0 + i nie ma potrzeby pobierać jej oddzielnie.

Repozytorium

Możesz pobrać kod źródłowy z GitHub

Można używać zarówno klientów Subversion, jak i Git

Subversion:

svn co https://github.com/blikblum/VirtualTreeView-Lazarus/branches/lazarus-v5


Zamień lazarus_v5 na lazarus_v4 lub lazarus_master, aby uzyskać inną wersję. Aby uzyskać więcej informacji o korzystaniu z Subversion, zobacz GitHub help

Git:

git clone https://github.com/blikblum/VirtualTreeView-Lazarus.git

Raporty o błędach / Zgłaszanie próśb

Tutaj

For patches / pull requests, here. Nowi użytkownicy GitHub mogą chcieć przeczytać pomoc

Change Log

  • 02/06/2016 - 4.8.7 R4 and 5.5.3 R1 - First release of 5x branch + moved to GitHub
  • 20/10/2012 - 4.8.7 LCL R2 - Compatibility with Lazarus 1.0 + 64 bit support
  • 18/02/2011 - 4.8.7 LCL R1 - Sync with 4.8 branch + misc fixes
  • 11/02/2010 - 4.8.6 - First stable release of the new port

Dependencies / System Requirements

Versions 4.x or 5.x

  • Lazarus 1.6 or newer
  • fpc 2.6.4 or newer
  • LCL Extensions 0.6 or newer

Version 6.x (lazarus_master branch)

  • Lazarus 1.6 or newer
  • fpc 3.1 (trunk) or newer
  • LCL Extensions 0.6 or newer

Installation

  • If new to Lazarus, read Install Packages
  • Lazarus v2.0: The lclextensions and virtualtreeview packages are contained in the standard distribution of Lazarus because they are needed by the OnlinePackageManager. Go to "Package" > "Install/uninstall packages", select "virtualtreeview_package 5.5.3.1" in the right list, click "Install selection", then "Save and rebuild IDE".
  • Lazarus v2.2+ (or trunk): Like above, but the package and all units have been renamed to have a "laz." prefix, e.g. "laz.virtualtreeview_package" instead of "virtualtreeview_package" and "laz.virtualtrees" instead of "virtualtrees". The names of the registered components also begin with "Laz", e.g. "TLazVirtualStringTree" instead of "TVirtualStringTree". This was made to avoid a naming conflict when the user wants to install another version of VTV in addition to the built-in one.
  • Lazarus before v2.0, or VTV version other than v5.5.3.1 (in Laz v2.0 you will have to uninstall the built-in version first):
    • Download the LCL Extensions package and extract it to a directory (lazarus\components\lclextensions or other of your preference).
    • Download the Virtual Treeview package and extract it to a directory (lazarus\components\virtualtreeview or other of your preference).
    • Open lclextensions_package.lpk in LCL Extensions directory and click "Use / Add to project"
    • Open virtualtreeview_package.lpk in Virtual Treeview and click "Use / Install". Rebuild the IDE.

Help

Can be found at VirtualTreeview Main Page (search for help in chm format).

Example code can be found here: VirtualTreeview Example for Lazarus