GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Model event handler class. More...
Public Member Functions | |
def | __init__ |
def | OnLeftClick |
Left mouse button pressed -> select item & update statusbar. More... | |
def | OnLeftDoubleClick |
Left mouse button pressed (double-click) -> show properties. More... | |
def | OnProperties |
Show properties dialog. More... | |
def | OnBeginDragLeft |
Drag shape (begining) More... | |
def | OnEndDragLeft |
Drag shape (end) More... | |
def | OnEndSize |
Resize shape. More... | |
def | OnRightClick |
Right click -> pop-up menu. More... | |
def | OnDisable |
Disable action. More... | |
def | OnEnable |
Disable action. More... | |
def | OnAddPoint |
Add control point. More... | |
def | OnRemovePoint |
Remove control point. More... | |
def | OnIntermediate |
Mark data as intermediate. More... | |
def | OnRemove |
Remove shape. More... | |
Data Fields | |
log | |
frame | |
x | |
y | |
popupID | |
Model event handler class.
Definition at line 1042 of file gmodeler/frame.py.
def frame.ModelEvtHandler.__init__ | ( | self, | |
log, | |||
frame | |||
) |
Definition at line 1044 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnAddPoint | ( | self, | |
event | |||
) |
Add control point.
Definition at line 1274 of file gmodeler/frame.py.
References frame.ModelEvtHandler.x, and frame.ModelEvtHandler.y.
Referenced by toolbars.VDigitToolbar.OnBreak(), toolbars.VDigitToolbar.OnConnect(), toolbars.VDigitToolbar.OnCopy(), toolbars.VDigitToolbar.OnCopyAttrb(), toolbars.VDigitToolbar.OnCopyCats(), toolbars.VDigitToolbar.OnFlip(), toolbars.VDigitToolbar.OnMerge(), toolbars.VDigitToolbar.OnQuery(), toolbars.VDigitToolbar.OnSnap(), toolbars.VDigitToolbar.OnSplitLine(), toolbars.VDigitToolbar.OnTypeConversion(), and toolbars.VDigitToolbar.OnZBulk().
def frame.ModelEvtHandler.OnBeginDragLeft | ( | self, | |
x, | |||
y, | |||
keys = 0 , |
|||
attachment = 0 |
|||
) |
Drag shape (begining)
Definition at line 1154 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnDisable | ( | self, | |
event | |||
) |
Disable action.
Definition at line 1238 of file gmodeler/frame.py.
References frame.ModelEvtHandler._onEnable().
def frame.ModelEvtHandler.OnEnable | ( | self, | |
event | |||
) |
Disable action.
Definition at line 1242 of file gmodeler/frame.py.
References frame.ModelEvtHandler._onEnable().
def frame.ModelEvtHandler.OnEndDragLeft | ( | self, | |
x, | |||
y, | |||
keys = 0 , |
|||
attachment = 0 |
|||
) |
Drag shape (end)
Definition at line 1160 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnEndSize | ( | self, | |
x, | |||
y | |||
) |
Resize shape.
Definition at line 1177 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnIntermediate | ( | self, | |
event | |||
) |
Mark data as intermediate.
Definition at line 1292 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnLeftClick | ( | self, | |
x, | |||
y, | |||
keys = 0 , |
|||
attachment = 0 |
|||
) |
Left mouse button pressed -> select item & update statusbar.
Definition at line 1050 of file gmodeler/frame.py.
References frame.ModelEvtHandler._onSelectShape(), dialogs.ModelListCtrl.frame, frame.ModelEvtHandler.frame, and widgets.GetValue().
def frame.ModelEvtHandler.OnLeftDoubleClick | ( | self, | |
x, | |||
y, | |||
keys = 0 , |
|||
attachment = 0 |
|||
) |
Left mouse button pressed (double-click) -> show properties.
Definition at line 1092 of file gmodeler/frame.py.
References frame.ModelEvtHandler.OnProperties().
def frame.ModelEvtHandler.OnProperties | ( | self, | |
event = None |
|||
) |
Show properties dialog.
Definition at line 1096 of file gmodeler/frame.py.
References dialogs.ModelListCtrl.frame, and frame.ModelEvtHandler.frame.
Referenced by frame.ModelEvtHandler.OnLeftDoubleClick().
def frame.ModelEvtHandler.OnRemove | ( | self, | |
event | |||
) |
Remove shape.
Definition at line 1299 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnRemovePoint | ( | self, | |
event | |||
) |
Remove control point.
Definition at line 1283 of file gmodeler/frame.py.
def frame.ModelEvtHandler.OnRightClick | ( | self, | |
x, | |||
y, | |||
keys = 0 , |
|||
attachment = 0 |
|||
) |
Right click -> pop-up menu.
Definition at line 1183 of file gmodeler/frame.py.
frame.ModelEvtHandler.frame |
Definition at line 1047 of file gmodeler/frame.py.
Referenced by frame.ModelEvtHandler.OnLeftClick(), and frame.ModelEvtHandler.OnProperties().
frame.ModelEvtHandler.log |
Definition at line 1046 of file gmodeler/frame.py.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), mcalc_builder.MapCalcFrame.OnMCalcRun(), toolbars.VDigitToolbar.OnSelectMap(), and mapwindow.NvizThread.run().
frame.ModelEvtHandler.popupID |
Definition at line 1186 of file gmodeler/frame.py.
frame.ModelEvtHandler.x |
Definition at line 1048 of file gmodeler/frame.py.
Referenced by utils.Rect2D.GetX(), and frame.ModelEvtHandler.OnAddPoint().
frame.ModelEvtHandler.y |
Definition at line 1048 of file gmodeler/frame.py.
Referenced by utils.Rect2D.GetY(), and frame.ModelEvtHandler.OnAddPoint().