From e0e0e3b4fa28f5cfacddc0622c561bf352192c66 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Fri, 26 Nov 2010 23:20:25 +0200 Subject: [PATCH] GUI: Change text in Add Application-dialog back to plain text. Revert change ca9f8a7036559415e22364e0d078c20647943a32 that converted text in Add Application -dialog to rich text. The text is plain text and doesn't use any formatting so plain text is good for it. --- gui/application.ui | 311 ++++++++++++++++++++++----------------------- 1 file changed, 155 insertions(+), 156 deletions(-) diff --git a/gui/application.ui b/gui/application.ui index a0e516c22..06ef4a358 100644 --- a/gui/application.ui +++ b/gui/application.ui @@ -1,156 +1,155 @@ - - - ApplicationDialog - - - Qt::WindowModal - - - - 0 - 0 - 569 - 300 - - - - Add an application - - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Here you can add applications that can open error files.</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Specify a name for the application and the command to execute.</span></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">The following texts are replaced with appropriate values when application is executed:</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(file) - Filename containing the error</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(line) - Line number containing the error</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(message) - Error message</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(severity) - Error severity</span></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Example opening a file with Kate and make Kate scroll to the correct line:</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">kate -l(line) (file)</span></p></body></html> - - - - - - - - - - - Application's name: - - - mName - - - - - - - Command to execute: - - - mPath - - - - - - - - - - - - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Browse - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - mName - mPath - mButtonBrowse - mButtons - - - - - mButtons - accepted() - ApplicationDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - mButtons - rejected() - ApplicationDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - - + + + ApplicationDialog + + + Qt::WindowModal + + + + 0 + 0 + 569 + 300 + + + + Add an application + + + + + + Here you can add applications that can open error files. +Specify a name for the application and the application to execute. + +The following texts are replaced with appropriate values when application is executed: +(file) - Filename containing the error +(line) - Line number containing the error +(message) - Error message +(severity) - Error severity + +Example opening a file with Kate and make Kate scroll to the correct line: +kate -l(line) (file) + + + Qt::AutoText + + + + + + + + + + + Application's name: + + + mName + + + + + + + Command to execute: + + + mPath + + + + + + + + + + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Browse + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + mName + mPath + mButtonBrowse + mButtons + + + + + mButtons + accepted() + ApplicationDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + mButtons + rejected() + ApplicationDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + +