...gb1 = new QGroupBox (this); lstbItems = new QListBox(gb1);lstbItems->setMultiSelection(true);lstbItems->insertItem("asasasa", 0);lstbItems->insertItem("dfgv", 1);lstbItems->insertItem("ddggv", 2);lstbItems->insertItem("wvhgf", 3);vbl1 = new QVBoxLayout(this);vbl1->addWidget(gb1);vbl2 = new QVBoxLayout(gb1);vbl2->addWidget(lstbItems);...
...#include <qapplication.h> #include <qgroupbox.h>#include <qlistbox.h> class FormAdj : public clForm{ Q_OBJECTpublic: FormAdj(QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0); ~FormMapAdj(){;} private: QListBox * lstbItems; QGroupBox *gb1;...