| 50 | explicit QLabelElided(const QString &newText, QWidget *parent = 0) : QLabel(parent) { setMinimumSize(20,1); setText(newText); } |
| 51 | QString text() const { return m_text; } |
| 52 | void setText(const QString &newText) |
| 53 | { |
| 54 | if (m_text == newText) return; |
| 55 | m_text = newText; |
| 56 | setElidedText(); |
| 57 | } |
| 58 | void setToolTip(const QString & newToolTip) |
| 59 | { |
| 60 | if (m_toolTip == newToolTip) return; |
no outgoing calls
no test coverage detected