Skip to content

Releases: Pretty-SFOS/opal-delegates

v3.6.0

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 06 Feb 17:01

3.6.0 (2026-02-06)

  • Added a new modelIndex property that exposes the delegate's index pseudo-property
    if it exists. This is useful when you need access to the delegate's index from
    a different context, e.g. in a callback function.
  • Fixed binding loops on height in DelegateInfoItem

v3.5.3

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 23 Dec 13:36

3.5.3 (2025-12-23)

  • Fixed packaging to actually include opal.pri and .gitignore files for
    easier integration into apps. Add include(libs/opal.pri)
    to your harbour-myapp.pro file to enable Opal in your app.
  • Note: you still must modify your yaml or spec file for Harbour compliance!
    See here
    for updated instructions.
  • Fixed documentation to exclude some unnecessary generated parts.

v3.5.2

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 21 Dec 14:38

3.5.2 (2025-12-21)

  • Updated packaging to be easier to integrate into new projects
  • Minor documentation fixes

v3.5.1

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 08 Aug 18:51

3.5.1 (2025-08-08)

  • Fixed drag handle padding when using right side items
  • Fixed a warning when building the documentation

v3.5.0

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 17 Jun 20:04

3.5.0 (2025-06-17)

  • Add support for custom drag handle implementations (see enableDefaultGrabHandle)
  • Cleaned up styling for emphasized rows
    • Removed rounded corners from default emphasis background
    • Toned down the default color of even rows
    • Added property emphasisBackground to allow full customization of the
      background of even/odd rows
  • Clarified documentation and fixed a few typos

v3.4.1

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 11 Jun 19:12

3.4.1 (2025-06-11)

  • Fixed TwoLineDelegate labels overflowing to the right when using left side items.
    This reverts the "fix" introduced to TwoLineDelegate's width calculation in v3.4.0.

v3.4.0

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 11 Mar 20:13

3.4.0 (2025-03-11)

  • Added pressAndHold signal to DelegateIconButton
  • Added bodyColumn property to PaddedDelegate for accessing delegate's body
  • Removed unused metrics property from OptionalLabel to slightly increase performance
  • Fixed width calculation of TwoLineDelegate
  • Fixed type of internal properties for performance
  • Updated documentation for clarity

v3.3.0

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 30 Oct 19:56

3.3.0 (2024-10-30)

  • Added leftItemLoader and rightItemLoader properties to access the actual side items
  • Fixed an issue where a label would get stuck with a height of 0 after clearing contents and setting new contents.
  • Fixed DelegateIconButton highlighting if it is used in a container
  • Moved the drag handle to the left of the right side item to use all available space more efficiently

v3.2.0

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 10 Oct 22:00

3.2.0 (2024-10-10)

  • Removed unused translations (there are no translated strings in this module)
  • Added properties to set the vertical alignment of side items: rightItemAlignment, leftItemAlignment, dragHandleAlignment
  • Added a new DelegateIconButton side item to easily add buttons to delegates
  • Added first-class support for dragging delegates using the Opal.DragDrop module
  • Added propagating a _delegate property to custom side items so they can
    easily access the delegate itself
  • Fixed various visual glitches that were caused by access to the delegate's content item
  • Fixed hidden state by setting contentHeight to zero when hidden
  • Fixed automatically enabling wrapped mode for labels if they contain linebreaks
  • Fixed binding loops on a delegate's content height which could lead to performance hits
  • Fixed changing padding.left and padding.right padding values without also changing padding.leftRight
  • Fixed various warnings that were irrelevant but confusing
  • Fixed default height of delegates so they don't include vertical padding twice
  • Updated the example page

v3.0.0

Choose a tag to compare

@ichthyosaurus ichthyosaurus released this 29 Jun 09:52

3.0.0 (2024-06-29)

  • Completely refactored API, style, and internal workings
  • Changed main branch name from master to main
  • Added full documentation
  • Updated example gallery
  • First public release

Note: API changes are not listed here because the previous versions have not
been included in Opal releases. However, porting should be easy by copying
examples from the doc/gallery.qml file and by following
the documentation.