resource.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net>     *
00003  *                                                                         *
00004  *   This file is part of the FreeCAD CAx development system.              *
00005  *                                                                         *
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Library General Public           *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2 of the License, or (at your option) any later version.      *
00010  *                                                                         *
00011  *   This library  is distributed in the hope that it will be useful,      *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Library General Public License for more details.                  *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this library; see the file COPYING.LIB. If not,    *
00018  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00019  *   Suite 330, Boston, MA  02111-1307, USA                                *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 
00024 #include "PreCompiled.h"
00025 
00026 #include "BitmapFactory.h"
00027 #include "WidgetFactory.h"
00028 #include "Workbench.h"
00029 
00030 // INCLUDE YOUR PREFERENCFE PAGES HERE
00031 //
00032 #include "DlgPreferencesImp.h"
00033 #include "DlgSettings3DViewImp.h"
00034 #include "DlgSettingsViewColor.h"
00035 #include "DlgGeneralImp.h"
00036 #include "DlgEditorImp.h"
00037 #include "DlgSettingsMacroImp.h"
00038 #include "DlgSettingsUnitsImp.h"
00039 #include "DlgSettingsDocumentImp.h"
00040 //#include "DlgOnlineHelpImp.h"
00041 #include "DlgReportViewImp.h"
00042 
00043 #include "DlgToolbarsImp.h"
00044 #include "DlgActionsImp.h"
00045 #include "DlgCommandsImp.h"
00046 #include "DlgKeyboardImp.h"
00047 #include "DlgCustomizeSpaceball.h"
00048 
00049 using namespace Gui;
00050 using namespace Gui::Dialog;
00051 
00055 WidgetFactorySupplier::WidgetFactorySupplier()
00056 {
00057     // ADD YOUR PREFERENCE PAGES HERE 
00058     //
00059     //
00060     new PrefPageProducer<DlgGeneralImp>         ( QT_TRANSLATE_NOOP("QObject","General") );
00061   //new PrefPageProducer<DlgOnlineHelpImp>      ( QT_TRANSLATE_NOOP("QObject","General") );
00062     new PrefPageProducer<DlgSettingsDocumentImp>( QT_TRANSLATE_NOOP("QObject","General") );
00063     new PrefPageProducer<DlgSettingsEditorImp>  ( QT_TRANSLATE_NOOP("QObject","General") );
00064     new PrefPageProducer<DlgReportViewImp>      ( QT_TRANSLATE_NOOP("QObject","General") );
00065     new PrefPageProducer<DlgSettingsMacroImp>   ( QT_TRANSLATE_NOOP("QObject","General") );
00066     //new PrefPageProducer<DlgSettingsUnitsImp>   ( QT_TRANSLATE_NOOP("QObject","General") );
00067     new PrefPageProducer<DlgSettings3DViewImp>  ( QT_TRANSLATE_NOOP("QObject","Display") );
00068     new PrefPageProducer<DlgSettingsViewColor>  ( QT_TRANSLATE_NOOP("QObject","Display") );
00069 
00070     // ADD YOUR CUSTOMIZE PAGES HERE
00071     //
00072     //
00073     new CustomPageProducer<DlgCustomCommandsImp>;
00074     new CustomPageProducer<DlgCustomKeyboardImp>;
00075     new CustomPageProducer<DlgCustomToolbarsImp>;
00076   //new CustomPageProducer<DlgCustomToolBoxbarsImp>;
00077     new CustomPageProducer<DlgCustomActionsImp>;
00078     new CustomPageProducer<DlgCustomizeSpaceball>;
00079 
00080     // ADD YOUR PREFERENCE WIDGETS HERE
00081     //
00082     //
00083     new WidgetProducer<Gui::PrefSpinBox>;
00084     new WidgetProducer<Gui::PrefDoubleSpinBox>;
00085     new WidgetProducer<Gui::PrefLineEdit>;
00086     new WidgetProducer<Gui::PrefComboBox>;
00087     new WidgetProducer<Gui::PrefCheckBox>;
00088     new WidgetProducer<Gui::PrefRadioButton>;
00089     new WidgetProducer<Gui::PrefSlider>;
00090     new WidgetProducer<Gui::PrefFileChooser>;
00091     new WidgetProducer<Gui::PrefColorButton>;
00092     new WidgetProducer<Gui::CommandIconView>;
00093     new WidgetProducer<Gui::AccelLineEdit>;
00094     new WidgetProducer<Gui::ColorButton>;
00095     new WidgetProducer<Gui::UrlLabel>;
00096     new WidgetProducer<Gui::FileChooser>;
00097     new WidgetProducer<Gui::UIntSpinBox>;
00098 }

Generated on Wed Nov 23 19:00:35 2011 for FreeCAD by  doxygen 1.6.1