|
|
@ -53,7 +53,8 @@ void UBWidgetList::addWidget(QWidget *widget, bool isResizable) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(NULL != mpLayout){ |
|
|
|
if(NULL != mpLayout){ |
|
|
|
mpEmptyLabel->setVisible(false); |
|
|
|
mpEmptyLabel->setVisible(false); |
|
|
|
mWidgetInfo[widget] = {widget->size(), isResizable}; |
|
|
|
sWidgetProperties properties = {widget->size(), isResizable}; |
|
|
|
|
|
|
|
mWidgetInfo[widget] = properties; |
|
|
|
qDebug() << __FUNCTION__ << "widget : " << widget << " widget->size () " << widget->size() << " isResizable " << isResizable; |
|
|
|
qDebug() << __FUNCTION__ << "widget : " << widget << " widget->size () " << widget->size() << " isResizable " << isResizable; |
|
|
|
updateView(size()); |
|
|
|
updateView(size()); |
|
|
|
mpLayout->addWidget(widget); |
|
|
|
mpLayout->addWidget(widget); |
|
|
|