Progress :D
This commit is contained in:
15
renderarea.h
15
renderarea.h
@ -22,12 +22,21 @@ class RenderArea : public QWidget
|
||||
|
||||
void setBackgroundColor(QColor color) { mBackgroundColour = color; }
|
||||
QColor backgroundColor() const { return mBackgroundColour; }
|
||||
|
||||
void setShapeColor(QColor color) { mShapeColour = color; }
|
||||
QColor shapeColor() const { return mShapeColour; }
|
||||
|
||||
void setShape(ShapesType shape) { mShape = shape; OnShapeChanged(); }
|
||||
ShapesType shape() const { return mShape; }
|
||||
void setInternalLenght(double l);
|
||||
void setScale(double s);
|
||||
void setStepCount(double s);
|
||||
|
||||
void setInternalLenght(double l){mIntervalLenght=l;repaint();}
|
||||
double intervalLenght() const {return mIntervalLenght;}
|
||||
|
||||
void setScale(double s){mScale=s;repaint();}
|
||||
double scale() const {return mScale;}
|
||||
|
||||
void setStepCount(int s){mStepCount=s;repaint();}
|
||||
int stepCount() const {return mStepCount;}
|
||||
|
||||
signals:
|
||||
|
||||
|
Reference in New Issue
Block a user