tools/qconfig/main.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   169     textBrowser = new FeatureTextBrowser(splitter);
   169     textBrowser = new FeatureTextBrowser(splitter);
   170     textBrowser->setFrameStyle(QFrame::WinPanel|QFrame::Sunken);
   170     textBrowser->setFrameStyle(QFrame::WinPanel|QFrame::Sunken);
   171     splitter->addWidget(textBrowser);
   171     splitter->addWidget(textBrowser);
   172     textBrowser->show();
   172     textBrowser->show();
   173 
   173 
   174     connect(textBrowser, SIGNAL(featureClicked(const QString&)),
   174     connect(textBrowser, SIGNAL(featureClicked(QString)),
   175             this, SLOT(showInfo(const QString&)));
   175             this, SLOT(showInfo(QString)));
   176     connect(featureTree, SIGNAL(activated(QModelIndex)),
   176     connect(featureTree, SIGNAL(activated(QModelIndex)),
   177 	    this, SLOT(showInfo(QModelIndex)));
   177 	    this, SLOT(showInfo(QModelIndex)));
   178     connect(featureModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)),
   178     connect(featureModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)),
   179             this, SLOT(modelChanged()));
   179             this, SLOT(modelChanged()));
   180     connect(featureTree, SIGNAL(clicked(QModelIndex)),
   180     connect(featureTree, SIGNAL(clicked(QModelIndex)),
   181             this, SLOT(showInfo(QModelIndex)));
   181             this, SLOT(showInfo(QModelIndex)));
   182 
   182 
   183     setCentralWidget(splitter);
   183     setCentralWidget(splitter);