author | insilmaril |
Mon, 08 Dec 2008 16:57:33 +0000 | |
changeset 729 | 7ddbe3fa34a1 |
parent 385 | 63e28dfd877d |
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 |
} |