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
Commits on Jul 27, 2023
-
-
-
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)
-
MultiLineEditDelegate: don't let the editor shrink smaller than the o…
…riginal height when returning to single-line mode after removing a line break
-
MultiLineEditDelegate: always remove scrollbars for one-liners
setting seems to be reset if document size changed while line count didn't
Commits on Jul 28, 2023
Commits on Aug 12, 2023
-
-
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
-
MultiLineEditor: calculate correct height with QFontMetrics height()
should avoid unneeded v-scrollbars with many lines
Commits on Aug 14, 2023
-
MultiLineEditor: overhaul adjustSize(), compact h/w calc, scroll fixe…
…s, always stick to index rect
-
MultiLineEditor: work around unneeded h-scrolbars with texts wider th…
…an the table index