00001 /*************************************************************************** 00002 ** 00003 ** This file is part of geopsy. 00004 ** 00005 ** This file may be distributed and/or modified under the terms of the 00006 ** GNU General Public License version 2 or 3 as published by the Free 00007 ** Software Foundation and appearing in the file LICENSE.GPL included 00008 ** in the packaging of this file. 00009 ** 00010 ** This file is distributed in the hope that it will be useful, but WITHOUT 00011 ** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 ** FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00013 ** more details. 00014 ** 00015 ** You should have received a copy of the GNU General Public License 00016 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 ** 00018 ** See http://www.geopsy.org for more information. 00019 ** 00020 ** Created : 2005-09-20 00021 ** Authors: 00022 ** Marc Wathelet 00023 ** Marc Wathelet (LGIT, Grenoble, France) 00024 ** 00025 ***************************************************************************/ 00026 00027 #ifndef PREFERENCES_H 00028 #define PREFERENCES_H 00029 00030 #include <GeopsyGui.h> 00031 00032 #include "ui_Preferences.h" 00033 #include "ViewParamEditor.h" 00034 00035 class ViewParamEditor; 00036 00037 class Preferences : public Dialog, public Ui::Preferences 00038 { 00039 Q_OBJECT 00040 00041 public: 00042 Preferences(QWidget* parent=0, Qt::WFlags fl=0); 00043 ~Preferences(); 00044 00045 void saveToolList(); 00046 public slots: 00047 void updateAll(); 00048 void on_formatFixed_toggled(); 00049 void on_formatCustomAscii_clicked(); 00050 void on_timeReferenceFixedDate_toggled(); 00051 void on_timeReferenceFixedTime_toggled(); 00052 void on_timeReferenceNoCommon_toggled(); 00053 void on_timeReferenceAsk_toggled(); 00054 void on_winDoIt_toggled(); 00055 void on_stationNameFile_clicked(); 00056 void on_stationNameRxxx_clicked(); 00057 00058 void on_fileDefaults_clicked(); 00059 void on_poolDefaults_clicked(); 00060 void on_searchTool_clicked(); 00061 void on_addSep_clicked(); 00062 void on_removeTool_clicked(); 00063 void on_moveToolUp_clicked(); 00064 void on_moveToolDown_clicked(); 00065 void on_addPath_clicked(); 00066 void on_removePath_clicked(); 00067 void on_cacheSwapDirBut_clicked(); 00068 00069 void on_graphicMakeUpSwitch_toggled(); 00070 void on_graphicMakeUpBrowse_clicked(); 00071 void on_mapMakeUpSwitch_toggled(); 00072 void on_mapMakeUpBrowse_clicked(); 00073 void on_chronogramMakeUpSwitch_toggled(); 00074 void on_chronogramMakeUpBrowse_clicked(); 00075 private: 00076 QStringList getPaths(); 00077 QStringList getTools(); 00078 void setPluginList(QStringList libs); 00079 }; 00080 00081 #endif // QTBDIALOG_PREFERENCES_H 00082