Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library: add multi-line editor delegate for comment column #11752

Merged
merged 17 commits into from Aug 15, 2023

Commits on Jul 27, 2023

  1. Copy the full SHA
    8079fa7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e03b98e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5020342 View commit details
    Browse the repository at this point in the history
  4. TableItemDelegate: add default paintItem() implementation

    so MultiLineEditDelegate doesn't have to implement it just for calling the base class
    implementation QStyledItemDelegate::paint() (which raised a clazy error)
    ronso0 committed Jul 27, 2023
    Copy the full SHA
    303cab9 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    d4fd3eb View commit details
    Browse the repository at this point in the history
  6. MultiLineEditDelegate: don't let the editor shrink smaller than the o…

    …riginal height
    
    when returning to single-line mode after removing a line break
    ronso0 committed Jul 27, 2023
    Copy the full SHA
    550f4df View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    2f55431 View commit details
    Browse the repository at this point in the history
  8. MultiLineEditDelegate: always remove scrollbars for one-liners

    setting seems to be reset if document size changed while line count didn't
    ronso0 committed Jul 27, 2023
    Copy the full SHA
    3f6dc73 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    87d2dfd View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    857b7cb View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Copy the full SHA
    f28ea7b View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Copy the full SHA
    53cee16 View commit details
    Browse the repository at this point in the history
  2. MultiLineEditor: move size adjust to MultiLineEditor class

    in order to access protected function and hopefully fix invisble cursor at line end
    if editor is clamped to fit into the table view
    ronso0 committed Aug 12, 2023
    Copy the full SHA
    cfe15f0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9ec5ed6 View commit details
    Browse the repository at this point in the history
  4. MultiLineEditor: calculate correct height with QFontMetrics height()

    should avoid unneeded v-scrollbars with many lines
    ronso0 committed Aug 12, 2023
    Copy the full SHA
    ce3e4d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. MultiLineEditor: overhaul adjustSize(), compact h/w calc, scroll fixe…

    …s, always stick to index rect
    ronso0 committed Aug 14, 2023
    Copy the full SHA
    3917548 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0fe376b View commit details
    Browse the repository at this point in the history