a guest May 16th, 2018 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- QPixmap map(":/Medal.jpg");
- QIcon ico(map);
- QPushButton *p = new QPushButton;
- QString link = "http://www.google.com";
- QObject::connect(p, SIGNAL(clicked()),window,SLOT(QDesktopServices::openUrl(QUrl (link))));
RAW Paste Data