Beispiel #1
0
    def __init__(self, *args, **kwds):
        super().__init__(374, 734, *args, **kwds)
        self.context = self.context.device
        _icon = wx.NullIcon
        _icon.CopyFromBitmap(icons8_administrative_tools_50.GetBitmap())
        self.SetIcon(_icon)
        self.SetTitle(_("Lihuiyu-Configuration"))

        # self.notebook_main = wx.Notebook(self, wx.ID_ANY)
        self.notebook_main = wx.aui.AuiNotebook(
            self,
            -1,
            style=wx.aui.AUI_NB_TAB_EXTERNAL_MOVE
            | wx.aui.AUI_NB_SCROLL_BUTTONS
            | wx.aui.AUI_NB_TAB_SPLIT
            | wx.aui.AUI_NB_TAB_MOVE,
        )

        self.ConfigurationPanel = ConfigurationInterfacePanel(
            self.notebook_main, wx.ID_ANY, context=self.context)
        self.notebook_main.AddPage(self.ConfigurationPanel, _("Configuration"))

        self.SetupPanel = ConfigurationSetupPanel(self.notebook_main,
                                                  wx.ID_ANY,
                                                  context=self.context)
        self.notebook_main.AddPage(self.SetupPanel, _("Setup"))
        self.Layout()

        self.add_module_delegate(self.ConfigurationPanel)
        self.add_module_delegate(self.SetupPanel)
Beispiel #2
0
    def __init__(self, *args, **kwds):
        super().__init__(374, 734, *args, **kwds)
        self.context = self.context.device
        _icon = wx.NullIcon
        _icon.CopyFromBitmap(icons8_administrative_tools_50.GetBitmap())
        self.SetIcon(_icon)
        self.SetTitle(_("GRBL-Configuration"))

        self.notebook_main = wx.aui.AuiNotebook(
            self,
            -1,
            style=wx.aui.AUI_NB_TAB_EXTERNAL_MOVE
            | wx.aui.AUI_NB_SCROLL_BUTTONS
            | wx.aui.AUI_NB_TAB_SPLIT
            | wx.aui.AUI_NB_TAB_MOVE,
        )

        self.panel_main = ChoicePropertyPanel(self,
                                              wx.ID_ANY,
                                              context=self.context,
                                              choices="grbl-connection")
        self.panel_global = ChoicePropertyPanel(self,
                                                wx.ID_ANY,
                                                context=self.context,
                                                choices="grbl-global")
        self.panel_dim = ChoicePropertyPanel(self,
                                             wx.ID_ANY,
                                             context=self.context,
                                             choices="bed_dim")
        self.notebook_main.AddPage(self.panel_main, _("GRBL-connection"))
        self.notebook_main.AddPage(self.panel_dim, _("Bed Dim"))
        self.notebook_main.AddPage(self.panel_global, _("Global Settings"))
        self.Layout()
        self.add_module_delegate(self.panel_main)
        self.add_module_delegate(self.panel_global)
Beispiel #3
0
    def __init__(self, *args, **kwds):
        super().__init__(551, 234, *args, **kwds)

        self.panel = LihuiyuAccelerationChartPanel(self,
                                                   wx.ID_ANY,
                                                   context=self.context)
        self.add_module_delegate(self.panel)
        _icon = wx.NullIcon
        _icon.CopyFromBitmap(icons8_administrative_tools_50.GetBitmap())
        self.SetIcon(_icon)
        self.SetTitle(_("Acceleration Chart"))
Beispiel #4
0
    def __init__(self, *args, **kwds):
        super().__init__(335, 170, *args, **kwds)

        self.panel = MoshiConfigurationPanel(self,
                                             wx.ID_ANY,
                                             context=self.context)
        self.add_module_delegate(self.panel)
        _icon = wx.NullIcon
        _icon.CopyFromBitmap(icons8_administrative_tools_50.GetBitmap())
        self.SetIcon(_icon)
        self.SetTitle(_("Moshiboard-Configuration"))
Beispiel #5
0
    def __init__(self, *args, **kwds):
        super().__init__(374, 734, *args, **kwds)
        self.context = self.context.device
        _icon = wx.NullIcon
        _icon.CopyFromBitmap(icons8_administrative_tools_50.GetBitmap())
        self.SetIcon(_icon)
        self.SetTitle(_(_("Balor-Configuration")))

        self.notebook_main = wx.aui.AuiNotebook(
            self,
            -1,
            style=wx.aui.AUI_NB_TAB_EXTERNAL_MOVE
            | wx.aui.AUI_NB_SCROLL_BUTTONS
            | wx.aui.AUI_NB_TAB_SPLIT
            | wx.aui.AUI_NB_TAB_MOVE,
        )

        self.panel_main = ChoicePropertyPanel(self,
                                              wx.ID_ANY,
                                              context=self.context,
                                              choices="balor")
        self.panel_red = ChoicePropertyPanel(self,
                                             wx.ID_ANY,
                                             context=self.context,
                                             choices="balor-redlight")
        self.panel_global = ChoicePropertyPanel(self,
                                                wx.ID_ANY,
                                                context=self.context,
                                                choices="balor-global")
        self.panel_timing = ChoicePropertyPanel(self,
                                                wx.ID_ANY,
                                                context=self.context,
                                                choices="balor-global-timing")
        self.panel_extra = ChoicePropertyPanel(self,
                                               wx.ID_ANY,
                                               context=self.context,
                                               choices="balor-extra")
        self.notebook_main.AddPage(self.panel_main, _("Balor"))
        self.notebook_main.AddPage(self.panel_red, _("Redlight"))
        self.notebook_main.AddPage(self.panel_global, _("Global"))
        self.notebook_main.AddPage(self.panel_timing, _("Timings"))
        self.notebook_main.AddPage(self.panel_extra, _("Extras"))
        self.Layout()

        self.add_module_delegate(self.panel_main)
        self.add_module_delegate(self.panel_red)
        self.add_module_delegate(self.panel_global)
        self.add_module_delegate(self.panel_timing)
        self.add_module_delegate(self.panel_extra)