strange2.gif
Any Idea how to draw this controle? It looks like check buttons on QTextEdit ? I tried to write code to achieve same look and feel ,

#include <QApplication>
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication myapp(argc,argv);

QWidget *mywidget= new QWidget;
QTextEdit *myedit = new QTextEdit(mywidget);
QCheckBox *one= new QCheckBox("hotels",myedit);
QCheckBox *two= new QCheckBox("Restaurants & Cafes",myedit);
QCheckBox *three= new QCheckBox("Bars,Pubs & Clubs",myedit);
QCheckBox *four= new QCheckBox("Trips & Activities",myedit);
QCheckBox *five= new QCheckBox("Sites & Attractions",myedit);
QCheckBox *six= new QCheckBox("Churches & Temples",myedit);
QCheckBox *seven= new QCheckBox("Historic Buildings",myedit);
QCheckBox *eight= new QCheckBox("Museums",myedit);
QCheckBox *nine= new QCheckBox("Art Galleries",myedit);
QCheckBox *ten= new QCheckBox("Cinemas",myedit);
QCheckBox *eleven= new QCheckBox("Theater",myedit);
QVBoxLayout *lay= new QVBoxLayout;

lay->addWidget(one);
lay->addWidget(two);
lay->addWidget(three);
lay->addWidget(four);
lay->addWidget(five);
lay->addWidget(six);
lay->addWidget(seven);
lay->addWidget(eight);
lay->addWidget(nine);
lay->addWidget(ten);
lay->addWidget(eleven);

myedit->setLayout(lay);
mywidget->setGeometry(10,10,20,20);

mywidget->show();

return myapp.exec();

}
But dialog color appear behind the caption of check Box can some body explain how to get rid of this color/ to get same look and feel