extrainfodialog.cpp
author insilmaril
Tue, 19 Jun 2007 14:20:30 +0000
changeset 514 497fab7d1404
parent 385 63e28dfd877d
permissions -rw-r--r--
Exports can (partly) be scripted
     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 }