123456789101112131415161718192021222324252627282930313233343536373839 |
- #include "toolprops.h"
- #include <qvariant.h>
- #include <qimage.h>
- #include <qpixmap.h>
- #include "toolprops.ui.h"
- /*
- * Constructs a ToolProperties 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.
- */
- ToolProperties::ToolProperties(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
- : QDialog(parent, name, modal, fl)
- {
- setupUi(this);
- init();
- }
- /*
- * Destroys the object and frees any allocated resources
- */
- ToolProperties::~ToolProperties()
- {
- // no need to delete child widgets, Qt does it all for us
- }
- /*
- * Sets the strings of the subwidgets using the current
- * language.
- */
- void ToolProperties::languageChange()
- {
- retranslateUi(this);
- }
|