Subversion Repositories OpenInventory

Compare Revisions

Regard whitespace Rev 142 → Rev 141

/trunk/DBViewer/mainwindow.cpp
36,7 → 36,6
 
MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("46"));
 
MainWindow::initListModelsTablle();
 
MainWindow::creatModelString();
//int i;
716,14 → 715,3
QMap <QString, QString> MainWindow::getFieldsList(QString class_id){ // ïîëó÷àåì ñïèñîê ïîëåé êëàññà
 
}
 
 
void MainWindow::initListModelsTablle(){
model_for_ListModelsTable = new QSqlTableModel(this);
 
model_for_ListModelsTable->setTable(tr("ListOfModels"));
model_for_ListModelsTable->setEditStrategy(QSqlTableModel::OnFieldChange);
 
ui->tableView_2->setModel(model_for_ListModelsTable);
model_for_ListModelsTable->select();
}