author | insilmaril |
Thu, 18 Mar 2010 11:31:02 +0000 | |
changeset 837 | 5ecd0462f76b |
parent 379 | a62478df8d46 |
permissions | -rw-r--r-- |
insilmaril@379 | 1 |
#include "showtextdialog.h" |
insilmaril@379 | 2 |
|
insilmaril@379 | 3 |
|
insilmaril@379 | 4 |
ShowTextDialog::ShowTextDialog (QWidget *parent):QDialog (parent) |
insilmaril@379 | 5 |
{ |
insilmaril@379 | 6 |
ui.setupUi (this); |
insilmaril@379 | 7 |
} |
insilmaril@379 | 8 |
|
insilmaril@379 | 9 |
void ShowTextDialog::append (const QString &s) |
insilmaril@379 | 10 |
{ |
insilmaril@379 | 11 |
ui.textEdit->append (s); |
insilmaril@379 | 12 |
} |
insilmaril@379 | 13 |
|
insilmaril@379 | 14 |
void ShowTextDialog::setText (const QString &s) |
insilmaril@379 | 15 |
{ |
insilmaril@379 | 16 |
ui.textEdit->setText (s); |
insilmaril@379 | 17 |
} |
insilmaril@379 | 18 |
|
insilmaril@379 | 19 |