00001 #include "DialogAddObject.h" 00002 00003 #include <qvariant.h> 00004 /* 00005 * Constructs a DialogAddObject as a child of 'parent', with the 00006 * name 'name' and widget flags set to 'f'. 00007 * 00008 * The dialog will by default be modeless, unless you set 'modal' to 00009 * true to construct a modal dialog. 00010 */ 00011 DialogAddObject::DialogAddObject(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl) 00012 : QDialog(parent, name, modal, fl) 00013 { 00014 setupUi(this); 00015 00016 } 00017 00018 /* 00019 * Destroys the object and frees any allocated resources 00020 */ 00021 DialogAddObject::~DialogAddObject() 00022 { 00023 // no need to delete child widgets, Qt does it all for us 00024 } 00025 00026 /* 00027 * Sets the strings of the subwidgets using the current 00028 * language. 00029 */ 00030 void DialogAddObject::languageChange() 00031 { 00032 retranslateUi(this); 00033 } 00034 00035 void DialogAddObject::fileOpen() 00036 { 00037 qWarning("DialogAddObject::fileOpen(): Not implemented yet"); 00038 } 00039
1.5.7.1