diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-08-15 15:02:26 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-08-15 15:02:26 +0200 |
commit | c8132f19a73154b60890b22f370cc5914df01c8a (patch) | |
tree | 2fbec0b2b3da1642b93cd1e282347a8cb79fbb51 /plugin/mesh_plugin_dialog.py | |
parent | 6421b7bf2e98769364a9ed9b642e85a7f5981c16 (diff) | |
download | kimesh-c8132f19a73154b60890b22f370cc5914df01c8a.tar.gz kimesh-c8132f19a73154b60890b22f370cc5914df01c8a.tar.bz2 kimesh-c8132f19a73154b60890b22f370cc5914df01c8a.zip |
Make randomness adjustable, fix rotation control
Diffstat (limited to 'plugin/mesh_plugin_dialog.py')
-rw-r--r-- | plugin/mesh_plugin_dialog.py | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/plugin/mesh_plugin_dialog.py b/plugin/mesh_plugin_dialog.py index ce11fd7..e83f6ca 100644 --- a/plugin/mesh_plugin_dialog.py +++ b/plugin/mesh_plugin_dialog.py @@ -17,7 +17,7 @@ import wx.xrc class MainDialog ( wx.Dialog ): def __init__( self, parent ): - wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Security Mesh Generator Plugin", pos = wx.DefaultPosition, size = wx.Size( 765,659 ), style = wx.CLOSE_BOX|wx.DEFAULT_DIALOG_STYLE|wx.MINIMIZE_BOX|wx.RESIZE_BORDER|wx.STAY_ON_TOP ) + wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Security Mesh Generator Plugin", pos = wx.DefaultPosition, size = wx.Size( 809,762 ), style = wx.CLOSE_BOX|wx.DEFAULT_DIALOG_STYLE|wx.MINIMIZE_BOX|wx.RESIZE_BORDER|wx.STAY_ON_TOP ) self.SetSizeHints( wx.DefaultSize, wx.DefaultSize ) @@ -233,6 +233,25 @@ class MainDialog ( wx.Dialog ): self.m_anchorInput = wx.TextCtrl( self.m_scrolledWindow1, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 ) fgSizer1.Add( self.m_anchorInput, 0, wx.ALL, 5 ) + self.m_staticText28 = wx.StaticText( self.m_scrolledWindow1, wx.ID_ANY, u"Routing randomness", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.m_staticText28.Wrap( -1 ) + + fgSizer1.Add( self.m_staticText28, 0, wx.ALL, 5 ) + + bSizer12 = wx.BoxSizer( wx.HORIZONTAL ) + + self.m_randomnessSpin = wx.SpinCtrlDouble( self.m_scrolledWindow1, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.SP_ARROW_KEYS, 0, 100, 25, 25 ) + self.m_randomnessSpin.SetDigits( 0 ) + bSizer12.Add( self.m_randomnessSpin, 0, wx.ALL, 5 ) + + self.m_staticText211 = wx.StaticText( self.m_scrolledWindow1, wx.ID_ANY, u"% (percent)", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.m_staticText211.Wrap( -1 ) + + bSizer12.Add( self.m_staticText211, 0, wx.ALL, 5 ) + + + fgSizer1.Add( bSizer12, 1, wx.EXPAND, 5 ) + self.m_scrolledWindow1.SetSizer( fgSizer1 ) self.m_scrolledWindow1.Layout() |