Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12611 → Rev 12610

/trunk/Scribus/scribus/latexeditor.cpp
198,7 → 198,7
void LatexEditor::extEditorFinished(int exitCode, QProcess::ExitStatus exitStatus)
{
externalEditorPushButton->setEnabled(true);
externalEditorPushButton->setText( tr("Run External Editor...") );
externalEditorPushButton->setText(tr("Run external editor..."));
if (exitCode && extEditor) {
qCritical() << "RENDER FRAME: Editor failed. Output was: " <<
qPrintable(QString(extEditor->readAllStandardOutput()));
218,7 → 218,7
void LatexEditor::extEditorError(QProcess::ProcessError error)
{
externalEditorPushButton->setEnabled(true);
externalEditorPushButton->setText( tr("Run External Editor...") );
externalEditorPushButton->setText(tr("Run external editor..."));
QMessageBox::critical(0, tr("Error"), "<qt>" +
tr("Running the editor \"%1\" failed!").
arg(PrefsManager::instance()->latexEditorExecutable()) +
315,17 → 315,16
if (state == QProcess::Starting) {
messagesTextEdit->setPlainText("");
}
QString text( tr("Status: ") );
if (state == QProcess::NotRunning)
{
if (frame->error())
QString text = tr("Status: ");
if (state == QProcess::NotRunning) {
if (frame->error()) {
text += tr("Error");
else
} else {
text += tr("Finished");
}
} else {
text += tr("Running");
}
else
text += tr("Running");
statusLabel->setText(text);
killPushButton->setEnabled(state != QProcess::NotRunning);
}
708,7 → 707,7
{
public:
XmlColorPicker(I18nXmlStreamReader *xml) : XmlWidget(xml),
QLabel("Color pickers are not implemented yet!")
QLabel("Colorpickers are not implemented yet!")
{
setWordWrap(true);
fromString(m_defaultValue);