{QStringList label;QPixMap picture;}
QStringList label;
#include <QApplication>#include <QLabel>int main(int argc, char *argv[]){ QApplication a(argc, argv); QLabel label("<a href='tag 1'>tag 1</a> <a href='tag 2'>tag 2</a> <a href='tag 3'>tag 3</a> <a href='tag 4'>tag 4</a> <a href='tag 5'>tag 5</a> <a href='tag 6'>tag 6</a>"); label.connect(&label, SIGNAL(linkActivated(QString)), &label, SLOT(setWindowTitle(QString))); label.show(); return a.exec();}