File indexing completed on 2024-12-22 04:18:18
0001 /*************************************************************************** 0002 dialogdefaults.h 0003 ------------------- 0004 begin : November 13, 2007 0005 copyright : (C) 2007 C. Barth Netterfield 0006 email : netterfield@astro.utoronto.ca 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef KSTDIALOGDEFAULTS 0019 #define KSTDIALOGDEFAULTS 0020 0021 #include "datavector.h" 0022 #include "psd.h" 0023 #include "generatedvector.h" 0024 #include "datamatrix.h" 0025 #include "histogram.h" 0026 #include "kstwidgets_export.h" 0027 0028 class QSettings; 0029 0030 namespace Kst { 0031 KSTWIDGETS_EXPORT QSettings& dialogDefaults(); 0032 0033 KSTWIDGETS_EXPORT void setDataVectorDefaults(DataVectorPtr); 0034 KSTWIDGETS_EXPORT void setGenVectorDefaults(GeneratedVectorPtr V); 0035 KSTWIDGETS_EXPORT void setDataMatrixDefaults(DataMatrixPtr M); 0036 KSTWIDGETS_EXPORT void setHistogramDefaults(HistogramPtr H); 0037 KSTWIDGETS_EXPORT void saveDialogDefaultsBrush(const QString &group_name, const QBrush &b); 0038 KSTWIDGETS_EXPORT void saveDialogDefaultsLockPosToData(const QString &group_name, const bool lockPosToData); 0039 KSTWIDGETS_EXPORT void saveDialogDefaultsPen(const QString &group_name, const QPen &p); 0040 KSTWIDGETS_EXPORT QBrush dialogDefaultsBrush(const QString &group_name, bool default_no_fill = false); 0041 KSTWIDGETS_EXPORT QPen dialogDefaultsPen(const QString &group_name, bool default_no_pen = false); 0042 KSTWIDGETS_EXPORT bool dialogDefaultsLockPosToData(const QString &group_name); 0043 } 0044 0045 #endif 0046 0047 // Dialog defaults are stored and retrieved from the Kst::dialogDefaults. 0048 // As you add defaults, add them here! 0049 // Name Type Where used 0050 // vector/datasource QString vectordialog datawizard 0051 // vector/range int datarange 0052 // vector/start int datarange 0053 // vector/countFromEnd bool datarange 0054 // vector/readToEnd bool datarange 0055 // vector/skip int datarange 0056 // vector/doSkip bool datarange 0057 // vector/doAve bool datarange 0058 // 0059 // genVector/min" int vectordialog 0060 // genVector/max" int vectordialog 0061 // genVector/length int vectordialog 0062 // spectrum/freq double FFToptions 0063 // spectrum/average bool FFToptions 0064 // spectrum/len int FFToptions 0065 // spectrum/apodize bool FFToptions 0066 // spectrum/removeMean bool FFToptions 0067 // spectrum/vUnits QString FFToptions 0068 // spectrum/rUnits QString FFToptions 0069 // spectrum/apodizeFxn int FFToptions 0070 // spectrum/gaussianSigma double FFToptions 0071 // spectrum/output int FFToptions 0072 // spectrum/interpolateHoles bool FFToptions 0073 0074 // curve/xvectorfield QString datawizard, curvedialog 0075 0076 // export/filename QString exportgraphicsdialog 0077 // export/format QString exportgraphicsdialog 0078 // export/xsize exportgraphicsdialog 0079 // export/ysize exportgraphicsdialog 0080 // export/sizeOption exportgraphicsdialog 0081 0082 // picture/startdir pictureitem.cpp 0083 0084 // histogram/realTimeAutoBin histogramdialog.cpp 0085 0086 // matrix/datasource matrixdialog.cpp 0087 // matrix/reqXStart matrixdialog.cpp 0088 // matrix/reqYStart matrixdialog.cpp 0089 // matrix/xCountFromEnd matrixdialog.cpp 0090 // matrix/xNumSteps matrixdialog.cpp 0091 // matrix/xReadToEnd matrixdialog.cpp 0092 // matrix/yCountFromEnd matrixdialog.cpp 0093 // matrix/yNumSteps matrixdialog.cpp 0094 // matrix/yReadToEnd matrixdialog.cpp 0095 0096 // wizard/updateType int datawizard.cpp 0097 // wizard/doPSD bool datawizard.cpp 0098 // wizard/doXY bool datawizard.cpp 0099 // wizard/curvePlacement enum datawizard.cpp 0100 // wizard/plotPlacement enum datawizard.cpp 0101 // wizard/plotCount int datawizard.cpp 0102 0103 // changedatafile/newFileName QString changefiledialog.cpp 0104 0105 // viewvector/digits int vectormodel.cpp, viewvectordialog.cpp