--- as_assist.cpp 2002/11/26 20:38:19 1.25
+++ as_assist.cpp 2002/11/26 21:18:48 1.26
@@ -215,7 +215,7 @@
throw Genexcept("Main window menu bar nonexistant.");
// Make an easter egg ;-)
- QToolTip::add(m_pMenubar, QRect(0, 0, 2, 2), "Easter egg");
+ QToolTip::add(m_pMenubar, QRect(0, 0, 2, 2), "Easter Egg");
// Construct and populate the file menu with actions
QPopupMenu *pFilepopup = new QPopupMenu(this);
@@ -554,6 +554,21 @@
" have about the task.");
QWhatsThis::add(m_pRemark, kszRemarktext);
+ // Tuple push button confirm
+ m_pConfirmbutton = new QPushButton(m_pCenframe, "Confirmbutton");
+ if (m_pConfirmbutton == NULL) // Sanity check
+ throw Genexcept("Main window confirm button creation failed.");
+ m_pConfirmbutton->setCursor(QCursor(13));
+ m_pConfirmbutton->setText(trUtf8("&Confirm"));
+ QToolTip::add(m_pConfirmbutton, trUtf8("Confirm Editing"));
+ connect(m_pConfirmbutton, SIGNAL(clicked()), this, SLOT(confirmEdit()));
+ m_pTasklayout->addWidget(m_pConfirmbutton); // Finally add the confirm button
+
+ // Whatsthis info for the confirm button
+ const char *kszConfirmtext = trUtf8("Confirm any <em>row edition</em> by "
+ "finally clicking on this button.");
+ QWhatsThis::add(m_pConfirmbutton, kszConfirmtext);
+
// // Signals
// m_pDateedit->valueChanged(const QDate &date);
// m_pStarttime->valueChanged(const QTime &time);
|