38 struct ElidingLabelPrivate;
54 virtual void mouseReleaseEvent(QMouseEvent* event)
override;
55 virtual void resizeEvent( QResizeEvent *event )
override;
56 virtual void mouseDoubleClickEvent( QMouseEvent *ev )
override;
62 CElidingLabel(
const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0);
69 Qt::TextElideMode elideMode()
const;
74 void setElideMode(Qt::TextElideMode mode);
79 bool isElided()
const;
82 virtual QSize minimumSizeHint()
const override;
83 virtual QSize sizeHint()
const override;
84 void setText(
const QString &text);
102 void elidedChanged(
bool elided);
108 #endif // ElidingLabelH