- Plot2d_Curve();
- virtual ~Plot2d_Curve();
- void setName( const QString& );
- void addPoint( double, double );
- void addPoints(SIP_PYLIST X, SIP_PYLIST Y);
-%MethodCode
- int nx = PyList_Size(a0);
- int ny = PyList_Size(a1);
-
- if( nx != ny ) {
- PyErr_Format(PyExc_TypeError,"The dimention of x and y should be the same. It is %d and %d currently.", nx, ny);
- }
-
- int i;
- PyObject *pX, *pY;
-
- for (i=0; i<nx; i++) {
- pX = PyList_GET_ITEM(a0,i);
- pY = PyList_GET_ITEM(a1,i);
- double aX = PyFloat_AsDouble(pX);
- double aY = PyFloat_AsDouble(pY);
- sipCpp->addPoint(aX, aY);
- }
-%End
- void insertPoint( int, double, double );
- void deletePoint( int );
- void clearAllPoints();
+ explicit QtxTreeView( QWidget* /TransferThis/ = 0 );
+ QtxTreeView( const bool, QWidget* /TransferThis/ = 0 );
+ virtual ~QtxTreeView();
+
+signals:
+ void sortingEnabled( bool );
+ void selectionChanged();
+
+private:
+ QtxTreeView( const QtxTreeView& );