12345678910111213141516171819202122232425262728293031323334 |
- #include "programoutput.h"
- #include <QVariant>
- /*
- * Constructs a ProgramOutput as a child of 'parent', with the
- * name 'name' and widget flags set to 'f'.
- *
- * The dialog will by default be modeless, unless you set 'modal' to
- * true to construct a modal dialog.
- */
- ProgramOutput::ProgramOutput(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
- : QDialog(parent, name, modal, fl)
- {
- setupUi(this);
- }
- /*
- * Destroys the object and frees any allocated resources
- */
- ProgramOutput::~ProgramOutput()
- {
- // no need to delete child widgets, Qt does it all for us
- }
- /*
- * Sets the strings of the subwidgets using the current
- * language.
- */
- void ProgramOutput::languageChange()
- {
- retranslateUi(this);
- }
|