extrainfodialog.cpp
author insilmaril
Mon, 05 May 2008 13:46:42 +0000
changeset 694 2bbdcca6e779
parent 385 63e28dfd877d
permissions -rw-r--r--
Some code cleanup and experimental stuff to support animations later
     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 }