|
|
|
@ -98,6 +98,12 @@ public slots:
|
|
|
|
|
hide.append(var.toInt());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QMap<QString, QVariant> widths = Context::instance().settings()->value("grids/" + pluginId() + "/widths").toMap();
|
|
|
|
|
foreach (QString key, widths.keys()) {
|
|
|
|
|
tableView()->setColumnWidth(key.toInt(), widths[key].toInt());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
connect(tableView()->horizontalHeader(), SIGNAL(sectionResized(int,int,int)), this, SLOT(widthChanged(int,int,int)));
|
|
|
|
|
hideColumns(hide);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|