Subversion Repositories OpenInventory

Rev

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

Rev 118 Rev 119
Line 27... Line 27...
27
    MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("7"));
27
    MainWindow::buildPreviewModel(tr("Ìîÿ ìîäåëü"), tr("7"));
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)));
-
 
33
    ui->pushButton_3->setEnabled(false);
-
 
34
    ui->pushButton_4->setEnabled(false);
-
 
35
-
 
36
32
}
37
}
33
38
34
MainWindow::~MainWindow()
39
MainWindow::~MainWindow()
35
{
40
{
36
    delete sql_mogel;
41
    delete sql_mogel;