Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 140 → Rev 141

/trunk/DBViewer/mainwindow.cpp
34,7 → 34,7
 
MainWindow::initComboBox();
 
MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("7"));
MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("46"));
 
 
MainWindow::creatModelString();
94,7 → 94,7
bool result;
QString model_str;
QFile file("modelstring.txt");
 
// QFile file("model.txt");
rootItem1 = new QTreeWidgetItem(ui->treeWidget);
rootItem1->setText(0, tr("Óðîâåíü 1"));
// rootItem2 = new QTreeWidgetItem(rootItem1);
168,9 → 168,12
itm_tmp->setCheckState(0,Qt::Checked);
}
else itm_tmp->setCheckState(0,Qt::Unchecked);
if (columnData.count()>2)
{
itm_tmp->setText(1, QString(columnData.at(2).toString()));
itm_tmp->setText(2, QVariant(number).toString()); // íîìåð ñòðîêè â ôàéëå-ìîäåëè îòîáðàæåíèÿ
itm_tmp->setText(3, QVariant(indentations.size()).toString());
}
}
 
number++;