Changeset View
Changeset View
Standalone View
Standalone View
src/ksqueezedtextlabel.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 70 | public: | |||
---|---|---|---|---|---|
113 | 113 | | |||
114 | /** | 114 | /** | ||
115 | * @return the full text set via setText() | 115 | * @return the full text set via setText() | ||
116 | * | 116 | * | ||
117 | * @since 4.4 | 117 | * @since 4.4 | ||
118 | */ | 118 | */ | ||
119 | QString fullText() const; | 119 | QString fullText() const; | ||
120 | 120 | | |||
121 | /** | ||||
122 | * @returns true if the text displayed is currently squeezed, | ||||
123 | * i.e. the original text does not fit inside the space available | ||||
124 | * and elide mode is set to a value other than Qt::ElideNone. | ||||
dhaumann: Suggestion: "and elide mode is set to a value other than Qt::ElideNone" ? | |||||
125 | * | ||||
126 | * @since 5.38 | ||||
127 | */ | ||||
128 | bool isSqueezed() const; | ||||
129 | | ||||
121 | public Q_SLOTS: | 130 | public Q_SLOTS: | ||
122 | /** | 131 | /** | ||
123 | * Sets the text. | 132 | * Sets the text. | ||
124 | * @param text The new text. | 133 | * @param text The new text. | ||
125 | * | 134 | * | ||
126 | * Reimplementation of QLabel::setText(). | 135 | * Reimplementation of QLabel::setText(). | ||
127 | * | 136 | * | ||
128 | * @warning The corresponding function in the base class is not virtual. | 137 | * @warning The corresponding function in the base class is not virtual. | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |
Suggestion: "and elide mode is set to a value other than Qt::ElideNone" ?