]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - src/showtextdialog.h
New upstream version 2.9.22
[sven/vym.git] / src / showtextdialog.h
diff --git a/src/showtextdialog.h b/src/showtextdialog.h
new file mode 100644 (file)
index 0000000..693fd8c
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef SHOWTEXTDIALOG_H
+#define SHOWTEXTDIALOG_H
+
+#include "ui_showtextdialog.h"
+
+// #include <QLayout>
+// #include <QTextBrowser>
+
+class ShowTextDialog : public QDialog {
+    Q_OBJECT
+  public:
+    ShowTextDialog(QWidget *parent = 0);
+    void append(const QString &);
+    void setHtml(const QString &);
+    void setText(const QString &);
+    void useFixedFont(bool);
+
+  private:
+    Ui::ShowTextDialog ui;
+};
+
+#endif // SHOWTEXTDIALOG_H