Mercurial > hg > svgui
comparison widgets/PluginParameterDialog.cpp @ 251:948a3b05798b
* minor usability fixes
author | Chris Cannam |
---|---|
date | Fri, 18 May 2007 16:47:38 +0000 |
parents | e6d0b097d102 |
children | 4edaff85875d |
comparison
equal
deleted
inserted
replaced
250:3fe622570b35 | 251:948a3b05798b |
---|---|
224 hbox->addWidget(m_advancedButton); | 224 hbox->addWidget(m_advancedButton); |
225 m_advancedButton->hide(); | 225 m_advancedButton->hide(); |
226 | 226 |
227 QPushButton *ok = new QPushButton(tr("OK")); | 227 QPushButton *ok = new QPushButton(tr("OK")); |
228 QPushButton *cancel = new QPushButton(tr("Cancel")); | 228 QPushButton *cancel = new QPushButton(tr("Cancel")); |
229 ok->setDefault(true); | |
229 hbox->addStretch(10); | 230 hbox->addStretch(10); |
230 hbox->addWidget(ok); | 231 hbox->addWidget(ok); |
231 hbox->addWidget(cancel); | 232 hbox->addWidget(cancel); |
232 connect(ok, SIGNAL(clicked()), this, SLOT(accept())); | 233 connect(ok, SIGNAL(clicked()), this, SLOT(accept())); |
233 connect(cancel, SIGNAL(clicked()), this, SLOT(reject())); | 234 connect(cancel, SIGNAL(clicked()), this, SLOT(reject())); |