Хранилища Subversion OpenInventory

Сравнить редакции

Не учитывать пробелы Редакция 89 → Редакция 90

/trunk/DBViewer/mainwindow.ui
6,7 → 6,7
<rect>
<x>0</x>
<y>0</y>
<width>617</width>
<width>766</width>
<height>633</height>
</rect>
</property>
17,10 → 17,10
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>601</width>
<height>571</height>
<x>20</x>
<y>10</y>
<width>731</width>
<height>541</height>
</rect>
</property>
<property name="currentIndex">
40,15 → 40,30
<rect>
<x>10</x>
<y>10</y>
<width>256</width>
<width>711</width>
<height>511</height>
</rect>
</property>
<column>
<property name="text">
<string notr="true">1</string>
<string notr="true">Имя класа</string>
</property>
</column>
<column>
<property name="text">
<string>ID класса</string>
</property>
</column>
<column>
<property name="text">
<string>Номер строки в файле</string>
</property>
</column>
<column>
<property name="text">
<string>Уровень вложения</string>
</property>
</column>
</widget>
</widget>
</widget>
58,7 → 73,7
<rect>
<x>0</x>
<y>0</y>
<width>617</width>
<width>766</width>
<height>27</height>
</rect>
</property>
/trunk/DBViewer/mainwindow.cpp
44,7 → 44,7
 
result = file.open(QIODevice::ReadOnly);
if (result) {
model_str = QString(file.readAll());
model_str = QString(tr(file.readAll()));
}
 
setupModelData(model_str.split(QString("\n")), rootItem1);
106,8 → 106,9
itm_tmp->setCheckState(0,Qt::Checked);
}
else itm_tmp->setCheckState(0,Qt::Unchecked);
 
 
itm_tmp->setText(1, QString(columnData.at(2).toString()));
itm_tmp->setText(2, QVariant(number).toString()); // íîìåð ñòðîêè â ôàéëå-ìîäåëè îòîáðàæåíèÿ
itm_tmp->setText(3, QVariant(indentations.size()).toString());
}
 
number++;
/trunk/DBViewer/model.txt
1,7 → 1,7
Hello!!! true
Substring true
SubSubstring false
SubSubstring2 true
SubSubstring3 false
Bay true
Hello!!! true 1
Îòäåë true 2
Ñîòðóäíèê false 3
SubSubstring2 true 4
SubSubstring3 false 5
Bay true 6