Subversion Repositories OpenInventory

Rev

Rev 119 | Rev 125 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 121
Line 22... Line 22...
22
    file_tmp.close();
22
    file_tmp.close();
23
23
24
    ui->treeWidget->setAlternatingRowColors(true);
24
    ui->treeWidget->setAlternatingRowColors(true);
25
    ui->treeWidget_2->setAlternatingRowColors(true);
25
    ui->treeWidget_2->setAlternatingRowColors(true);
26
    MainWindow::openDataBase();
26
    MainWindow::openDataBase();
27
    MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("7"));
27
    MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("46"));
28
    MainWindow::initComboBox();
28
    MainWindow::initComboBox();
29
    getDatabaseData();
29
    getDatabaseData();
30
    sql_mogel = new QSqlTableModel();
30
    sql_mogel = new QSqlTableModel();
31
    model_is_build = true;
31
    model_is_build = true;
32
    connect(sql_mogel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(on_sql_mogel_dataChanged(QModelIndex,QModelIndex)));
32
    connect(sql_mogel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(on_sql_mogel_dataChanged(QModelIndex,QModelIndex)));