Exemplo n.º 1
0
 def createHorizontalSlidersPanel(self):
     panel = wx.Panel(self, -1, style=wx.SIMPLE_BORDER)
     panel.SetBackgroundColour(BACKGROUND_COLOUR)
     box, sl = buildHorizontalSlidersBox(panel, CeciliaLib.getInterfaceWidgets())
     CeciliaLib.setUserSliders(sl)
     panel.SetSizerAndFit(box)
     size = panel.GetSize()
     return panel, size
Exemplo n.º 2
0
 def createHorizontalSlidersPanel(self):
     panel = wx.Panel(self, -1, style=wx.SIMPLE_BORDER)
     panel.SetBackgroundColour(BACKGROUND_COLOUR)
     box, sl = buildHorizontalSlidersBox(panel,
                                         CeciliaLib.getInterfaceWidgets())
     CeciliaLib.setUserSliders(sl)
     panel.SetSizerAndFit(box)
     size = panel.GetSize()
     return panel, size
Exemplo n.º 3
0
 def createSlidersPanel(self):
     if CeciliaLib.getVar("systemPlatform") == "win32":
         BORDER = wx.DOUBLE_BORDER
     else:
         BORDER = wx.SIMPLE_BORDER
     panel = wx.Panel(self, -1, style=BORDER)
     panel.SetBackgroundColour(BACKGROUND_COLOUR)
     widgets = CeciliaLib.getVar("interfaceWidgets")
     box, sl = buildHorizontalSlidersBox(panel, widgets)
     CeciliaLib.setVar("userSliders", sl)
     panel.SetSizerAndFit(box)
     size = panel.GetSize()
     return panel, size
Exemplo n.º 4
0
 def createSlidersPanel(self):
     if CeciliaLib.getVar("systemPlatform") == "win32":
         BORDER = wx.DOUBLE_BORDER
     else:
         BORDER = wx.SIMPLE_BORDER
     panel = wx.Panel(self, -1, style=BORDER)
     panel.SetBackgroundColour(BACKGROUND_COLOUR)
     widgets = CeciliaLib.getVar("interfaceWidgets")
     box, sl = buildHorizontalSlidersBox(panel, widgets)
     CeciliaLib.setVar("userSliders", sl)
     panel.SetSizerAndFit(box)
     size = panel.GetSize()
     return panel, size
Exemplo n.º 5
0
 def createHorizontalSlidersPanel(self,
                                  parent,
                                  label='',
                                  size=(-1, -1),
                                  style=wx.SUNKEN_BORDER,
                                  name=''):
     panel = wx.Panel(self, -1)
     panel.SetBackgroundColour(BACKGROUND_COLOUR)
     box, sl = buildHorizontalSlidersBox(
         panel, CeciliaLib.getVar("interfaceWidgets"))
     CeciliaLib.setVar("userSliders", sl)
     panel.SetSizerAndFit(box)
     size = panel.GetSize()
     return panel, size