const ChatLineContentProxyType widgetType
ChatLineContentProxyType getWidgetType() const
void setWidth(qreal width) override
ChatLineContentProxyType
Type tag to avoid dynamic_cast of contained QWidget*.
QRectF boundingRect() const override
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
qreal getAscent() const override
QWidget * getWidget() const
ChatLineContentProxy(QWidget *widget, int minWidth, float widthInPercent=1.0f)
QGraphicsProxyWidget * proxy