2 #include "ui_addpresetdialog.h" 9 ui->group->addItems(groups);
10 ui->group->lineEdit()->setText(group);
20 return ui->group->lineEdit()->text();
25 return ui->description->text();
30 ui->group->lineEdit()->setText(group);
35 ui->description->setText(description);
40 ui->description->hide();
41 ui->descriptionLabel->hide();
46 setWindowTitle(title);
51 ui->descriptionBox->setTitle(title);
void setDialogTitle(const QString &title)
void setGroup(const QString &group)
void setDescription(const QString &description)
void setDescriptionBoxTitle(const QString &title)
QString description() const
AddPresetDialog(const QStringList &groups, const QString &group, QWidget *parent=NULL)