void SetForm::settingMinInfo(unordered_map<string, QStringList> umap)
{
//解析
QString key;
QStringList vallist;
poistionComboBox = new QComboBox(this);
QStringList rowList;
stack = new QStackedWidget(this);
unordered_map<string, QStringList> returnmap;
rowList << tr("1") << tr("2");
for (unordered_map<string, QStringList>::iterator it = umap.begin();it != umap.end();it++)
{
QTableWidget* infoSetting = new QTableWidget;
vector.push_back(infoSetting);
key = QString::fromStdString(it->first);
vallist = it->second;
poistionComboBox->addItem(key);
//循环创建tablewidget
infoSetting->horizontalHeader()->setStretchLastSection(true);
infoSetting->setColumnCount(2);
infoSetting->setRowCount(10);
infoSetting->setVerticalHeaderLabels(rowList);<