summaryrefslogtreecommitdiffstats
path: root/kdvi/infodialog.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kdvi/infodialog.h
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/infodialog.h')
-rw-r--r--kdvi/infodialog.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/kdvi/infodialog.h b/kdvi/infodialog.h
new file mode 100644
index 00000000..916d0d13
--- /dev/null
+++ b/kdvi/infodialog.h
@@ -0,0 +1,58 @@
+// -*- C++ -*-
+// infodialog.h
+//
+// (C) 2001 Stefan Kebekus
+// Distributed under the GPL
+
+#ifndef INFO_KDVI_H
+#define INFO_KDVI_H
+
+#include <kdialogbase.h>
+
+#include <qstring.h>
+
+class dvifile;
+class fontPool;
+class QTextView;
+class QWidget;
+
+
+class infoDialog : public KDialogBase
+{
+ Q_OBJECT
+
+public:
+ infoDialog( QWidget* parent = 0 );
+
+ /** This method is used to set the data coming from the DVI
+ file. Note that 0 is a permissible argument, that just means:
+ "no file loaded" */
+ void setDVIData(dvifile *dviFile);
+
+ QTextView* TextLabel1;
+ QTextView* TextLabel2;
+ QTextView* TextLabel3;
+
+public slots:
+ /** This slot is called when Output from the MetaFont programm
+ is received via the fontpool/kpsewhich */
+ void outputReceiver(const QString&);
+
+ /** This slot is called whenever anything in the fontpool has
+ changed. If the infoDialog is shown, the dialog could then
+ query the fontpool for more information. */
+ void setFontInfo(fontPool *fp);
+
+ /** Calling this slot clears the text view and stores the
+ headline. The next time output is received via the
+ outputReceiver, the headline is displayed in bold on top of
+ the text view. */
+ void clear(const QString&);
+
+protected:
+ bool MFOutputReceived;
+ QString headline;
+ QString pool;
+};
+
+#endif // INFO_KDVI_H