Files

20 lines
469 B
C++
Raw Permalink Normal View History

2017-12-19 18:59:49 +01:00
#include "lunchmealdialog.h"
#include "ui_lunchmealdialog.h"
2017-12-19 20:11:29 +01:00
#include <QDate>
2018-05-27 19:24:21 +02:00
#include <QLocale>
2017-12-19 20:11:29 +01:00
2017-12-23 11:10:57 +01:00
LunchMealDialog::LunchMealDialog(const QDate &date, const QString &content, QWidget *parent) :
2017-12-29 12:37:40 +01:00
ZeiterfassungDialog(parent),
2017-12-19 18:59:49 +01:00
ui(new Ui::LunchMealDialog)
{
ui->setupUi(this);
2017-12-22 23:14:03 +01:00
2018-05-27 19:24:21 +02:00
ui->labelTitle->setText(tr("Lunch meal for %0").arg(QLocale().toString(date)));
2017-12-23 11:10:57 +01:00
ui->labelLunchMeal->setText(content);
2017-12-19 18:59:49 +01:00
}
LunchMealDialog::~LunchMealDialog()
{
delete ui;
}