qti.sip File Reference

#include "../src/scripting/ScriptEdit.h"
#include "../src/core/MdiSubWindow.h"
#include "../src/table/Table.h"
#include <QDate>
#include <QTime>
#include <QDateTime>
#include <datetime.h>
#include <qwt_color_map.h>
#include "../src/matrix/Matrix.h"
#include "../src/plot2D/ArrowMarker.h"
#include "../src/plot2D/FrameWidget.h"
#include "../src/plot2D/ImageWidget.h"
#include "../src/plot2D/LegendWidget.h"
#include "../src/plot2D/RectangleWidget.h"
#include "../src/plot2D/EllipseWidget.h"
#include <qwt_symbol.h>
#include <ImageSymbol.h>
#include <qwt_plot_curve.h>
#include "../src/plot2D/PlotCurve.h"
#include "../src/plot2D/FunctionCurve.h"
#include "../src/plot2D/ErrorBarsCurve.h"
#include "../src/plot2D/PieCurve.h"
#include "../src/plot2D/VectorCurve.h"
#include "../src/plot2D/QwtHistogram.h"
#include "../src/plot2D/BoxCurve.h"
#include <qwt_plot_spectrogram.h>
#include "../src/plot2D/Spectrogram.h"
#include "../src/plot2D/Grid.h"
#include "qwt_plot.h"
#include "../src/plot2D/Graph.h"
#include "../src/plot2D/MultiLayer.h"
#include "../src/scripting/Note.h"
#include "../src/plot3D/Graph3D.h"
#include "../src/core/ApplicationWindow.h"
#include "../src/analysis/Fit.h"
#include "../src/analysis/ExponentialFit.h"
#include "../src/analysis/SigmoidalFit.h"
#include "../src/analysis/LogisticFit.h"
#include "../src/analysis/MultiPeakFit.h"
#include "../src/analysis/NonLinearFit.h"
#include "../src/analysis/PluginFit.h"
#include "../src/analysis/PolynomialFit.h"
#include "../src/analysis/Filter.h"
#include "../src/analysis/Differentiation.h"
#include "../src/analysis/Integration.h"
#include "../src/analysis/Interpolation.h"
#include "../src/analysis/SmoothFilter.h"
#include "../src/analysis/FFTFilter.h"
#include "../src/analysis/FFT.h"
#include "../src/analysis/Correlation.h"
#include "../src/analysis/Convolution.h"
#include "../src/scripting/PythonScripting.h"
#include "../src/scripting/PythonScript.h"
#include "../src/core/Folder.h"

Classes

class  ApplicationWindow
class  ArrowMarker
class  BoxCurve
class  Convolution
class  Correlation
class  DataCurve
class  Deconvolution
class  Differentiation
class  EllipseWidget
class  ErrorBarsCurve
class  ExponentialFit
class  FFT
class  FFTFilter
class  Filter
class  Fit
class  Folder
class  FrameWidget
class  FunctionCurve
class  GaussAmpFit
class  GaussFit
class  Graph
class  Graph3D
class  Grid
class  ImageSymbol
class  ImageWidget
class  Integration
class  Interpolation
class  LegendWidget
class  LinearFit
class  LogisticFit
class  LorentzFit
class  Matrix
class  MdiSubWindow
class  MultiLayer
class  MultiPeakFit
class  NonLinearFit
class  Note
class  PieCurve
class  PlotCurve
class  PluginFit
class  PolynomialFit
class  PythonScript
class  PythonScripting
class  QwtHistogram
class  QwtPlot
class  QwtPlotCurve
class  QwtPlotSpectrogram
class  RectangleWidget
class  ScriptEdit
class  SigmoidalFit
class  SmoothFilter
class  Spectrogram
class  Table
class  ThreeExpFit
class  TwoExpFit
class  VectorCurve

Defines

#define CHECK_MATRIX_COL(arg)
#define CHECK_MATRIX_ROW(arg)
#define CHECK_TABLE_COL(arg)
#define CHECK_TABLE_ROW(arg)
#define SIPQTI_APP(sipcppexpr)

Functions

ModuleCode ApplicationWindowsipqti_app ()

Variables

class QwtLinearColorMap PyName

Define Documentation

#define CHECK_MATRIX_COL ( arg   ) 
Value:
int col = arg-1;\
   if (col < 0 || col >= sipCpp->numCols()) {\
        sipIsErr = 1;\
        PyErr_Format(PyExc_ValueError, "There's no column %d in matrix %s!", col+1, sipCpp->name().ascii());\
    }
#define CHECK_MATRIX_ROW ( arg   ) 
Value:
int row = arg-1;\
    if (row < 0 || row >= sipCpp->numRows()) {\
        sipIsErr = 1;\
        PyErr_Format(PyExc_ValueError, "There's no row %d in matrix %s!", row+1, sipCpp->name().ascii());\
    }
#define CHECK_TABLE_COL ( arg   ) 
Value:
int col;\
    if (PyInt_Check(arg)) {\
      col = (int)PyInt_AsLong(arg) - 1;\
        if (col < 0 || col >= sipCpp->numCols()) {\
            sipIsErr = 1;\
            PyErr_Format(PyExc_ValueError, "There's no column %d in table %s!", col+1, sipCpp->name().ascii());\
        }\
     } else {\
      PyObject *tmp = PyObject_Str(arg);\
        if (!tmp) {\
            sipIsErr = 1;\
            PyErr_Format(PyExc_TypeError, "Column argument must be either int or string.");\
        } else {\
            col = sipCpp->colNames().findIndex(PyString_AsString(tmp));\
            if (col < 0) {\
                sipIsErr = 1;\
                PyErr_Format(PyExc_ValueError, "There's no column named %s in table %s!", PyString_AsString(tmp),\
                        sipCpp->name().ascii());\
                Py_DECREF(tmp);\
            }\
        }\
     }
#define CHECK_TABLE_ROW ( arg   ) 
Value:
int row = arg-1;\
    if (row < 0 || row >= sipCpp->numRows()) {\
        sipIsErr = 1;\
        PyErr_Format(PyExc_ValueError, "There's no row %d in table %s!", row+1, sipCpp->name().ascii());\
    }
#define SIPQTI_APP ( sipcppexpr   ) 
Value:
ApplicationWindow *app = sipqti_app();\
if (app) sipCpp = sipcppexpr;\
else { sipCpp = NULL; }

Function Documentation

ApplicationWindow * sipqti_app (  ) 

Variable Documentation

class QwtSymbol PyName
Initial value:
LinearColorMap/
{
%TypeHeaderCode

%End
public:

  enum Format{RGB, Indexed};
  enum Mode {FixedColors, ScaledColors};
  QwtLinearColorMap(const QColor &, const QColor &, QwtLinearColorMap::Format=QwtColorMap::RGB);

  void  addColorStop (double, const QColor &);
  void  setMode (Mode);

  void  setColorInterval (const QColor &, const QColor &);
  QColor color1() const;
  QColor color2() const;

private:
  QwtLinearColorMap(const QwtLinearColorMap&);
}

Generated on Wed Oct 27 12:11:20 2010 for QtiPlot_Python_API by  doxygen 1.6.1