필터 업데이트

애널저 숫자 정렬 추가

git-svn-id: svn://192.168.0.12/source@280 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
admin
2016-07-08 08:20:08 +00:00
parent 3a7eb4d829
commit 9d04a7e128
13 changed files with 99 additions and 41 deletions

View File

@@ -22,7 +22,7 @@ void STable::SetHeaderList(QVector <QStringList>* _pvecHead,int _nColumn)
setColumnCount(_pvecHead->size());
int i = 0;
foreach(QStringList strList, *_pvecHead )
setHorizontalHeaderItem(i++,new QTableWidgetItem(strList.at(_nColumn)));
setHorizontalHeaderItem(i++,new STableWidgetItem(strList.at(_nColumn)));
}
void STable::SetHeaderList(QStringList _Head)
@@ -30,7 +30,7 @@ void STable::SetHeaderList(QStringList _Head)
setColumnCount(_Head.size());
int i = 0;
foreach(QString str,_Head )
setHorizontalHeaderItem(i++,new QTableWidgetItem(str));
setHorizontalHeaderItem(i++,new STableWidgetItem(str));
}
@@ -50,7 +50,7 @@ void STable::menuInsert()
int nRow = currentRow();
insertRow(nRow);
for (int i = 0; i < columnCount() ; i++)
setItem(nRow,i,new QTableWidgetItem(" "));
setItem(nRow,i,new STableWidgetItem(" "));
}
@@ -132,7 +132,7 @@ void STable::Paste()
{
for(int j = 0; j < columnCount(); j++)
{
setItem(i, j, new QTableWidgetItem(QString(" ")));
setItem(i, j, new STableWidgetItem(QString(" ")));
}
}
}
@@ -147,7 +147,7 @@ void STable::Paste()
if (nCol >= columnCount()) continue;
QTableWidgetItem *pItem;
if (nRows >= nRows)
pItem = new QTableWidgetItem;
pItem = new STableWidgetItem;
else
pItem = item(nRow,nCol);
pItem->setText(" "+strCol.trimmed()+" ");