Hallo,
ich habe obiges versucht, und zwar folgendermasse
QMessageBox* pNotify = new QMessageBox(„Appointment“, outMessage.str().c_str(), QMessageBox::Information,
QMessageBox:k,QMessageBox::NoButton, QMessageBox::NoButton, 0, 0, true, Qt::WType_Dialog );
pNotify->setFocusPolicy(QWidget::StrongFocus); // sollte nicht notwendig
// sein, hilft aber auch nicht
pNotify->setFocus();
pNotify->show();
Leider bekommt damit der geoeffnete Dialog (pNotify) keinen Focus.
Hat irgendeiner eine Idee?
(QT Version 3.02, Linux XFree 4.2)
Gruss Ben