┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/private/kitemlistheaderwidget.h
diff options
context:
space:
mode:
authorJin Liu <[email protected]>2022-05-26 08:31:12 +0000
committerFelix Ernst <[email protected]>2022-05-26 08:31:12 +0000
commitca0d0bb322925e2119f13f76d8e9643d24cbf3e0 (patch)
tree038c9c47458967b04abd7af4f6db2da428ce73a3 /src/kitemviews/private/kitemlistheaderwidget.h
parentff0a4938a5076f2cf84503f65747cfbdb0656c0e (diff)
Change wording "Leading Column Padding" to "Side Padding"
Since it actually adds padding on both left and right sides, "Side Padding" might be more accurate. This change is also propagated to variable and method names. BUG: 453172
Diffstat (limited to 'src/kitemviews/private/kitemlistheaderwidget.h')
-rw-r--r--src/kitemviews/private/kitemlistheaderwidget.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kitemviews/private/kitemlistheaderwidget.h b/src/kitemviews/private/kitemlistheaderwidget.h
index 58f0dc98e..f99d64c81 100644
--- a/src/kitemviews/private/kitemlistheaderwidget.h
+++ b/src/kitemviews/private/kitemlistheaderwidget.h
@@ -50,8 +50,8 @@ public:
void setOffset(qreal offset);
qreal offset() const;
- void setLeadingPadding(qreal width);
- qreal leadingPadding() const;
+ void setSidePadding(qreal width);
+ qreal sidePadding() const;
qreal minimumColumnWidth() const;
@@ -66,7 +66,7 @@ Q_SIGNALS:
qreal currentWidth,
qreal previousWidth);
- void leadingPaddingChanged(qreal width);
+ void sidePaddingChanged(qreal width);
/**
* Is emitted if the user has released the mouse button after adjusting the
@@ -151,14 +151,14 @@ private:
{
NoRoleOperation,
ResizeRoleOperation,
- ResizeLeadingColumnOperation,
+ ResizePaddingColumnOperation,
MoveRoleOperation
};
bool m_automaticColumnResizing;
KItemModelBase* m_model;
qreal m_offset;
- qreal m_leadingPadding;
+ qreal m_sidePadding;
QList<QByteArray> m_columns;
QHash<QByteArray, qreal> m_columnWidths;
QHash<QByteArray, qreal> m_preferredColumnWidths;