[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | Static Public Member Functions | Protected Member Functions
KLFProgErr Class Reference

#include <klfprogerr.h>

List of all members.

Public Member Functions

 KLFProgErr (QWidget *parent, QString errtext)
virtual ~KLFProgErr ()
QTextEdit * textEditWidget ()

Static Public Member Functions

static void showError (QWidget *parent, QString text)
static QString extractLatexError (const QString &str)

Protected Member Functions

virtual void showEvent (QShowEvent *e)

Detailed Description

A dialog box suitable to display the output of a program, usually because it returned some kind of error.

Definition at line 42 of file klfprogerr.h.


Constructor & Destructor Documentation

KLFProgErr::KLFProgErr ( QWidget *  parent,
QString  errtext 
)

Definition at line 32 of file klfprogerr.cpp.

KLFProgErr::~KLFProgErr ( ) [virtual]

Definition at line 52 of file klfprogerr.cpp.


Member Function Documentation

QString KLFProgErr::extractLatexError ( const QString str) [static]

Attempt to extract a short version of an error in LaTeX output.

str should be some LaTeX output with an error. If we weren't able to extract anything, the full string is returned untouched.

Definition at line 72 of file klfprogerr.cpp.

References QRegExp::cap(), QRegExp::indexIn(), and QString::replace().

void KLFProgErr::showError ( QWidget *  parent,
QString  text 
) [static]

convenience static function

Definition at line 61 of file klfprogerr.cpp.

void KLFProgErr::showEvent ( QShowEvent e) [protected, virtual]

Definition at line 57 of file klfprogerr.cpp.

QTextEdit * KLFProgErr::textEditWidget ( )

Definition at line 46 of file klfprogerr.cpp.


The documentation for this class was generated from the following files:

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net