Progress :D

This commit is contained in:
thepra
2017-09-09 21:43:16 +02:00
parent 1a9d8e5e7b
commit c152ff4dec
6 changed files with 440 additions and 318 deletions

View File

@ -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: