extrainfodialog.cpp
author insilmaril
Thu, 14 Sep 2006 11:38:18 +0000
changeset 388 3a58c9ef4a18
parent 385 63e28dfd877d
permissions -rw-r--r--
1.8.57 - more changes in history window, Note Editor is QT4 now
     1 #include "extrainfodialog.h"
     2 
     3 
     4 ExtraInfoDialog::ExtraInfoDialog(QWidget *parent):QDialog (parent)
     5 {
     6 	ui.setupUi (this);
     7 }
     8 
     9 
    10 void ExtraInfoDialog::setMapName(const QString &s)
    11 {
    12 	ui.mapNameLE->setText (s);
    13 }
    14 
    15 void ExtraInfoDialog::setComment (const QString &s)
    16 {
    17 	ui.commentTE->setText (s);
    18 }
    19 
    20 QString ExtraInfoDialog::getComment()
    21 {
    22 	return ui.commentTE->text();
    23 }	
    24 
    25 
    26 void ExtraInfoDialog::setAuthor(const QString &s)
    27 {
    28 	ui.authorLE->setText (s);
    29 }
    30 
    31 QString ExtraInfoDialog::getAuthor()
    32 {
    33 	return ui.authorLE->text();
    34 }
    35 
    36 void ExtraInfoDialog::setStats(const QString &s)
    37 {
    38 	ui.statsTE->setText (s);
    39 }