16 int ntabs = m_PreviewTabs -> count();
18 for (
int i=ntabs; i>0; i--) {
19 QWidget *w = m_PreviewTabs -> widget(i);
20 m_PreviewTabs -> removeTab(i);
24 m_PreviewTabs -> clear();
26 for (
int i=0; i<nfiles; i++) {
27 QTextEdit *t =
new QTextEdit();
30 t -> setReadOnly(
true);
31 t -> setLineWrapMode(QTextEdit::NoWrap);
35 txt.replace(QString(
"\t"),QString(
" "));
36 t -> setPlainText(txt);
38 t -> setPlainText(
m_Preview -> getLines(i));
QseDataExportPreview * m_Preview
QseDataExportPreviewUI(QseDataExportPreview *preview, QWidget *parent=0)