extrainfodialog.cpp
author insilmaril
Thu Sep 14 11:38:18 2006 +0000 (2006-09-14)
changeset 388 3a58c9ef4a18
permissions -rw-r--r--
1.8.57 - more changes in history window, Note Editor is QT4 now
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
}