Esempio n. 1
0
    def __init__(self):
        self.placement = True
        self.v = FreeCAD.Gui.ActiveDocument.ActiveView

        self.TubeLense = TubeLense_TaskPanel()
        self.Advance = Advance_Placement_TaskPanel(self.TubeLense)
        self.form = [self.TubeLense.widget, self.Advance.widget]

        # Event to track the mouse
        self.track = self.v.addEventCallback("SoEvent", self.position)
    def __init__(self):
        self.placement = True
        self.v = FreeCAD.Gui.ActiveDocument.ActiveView

        self.SimpleEndStopHolder = SimpleEndStopHolder_TaskPanel()
        self.Advance = Advance_Placement_TaskPanel(self.SimpleEndStopHolder)
        self.form = [self.SimpleEndStopHolder.widget, self.Advance.widget]

        # Event to track the mouse
        self.track = self.v.addEventCallback("SoEvent", self.position)
Esempio n. 3
0
    def __init__(self):
        self.placement = True
        self.v = FreeCAD.Gui.ActiveDocument.ActiveView

        self.Sk = Sk_Dir_TaskPanel()
        self.Advance = Advance_Placement_TaskPanel(self.Sk)
        self.form = [self.Sk.widget, self.Advance.widget]

        self.Sk.Size_ComboBox.currentTextChanged.connect(self.change_layout)

        # Event to track the mouse
        self.track = self.v.addEventCallback("SoEvent", self.position)