18 #ifndef TEXTVIEWERDIALOG_H
19 #define TEXTVIEWERDIALOG_H
23 class QDialogButtonBox;
26 class TextViewerDialog;
29 class TextViewerDialog :
public QDialog
34 explicit TextViewerDialog(QWidget *parent = 0,
bool forMltXml =
false);
36 void setText(
const QString &s,
bool scroll =
false);
37 QDialogButtonBox *buttonBox()
const;
40 void on_buttonBox_accepted();
43 Ui::TextViewerDialog *ui;