Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 91 → Rev 92

/trunk/DBViewer/dbviewer.qrc
1,5 → 1,6
<RCC>
<qresource prefix="/">
<file>model.txt</file>
<file>temp.txt</file>
</qresource>
</RCC>
/trunk/DBViewer/mainwindow.cpp
13,6 → 13,12
MainWindow::creatModelString();
int i;
i++;
QFile file_tmp("temp.txt");
bool ok;
ok = file_tmp.open(QIODevice::ReadWrite | QIODevice::Text);
QTextStream out(&file_tmp);
out << MainWindow::modelString;
file_tmp.close();
 
}
 
38,6 → 44,7
bool result;
QString model_str;
QFile file(":/model.txt");
 
rootItem1 = new QTreeWidgetItem(ui->treeWidget);
rootItem1->setText(0, tr("Óðîâåíü 1"));
// rootItem2 = new QTreeWidgetItem(rootItem1);