请大虾帮我看看,不知道哪里出错!
class Curve : public TLabel
{
public:
int x,y,w,h;
TColor c, cb;
int b;
int dt;
int t;
int data_max;
int data0, data1;
Curve(int x0,int y0,int w0,int h0,QColor c0,QColor cb0,int b0,int dt0,int data_max0)
{
x=x0; y=y0; w=w0; h=h0;
this->Left=x;
this->Top=y;
this->Width=w;
this->Height=h;
c=c0;
cb=cb0;
b=b0;
data0=data1=t=0;
dt=dt0;
data_max=data_max0;
}
};
错误提示:Type name expected;
我想在窗体中使用它:Curve *Label1;