#include
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QStringListModel model;
QStringList toBuy;
toBuy << "A" << "B" << "C" << "D";
model.setStringList(toBuy);
QListViewview;
view.setModel(&model);
view.show();
return app.exec();
}