#include <MyShapesControl.h>
Public Slots | |
| virtual void | setShape (int shape) |
| virtual void | setShapeMesh (const char *meshName) |
| virtual void | setStyle (int style) |
| virtual void | setRotation (double x, double y) |
| virtual void | setParameters (int p1, int p2) |
| virtual void | setScale (float s) |
Public Member Functions | |
| MyShapesControl (MyShapesCanvas *scene=NULL) | |
| Constructs a MyShapesControl which will act as a controller between the GUI and the given canvas. | |
| virtual | ~MyShapesControl () |
| virtual void | setScene (MyShapesCanvas *scene) |
| TODO: fill in the following set methods in response to GUI changes. | |
Protected Attributes | |
| MyShapesCanvas * | m_scene |
| MyShapesControl::MyShapesControl | ( | MyShapesCanvas * | scene = NULL |
) |
Constructs a MyShapesControl which will act as a controller between the GUI and the given canvas.
| MyShapesControl::~MyShapesControl | ( | ) | [virtual] |
| void MyShapesControl::setScene | ( | MyShapesCanvas * | scene | ) | [virtual] |
TODO: fill in the following set methods in response to GUI changes.
| void MyShapesControl::setShape | ( | int | shape | ) | [virtual, slot] |
| void MyShapesControl::setShapeMesh | ( | const char * | meshName | ) | [virtual, slot] |
| void MyShapesControl::setStyle | ( | int | style | ) | [virtual, slot] |
| void MyShapesControl::setRotation | ( | double | x, | |
| double | y | |||
| ) | [virtual, slot] |
| void MyShapesControl::setParameters | ( | int | p1, | |
| int | p2 | |||
| ) | [virtual, slot] |
| void MyShapesControl::setScale | ( | float | s | ) | [virtual, slot] |
MyShapesCanvas* MyShapesControl::m_scene [protected] |
1.5.6