Guest User

Untitled

a guest
Oct 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. void Converter::ChangePic()
  2. {
  3. QMap <QString, QPixmap>::iterator it;
  4.  
  5. for(QMap<QString,QPixmap>::iterator it = map->begin(); it != map->end(); ++it)
  6. {
  7. if(it.key() == from->itemText())
  8. {
  9. fromImage->setPixmap(it.value());
  10. }
  11. }
  12.  
  13. }
Add Comment
Please, Sign In to add comment