MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/characterEditor.py:937–959  ·  view source on GitHub ↗
(self, parent, sec)

Source from the content-addressed store, hash-verified

935class SecStatusDialog(wx.Dialog):
936
937 def __init__(self, parent, sec):
938 super().__init__(parent, title=_t("Set Security Status"), size=(300, 175), style=wx.DEFAULT_DIALOG_STYLE)
939
940 self.SetSizeHints(wx.DefaultSize, wx.DefaultSize)
941
942 bSizer1 = wx.BoxSizer(wx.VERTICAL)
943
944 self.m_staticText1 = wx.StaticText(self, wx.ID_ANY,
945 _t("Security Status is used in some CONCORD hull calculations"),
946 wx.DefaultPosition, wx.DefaultSize, 0)
947 self.m_staticText1.Wrap(-1)
948 bSizer1.Add(self.m_staticText1, 1, wx.ALL | wx.EXPAND, 5)
949
950 self.floatSpin = FloatSpin(self, value=sec, min_val=-10.0, max_val=5.0, increment=0.1, digits=2, size=(-1, -1))
951 bSizer1.Add(self.floatSpin, 0, wx.ALIGN_CENTER | wx.ALL, 5)
952
953 btnOk = wx.Button(self, wx.ID_OK)
954 bSizer1.Add(btnOk, 0, wx.ALIGN_RIGHT | wx.ALL, 5)
955
956 self.SetSizer(bSizer1)
957 self.Layout()
958
959 self.Center(wx.BOTH)
960
961
962class SkillFetchExceptionHandler:

Callers

nothing calls this directly

Calls 2

_tFunction · 0.50
__init__Method · 0.45

Tested by

no test coverage detected