File indexing completed on 2024-12-22 04:17:30

0001 /***************************************************************************
0002  *                                                                         *
0003  *   copyright : (C) 2007 The University of Toronto                        *
0004  *                   netterfield@astro.utoronto.ca                         *
0005  *                                                                         *
0006  *   This program is free software; you can redistribute it and/or modify  *
0007  *   it under the terms of the GNU General Public License as published by  *
0008  *   the Free Software Foundation; either version 2 of the License, or     *
0009  *   (at your option) any later version.                                   *
0010  *                                                                         *
0011  ***************************************************************************/
0012 
0013 #ifndef DIALOGLAUNCHERGUI_H
0014 #define DIALOGLAUNCHERGUI_H
0015 
0016 #include "dialoglauncher.h"
0017 
0018 #include "kst_export.h"
0019 
0020 namespace Kst {
0021 
0022 class DialogLauncherGui : public DialogLauncher {
0023   public:
0024     DialogLauncherGui();
0025     virtual ~DialogLauncherGui();
0026 
0027     virtual void showDataSourceDialog(QString &datasourcename, ObjectPtr datasource = 0, bool modal = false);
0028 
0029     //primitives
0030     virtual void showVectorDialog(QString &vectorname, ObjectPtr objectPtr = 0, bool modal = false);
0031 
0032     virtual void showMatrixDialog(QString &matrixName, ObjectPtr objectPtr = 0, bool modal = false);
0033 
0034     virtual void showScalarDialog(QString &scalarname, ObjectPtr objectPtr = 0, bool modal = false);
0035 
0036     virtual void showStringDialog(QString &stringname, ObjectPtr objectPtr = 0, bool modal = false);
0037 
0038     //standard objects
0039     virtual void showCurveDialog(ObjectPtr objectPtr = 0, VectorPtr vector = 0, PlotItemInterface *plotItem = 0);
0040     virtual void showMultiCurveDialog(QList<ObjectPtr> curves);
0041 
0042     virtual void showImageDialog(ObjectPtr objectPtr = 0, MatrixPtr matrix = 0);
0043     virtual void showMultiImageDialog(QList<ObjectPtr> images);
0044 
0045     //standard data objects
0046     virtual void showEquationDialog(ObjectPtr objectPtr = 0);
0047 
0048     virtual void showHistogramDialog(ObjectPtr objectPtr = 0, VectorPtr vector = 0);
0049 
0050     virtual void showPowerSpectrumDialog(ObjectPtr objectPtr = 0, VectorPtr vector = 0);
0051 
0052     virtual void showCSDDialog(ObjectPtr objectPtr = 0, VectorPtr vector = 0);
0053 
0054     virtual void showEventMonitorDialog(ObjectPtr objectPtr = 0);
0055 
0056     //plugins
0057     virtual void showBasicPluginDialog(QString pluginName, ObjectPtr objectPtr = 0, VectorPtr vectorX = 0, VectorPtr vectorY = 0, PlotItemInterface *plotItem = 0 );
0058 
0059     //show appropriate dialog
0060     virtual void showObjectDialog(ObjectPtr objectPtr = 0);
0061 
0062     virtual void showMultiObjectDialog(QList<ObjectPtr> objects);
0063 
0064 };
0065 
0066 }
0067 
0068 #endif
0069 
0070 // vim: ts=2 sw=2 et