formimage
This commit is contained in:
parent
3fad0e233f
commit
660ae14c57
|
|
@ -66,6 +66,7 @@ SOURCES += \
|
||||||
fileedit.cpp \
|
fileedit.cpp \
|
||||||
formdraw.cpp \
|
formdraw.cpp \
|
||||||
formhead.cpp \
|
formhead.cpp \
|
||||||
|
formimage.cpp \
|
||||||
forminfo.cpp \
|
forminfo.cpp \
|
||||||
formline.cpp \
|
formline.cpp \
|
||||||
formlogmud.cpp \
|
formlogmud.cpp \
|
||||||
|
|
@ -138,6 +139,7 @@ HEADERS += \
|
||||||
fileedit.h \
|
fileedit.h \
|
||||||
formdraw.h \
|
formdraw.h \
|
||||||
formhead.h \
|
formhead.h \
|
||||||
|
formimage.h \
|
||||||
forminfo.h \
|
forminfo.h \
|
||||||
formline.h \
|
formline.h \
|
||||||
formlogmud.h \
|
formlogmud.h \
|
||||||
|
|
@ -172,6 +174,7 @@ FORMS += \
|
||||||
InDefTable.ui \
|
InDefTable.ui \
|
||||||
formdraw.ui \
|
formdraw.ui \
|
||||||
formhead.ui \
|
formhead.ui \
|
||||||
|
formimage.ui \
|
||||||
forminfo.ui \
|
forminfo.ui \
|
||||||
formline.ui \
|
formline.ui \
|
||||||
formlogmud.ui \
|
formlogmud.ui \
|
||||||
|
|
|
||||||
|
|
@ -5877,19 +5877,27 @@ void MainWindowCurve::slotDeleteSelectWell()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QString strWellName = ui->tableWidget_2->item(iCurrentRow, column)->text();
|
QTableWidgetItem* pItem = ui->tableWidget_2->item(iCurrentRow, column);
|
||||||
m_listWell.removeOne(strWellName);
|
if (pItem)
|
||||||
m_mapFWell.remove(strWellName);
|
{
|
||||||
|
QString strWellName = pItem->text();
|
||||||
|
m_listWell.removeOne(strWellName);
|
||||||
|
m_mapFWell.remove(strWellName);
|
||||||
|
}
|
||||||
//
|
//
|
||||||
ui->tableWidget_2->removeColumn(column+1);//空白列,注意先删除空白列,否则列号改变
|
ui->tableWidget_2->removeColumn(column+1);//空白列,注意先删除空白列,否则列号改变
|
||||||
ui->tableWidget_2->removeColumn(column);
|
ui->tableWidget_2->removeColumn(column);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(column>1)
|
else if (column > 1)
|
||||||
{
|
{
|
||||||
QString strWellName = ui->tableWidget_2->item(iCurrentRow, column)->text();
|
QTableWidgetItem* pItem = ui->tableWidget_2->item(iCurrentRow, column);
|
||||||
m_listWell.removeOne(strWellName);
|
if (pItem)
|
||||||
m_mapFWell.remove(strWellName);
|
{
|
||||||
|
QString strWellName = pItem->text();
|
||||||
|
m_listWell.removeOne(strWellName);
|
||||||
|
m_mapFWell.remove(strWellName);
|
||||||
|
}
|
||||||
//
|
//
|
||||||
ui->tableWidget_2->removeColumn(column);
|
ui->tableWidget_2->removeColumn(column);
|
||||||
ui->tableWidget_2->removeColumn(column-1);//空白列,注意先删除选中列,否则列号改变
|
ui->tableWidget_2->removeColumn(column-1);//空白列,注意先删除选中列,否则列号改变
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user