bug/loadimage-dump
This commit is contained in:
@@ -94,6 +94,7 @@ void PanelWidget::setWidget(QList<QWidget *> widgets, int columnCount)
|
||||
foreach (QWidget *widget, widgets) {
|
||||
gridLayout->removeWidget(widget);
|
||||
widget->setVisible(false);
|
||||
delete widget;
|
||||
}
|
||||
|
||||
//重新添加到布局中并可见
|
||||
|
||||
@@ -61,6 +61,7 @@ public:
|
||||
QList<QWidget *> getWidgets();
|
||||
int getColumnCount();
|
||||
|
||||
|
||||
public Q_SLOTS:
|
||||
void setWidget(QList<QWidget *> widgets, int columnCount);
|
||||
void setMargin(int left, int top, int right, int bottom);
|
||||
|
||||
Reference in New Issue
Block a user