//加载背景图片
void LCTGrid::loadBgPicture()
{
QImage image;
QPalette palette;
image.load(m_sPicturePath);
QPixmap pixmap = QPixmap::fromImage(image.scaled(m_pWidget->width(),
m_pWidget->height(),
Qt::IgnoreAspectRatio) );
palette.setBrush(m_pWidget->backgroundRole(),QBrush(pixmap));
m_pWidget->setPalette(palette);
}