Advertisement
Guest User

Untitled

a guest
Sep 7th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1.     QSvgRenderer r;
  2.     r.load(m_provider->currentTheme()->graphicsPath());
  3.  
  4.     QPixmap p(r.boundsOnElement("chip_bw_1").size().toSize());
  5.     p.fill(Qt::transparent);
  6.  
  7.     qDebug() << p.isNull();
  8.  
  9.     qDebug() << p.size();
  10.  
  11.     ui->blackLabel->setPixmap(p);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement