Subversion Repositories OpenInventory

Rev

Rev 100 | Rev 102 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 100 Rev 101
Line 19... Line 19...
19
    QTextStream out(&file_tmp);
19
    QTextStream out(&file_tmp);
20
    out << MainWindow::modelString;
20
    out << MainWindow::modelString;
21
    file_tmp.close();
21
    file_tmp.close();
22
22
23
    MainWindow::openDataBase();
23
    MainWindow::openDataBase();
24
    MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("3"));
24
    MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("7"));
25
25
26
}
26
}
27
27
28
MainWindow::~MainWindow()
28
MainWindow::~MainWindow()
29
{
29
{
Line 387... Line 387...
387
    chield_class_name = MainWindow::ClassName(chield_id);
387
    chield_class_name = MainWindow::ClassName(chield_id);
388
    Item_tmp = new QTreeWidgetItem(perent_class_item);
388
    Item_tmp = new QTreeWidgetItem(perent_class_item);
389
    Item_tmp->setText(0, chield_class_name);
389
    Item_tmp->setText(0, chield_class_name);
390
    Item_tmp->setText(1, chield_id);
390
    Item_tmp->setText(1, chield_id);
391
    Item_tmp->setCheckState(0, Qt::Checked);
391
    Item_tmp->setCheckState(0, Qt::Checked);
-
 
392
    MainWindow::addChildsItems(Item_tmp);
392
}
393
}
393
394
394
i++;
395
i++;
395
396
396
}
397
}