3 /****************************************************************************
4 ** ui.h extension file, included from the uic-generated form implementation.
6 ** If you want to add, delete, or rename functions or slots, use
7 ** Qt Designer to update this file, preserving your code.
9 ** You should not define a constructor or destructor in this file.
10 ** Instead, write your code in functions called init() and destroy().
11 ** These will automatically be called by the form's constructor and
13 *****************************************************************************/
15 void WarningDialog::init()
17 warningSign->setPixmap (QPixmap("icons/vym.png"));
18 setCancelButton (false);
19 okButton->setText(tr("Proceed"));
20 showAgainBox->setText (tr("Show this message again"));
25 void WarningDialog::setCancelButton (bool b)
30 cancelButton->setText(tr("Cancel"));
35 void WarningDialog::setShowAgainName (const QString &s)
42 void WarningDialog::setText (const QString &s)
44 textLabel->setText(s);
47 void WarningDialog::setCaption(const QString &s)
49 QDialog::setCaption("VYM - "+s);