SIGNAL(selectionChanged(const QItemSelection &,const QItemSelection &)),
this, SLOT(updateButtons()));
updateButtons();
-
}
+
AddWeightDialog::AddWeightDialog(QWidget *parent)
: QDialog(parent)
{
QGridLayout *layout = new QGridLayout(this);
QLabel *dateLabel = new QLabel("Date:", this);
- //dateLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Maximum);
layout->addWidget(dateLabel, 0, 0);
#ifdef Q_WS_MAEMO_5
layout->addWidget(date, 1, 0);
QLabel *weightLabel = new QLabel("Weight:", this);
- //weightLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Maximum);
layout->addWidget(weightLabel, 0, 1);
weight = new WeightSpinBox(this);