|
|
|
@ -24,6 +24,14 @@
@@ -24,6 +24,14 @@
|
|
|
|
|
#include <QPainter> |
|
|
|
|
#include <QDebug> |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@enum ChatLineContentProxy::ChatLineContentProxyType |
|
|
|
|
@brief Type tag to avoid dynamic_cast of contained QWidget* |
|
|
|
|
|
|
|
|
|
@value GenericType |
|
|
|
|
@value FileTransferWidgetType = 0 |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
ChatLineContentProxy::ChatLineContentProxy(QWidget* widget, ChatLineContentProxyType type, int minWidth, float widthInPercent) |
|
|
|
|
: widthPercent(widthInPercent) |
|
|
|
|
, widthMin(minWidth) |
|
|
|
|