| 91 | } |
| 92 | |
| 93 | void SampleValuesDialog::setColumns(const QVector<Column*>& columns) { |
| 94 | m_columns = columns; |
| 95 | |
| 96 | // resize the dialog to have the minimum height |
| 97 | layout()->activate(); |
| 98 | resize(QSize(this->width(), 0).expandedTo(minimumSize())); |
| 99 | } |
| 100 | |
| 101 | void SampleValuesDialog::methodChanged(int index) const { |
| 102 | if (index == 0) |