3181 const QString server = fDimCmdServers->currentIndex().data().toString();
3182 const QString command = fDimCmdCommands->currentIndex().data().toString();
3183 const QString arguments = fDimCmdLineEdit->displayText();
3189 SendDimCommand(server.toStdString(), command.toStdString()+
" "+arguments.toStdString());
3190 fTextEdit->append(
"<font color='green'>Command '"+server+
'/'+command+
"' successfully emitted.</font>");
3191 fDimCmdLineEdit->clear();
3193 catch (
const runtime_error &e)
3199 while (getline(txt, buffer,
'\n'))
3200 fTextEdit->append((
"<font color='red'><pre>"+buffer+
"</pre></font>").c_str());
bool SendDimCommand(std::ostream &lout, const std::string &server, const std::string &str) const