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