DialogAddPreset.cpp

Go to the documentation of this file.
00001 #include "DialogAddPreset.h"
00002 
00003 #include <qvariant.h>
00004 /*
00005  *  Constructs a DialogAddPreset 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 DialogAddPreset::DialogAddPreset(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 DialogAddPreset::~DialogAddPreset()
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 DialogAddPreset::languageChange()
00031 {
00032     retranslateUi(this);
00033 }
00034 
00035 void DialogAddPreset::fileOpen()
00036 {
00037     qWarning("DialogAddPreset::fileOpen(): Not implemented yet");
00038 }
00039 

Generated on Sun Nov 23 02:28:34 2008 for Sofa by  doxygen 1.5.7.1