comparison moreinformationdialog.cpp @ 298:fd9dc5a457d8

* Make "More Details" button non-auto-default in more-info dialog * Make Incoming dialog show same message as in Pull dialog when no changes are pending * Try to make the confirm-push/pull dialogs look more in-keeping on OS/X... but mostly we end up making their text too small. Hmm.
author Chris Cannam
date Tue, 22 Feb 2011 15:12:56 +0000
parents 2e34e7ee7baf
children
comparison
equal deleted inserted replaced
295:01a471e9cbe3 298:fd9dc5a457d8
54 connect(bb, SIGNAL(accepted()), this, SLOT(accept())); 54 connect(bb, SIGNAL(accepted()), this, SLOT(accept()));
55 layout->addWidget(bb, 2, 0, 1, 2); 55 layout->addWidget(bb, 2, 0, 1, 2);
56 56
57 m_moreButton = bb->addButton(tr("More Details..."), 57 m_moreButton = bb->addButton(tr("More Details..."),
58 QDialogButtonBox::ActionRole); 58 QDialogButtonBox::ActionRole);
59 m_moreButton->setAutoDefault(false);
59 m_moreButton->setDefault(false); 60 m_moreButton->setDefault(false);
60 61
61 connect(m_moreButton, SIGNAL(clicked()), this, SLOT(moreClicked())); 62 connect(m_moreButton, SIGNAL(clicked()), this, SLOT(moreClicked()));
62 63
63 bb->button(QDialogButtonBox::Ok)->setDefault(true); 64 bb->button(QDialogButtonBox::Ok)->setDefault(true);