Added some accelt controls
This commit is contained in:
parent
ca6e6b23bf
commit
0f062a2fde
@ -40,34 +40,34 @@ class mainWindow(wx.Frame):
|
||||
self.panel = wx.Panel(self)
|
||||
self.sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
self.sb = self.CreateStatusBar()
|
||||
lbl2 = wx.StaticText(self.panel, wx.NewId(), _(u"search"))
|
||||
lbl2 = wx.StaticText(self.panel, wx.NewId(), _(u"S&earch"))
|
||||
self.text = wx.TextCtrl(self.panel, wx.NewId())
|
||||
box = wx.BoxSizer(wx.HORIZONTAL)
|
||||
box.Add(lbl2, 0, wx.GROW)
|
||||
box.Add(self.text, 1, wx.GROW)
|
||||
box.Add(wx.StaticText(self.panel, wx.NewId(), _(u"Search in")), 0, wx.GROW)
|
||||
box.Add(wx.StaticText(self.panel, wx.NewId(), _(u"&Search in")), 0, wx.GROW)
|
||||
self.extractor = wx.ComboBox(self.panel, wx.NewId(), choices=extractors, value=extractors[0], style=wx.CB_READONLY)
|
||||
box.Add(self.extractor, 1, wx.GROW)
|
||||
self.search = wx.Button(self.panel, wx.NewId(), _(u"Search"))
|
||||
self.search = wx.Button(self.panel, wx.NewId(), _(u"Sear&ch"))
|
||||
self.search.SetDefault()
|
||||
box.Add(self.search, 0, wx.GROW)
|
||||
self.sizer.Add(box, 0, wx.GROW)
|
||||
lbl = wx.StaticText(self.panel, wx.NewId(), _(u"Results"))
|
||||
lbl = wx.StaticText(self.panel, wx.NewId(), _(u"&Results"))
|
||||
self.list = wx.ListBox(self.panel, wx.NewId())
|
||||
self.sizer.Add(lbl, 0, wx.GROW)
|
||||
self.sizer.Add(self.list, 1, wx.GROW)
|
||||
box1 = wx.BoxSizer(wx.HORIZONTAL)
|
||||
box2 = wx.BoxSizer(wx.HORIZONTAL)
|
||||
box1.Add(wx.StaticText(self.panel, wx.NewId(), _(u"Position")), 0, wx.GROW)
|
||||
box1.Add(wx.StaticText(self.panel, wx.NewId(), _(u"P&osition")), 0, wx.GROW)
|
||||
self.time_slider = wx.Slider(self.panel, -1)
|
||||
box1.Add(self.time_slider, 1, wx.GROW)
|
||||
box1.Add(wx.StaticText(self.panel, wx.NewId(), _(u"Volume")), 0, wx.GROW)
|
||||
box1.Add(wx.StaticText(self.panel, wx.NewId(), _(u"&Volume")), 0, wx.GROW)
|
||||
self.vol_slider = wx.Slider(self.panel, -1, 0, 0, 100, size=(100, -1))
|
||||
box1.Add(self.vol_slider, 1, wx.GROW)
|
||||
self.previous = wx.Button(self.panel, wx.NewId(), _(u"Previous"))
|
||||
self.play = wx.Button(self.panel, wx.NewId(), _(u"Play"))
|
||||
self.previous = wx.Button(self.panel, wx.NewId(), _(u"Pre&vious"))
|
||||
self.play = wx.Button(self.panel, wx.NewId(), _(u"&Play"))
|
||||
self.stop = wx.Button(self.panel, wx.NewId(), _(u"Stop"))
|
||||
self.next = wx.Button(self.panel, wx.NewId(), _(u"Next"))
|
||||
self.next = wx.Button(self.panel, wx.NewId(), _(u"&Next"))
|
||||
box2.Add(self.previous)
|
||||
box2.Add(self.play, flag=wx.RIGHT, border=5)
|
||||
box2.Add(self.stop)
|
||||
|
Loading…
Reference in New Issue
Block a user