mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-05 09:30:40 +02:00
changed the start and stop receiver error messages to be displayed to the client and not jsus recever
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@214 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
parent
9cdbd74471
commit
4f2f7639af
@ -146,19 +146,19 @@ static const int64_t GUI_VERSION=0x20121213;
|
||||
static QMessageBox* msgBox;
|
||||
switch(index){
|
||||
case WARNING:
|
||||
source.append(": WARNING");
|
||||
source.insert(0,"WARNING: #<b>");
|
||||
msgBox= new QMessageBox(QMessageBox::Warning,source.c_str(),tr(message.c_str()),QMessageBox::Ok, msgBox);
|
||||
break;
|
||||
case CRITICAL:
|
||||
source.append(": CRITICAL");
|
||||
source.insert(0,"CRITICAL: #<b>");
|
||||
msgBox= new QMessageBox(QMessageBox::Critical,source.c_str(),tr(message.c_str()),QMessageBox::Ok, msgBox);
|
||||
break;
|
||||
case INFORMATION:
|
||||
source.append(": INFORMATION");
|
||||
source.insert(0,"INFORMATION: #<b>");
|
||||
msgBox= new QMessageBox(QMessageBox::Information,source.c_str(),tr(message.c_str()),QMessageBox::Ok, msgBox);
|
||||
break;
|
||||
default:
|
||||
source.append(": QUESTION");
|
||||
source.insert(0,"QUESTION: #<b>");
|
||||
msgBox= new QMessageBox(QMessageBox::Question,source.c_str(),tr(message.c_str()),QMessageBox::Ok| QMessageBox::Cancel, msgBox);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user