author | insilmaril |
Wed Feb 27 16:09:06 2008 +0000 (2008-02-27) | |
changeset 673 | 234b4900dfa8 |
permissions | -rw-r--r-- |
insilmaril@385 | 1 |
#include "extrainfodialog.h" |
insilmaril@385 | 2 |
|
insilmaril@385 | 3 |
|
insilmaril@385 | 4 |
ExtraInfoDialog::ExtraInfoDialog(QWidget *parent):QDialog (parent) |
insilmaril@385 | 5 |
{ |
insilmaril@385 | 6 |
ui.setupUi (this); |
insilmaril@385 | 7 |
} |
insilmaril@385 | 8 |
|
insilmaril@385 | 9 |
|
insilmaril@385 | 10 |
void ExtraInfoDialog::setMapName(const QString &s) |
insilmaril@385 | 11 |
{ |
insilmaril@385 | 12 |
ui.mapNameLE->setText (s); |
insilmaril@385 | 13 |
} |
insilmaril@385 | 14 |
|
insilmaril@385 | 15 |
void ExtraInfoDialog::setComment (const QString &s) |
insilmaril@385 | 16 |
{ |
insilmaril@385 | 17 |
ui.commentTE->setText (s); |
insilmaril@385 | 18 |
} |
insilmaril@385 | 19 |
|
insilmaril@385 | 20 |
QString ExtraInfoDialog::getComment() |
insilmaril@385 | 21 |
{ |
insilmaril@385 | 22 |
return ui.commentTE->text(); |
insilmaril@385 | 23 |
} |
insilmaril@385 | 24 |
|
insilmaril@385 | 25 |
|
insilmaril@385 | 26 |
void ExtraInfoDialog::setAuthor(const QString &s) |
insilmaril@385 | 27 |
{ |
insilmaril@385 | 28 |
ui.authorLE->setText (s); |
insilmaril@385 | 29 |
} |
insilmaril@385 | 30 |
|
insilmaril@385 | 31 |
QString ExtraInfoDialog::getAuthor() |
insilmaril@385 | 32 |
{ |
insilmaril@385 | 33 |
return ui.authorLE->text(); |
insilmaril@385 | 34 |
} |
insilmaril@385 | 35 |
|
insilmaril@385 | 36 |
void ExtraInfoDialog::setStats(const QString &s) |
insilmaril@385 | 37 |
{ |
insilmaril@385 | 38 |
ui.statsTE->setText (s); |
insilmaril@385 | 39 |
} |