INNER CODE UNIT · Python

MissingKiKitDialog

yaqwsx/KiKit · pcm/kikit/plugins/__init__.py:4

class MissingKiKitDialog(wx.Dialog):
    def __init__(self, parent=None):
        wx.Dialog.__init__(self, parent, id=wx.ID_ANY, title=u"KiKit installation not found!",
                           pos=wx.DefaultPosition, size=wx.Size(500, 300), style=wx.DEFAULT_DIALOG_STYLE)

        self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)

        bSizer1 = wx.BoxSizer(wx.VERTICAL)

        self.staticText = wx.StaticText(
            self, wx.ID_ANY, u"No KiKit backend found! You probably installed KiKit only via PCM.\n\nPlease follow the installation guide at the link below. Until you finish the installation no KiKit functions will be available. After finishing the installation, please restart KiCAD.", wx.DefaultPosition, wx.DefaultSize, 0)
        self.staticText.Wrap(-1)

        bSizer1.Add(self.staticText, 1, wx.ALL | wx.EXPAND, 5)

        self.hyperlink = wx.adv.HyperlinkCtrl(self, wx.ID_ANY, u"https://yaqwsx.github.io/KiKit/latest/installation/intro/",
                                              u"https://yaqwsx.github.io/KiKit/latest/installation/intro/", wx.DefaultPosition, wx.DefaultSize, wx.adv.HL_ALIGN_CENTRE | wx.adv.HL_DEFAULT_STYLE)
        bSizer1.Add(self.hyperlink, 0, wx.ALL | wx.EXPAND, 5)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…