1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00
QXlsx/Copycat/XlsxTab.cpp

25 lines
306 B
C++
Raw Normal View History

2018-09-27 17:41:21 +09:00
// XlsxTab.cpp
#include "XlsxTab.h"
XlsxTab::XlsxTab(QWidget* parent, QXlsx::AbstractSheet* ptrSheet)
: QWidget(parent)
{
table = NULL;
if ( NULL != ptrSheet ) {
// set sheet data
}
}
XlsxTab::~XlsxTab()
{
if ( NULL != table )
{
table->deleteLater();
}
}