[KLF Backend]
[KLF Tools]
[KLF Home]
KLatexFormula Project
src
klftools
klfprogerr.h
Go to the documentation of this file.
1
/***************************************************************************
2
* file klfprogerr.h
3
* This file is part of the KLatexFormula Project.
4
* Copyright (C) 2014 by Philippe Faist
5
* philippe.faist at bluewin.ch
6
* *
7
* This program is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 2 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with this program; if not, write to the *
19
* Free Software Foundation, Inc., *
20
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
***************************************************************************/
22
/* $Id: klfprogerr.h 903 2014-08-10 02:15:11Z phfaist $ */
23
24
25
#ifndef KLFPROGERR_H
26
#define KLFPROGERR_H
27
28
#include <QWidget>
29
#include <QDialog>
30
#include <QTextEdit>
31
#include <QEvent>
32
33
#include <
klfdefs.h
>
34
35
namespace
Ui
{
36
class
KLFProgErr
;
37
}
38
42
class
KLF_EXPORT
KLFProgErr
:
public
QDialog
43
{
44
Q_OBJECT
45
public
:
46
KLFProgErr
(QWidget *parent,
QString
errtext);
47
virtual
~
KLFProgErr
();
48
49
QTextEdit *textEditWidget();
50
52
static
void
showError(QWidget *parent,
QString
text);
53
59
static
QString
extractLatexError(
const
QString
& str);
60
61
protected
:
62
virtual
void
showEvent(
QShowEvent
*e);
63
64
private
:
65
Ui::KLFProgErr *u;
66
};
67
68
69
70
#endif
klfdefs.h
Base declarations for klatexformula and some utilities.
Ui
Definition:
klfadvancedconfigeditor.h:35
KLF_EXPORT
#define KLF_EXPORT
Definition:
klfdefs.h:41
QShowEvent
QString
KLFProgErr
Definition:
klfprogerr.h:42
Generated by
doxygen
1.8.13