Definition at line 4457 of file visWindow.py.
Public Member Functions | |
def | __init__ |
def | SetData |
def | setCanvas |
def | hide |
def | show |
def | moveBy |
def | move |
def | SetSize |
def | SetPosition |
def | areaPoints |
def | drawShape |
def | dragEnterEvent |
def | dragMoveEvent |
Public Attributes | |
Canvastext | |
visWindow.contents.append(self) | |
object | |
canvas | |
Private Member Functions | |
def | _delete |
def visWindow::Box::__init__ | ( | self, | ||
canvas, | ||||
type, | ||||
object = None , |
||||
position = QPoint(0,0 , |
||||
size = QSize(3, 3 , |
||||
penColour = Qt.black , |
||||
fillColour = Qt.white , |
||||
lineSize = 1 , |
||||
text = None , |
||||
zoomFactor = 100 , |
||||
clickable = True , |
||||
originalsize = QSize(0,0 , |
||||
macroid = -1 , |
||||
textvalign = text_CENTER , |
||||
texthalign = text_CENTER | ||||
) |
Definition at line 4459 of file visWindow.py.
def visWindow::Box::SetData | ( | self, | ||
data | ||||
) |
Set the objects internal data.
is a copy of an objects member variables, as returned by getData() above. This is used to restore a previously saved DrawingObject.
Reimplemented from visWindow::DrawingObject.
Definition at line 4478 of file visWindow.py.
def visWindow::Box::setCanvas | ( | self, | ||
c | ||||
) |
Definition at line 4490 of file visWindow.py.
def visWindow::Box::hide | ( | self | ) |
Definition at line 4497 of file visWindow.py.
def visWindow::Box::_delete | ( | self | ) | [private] |
def visWindow::Box::show | ( | self | ) |
Definition at line 4515 of file visWindow.py.
def visWindow::Box::moveBy | ( | self, | ||
x, | ||||
y | ||||
) |
Definition at line 4522 of file visWindow.py.
def visWindow::Box::move | ( | self, | ||
x, | ||||
y | ||||
) |
Definition at line 4526 of file visWindow.py.
def visWindow::Box::SetSize | ( | self, | ||
size, | ||||
adjust = True | ||||
) |
Set the size for this DrawingObject.
- QSize object - whether the links and a obj_NODE should be adjusted.
Reimplemented from visWindow::DrawingObject.
Definition at line 4529 of file visWindow.py.
def visWindow::Box::SetPosition | ( | self, | ||
position, | ||||
adjust = True | ||||
) |
Set the position (top-left corner) for this DrawingObject.
- QPoint for top-left corner for this object. - whether the links to this object (if obj_NODE) should be adjusted to the new position.
Reimplemented from visWindow::DrawingObject.
Definition at line 4533 of file visWindow.py.
def visWindow::Box::areaPoints | ( | self | ) |
Definition at line 4537 of file visWindow.py.
def visWindow::Box::drawShape | ( | self, | ||
painter | ||||
) |
Definition at line 4549 of file visWindow.py.
def visWindow::Box::dragEnterEvent | ( | self, | ||
event | ||||
) |
Definition at line 4615 of file visWindow.py.
def visWindow::Box::dragMoveEvent | ( | self, | ||
event | ||||
) |
Definition at line 4617 of file visWindow.py.