Home | History | Annotate | Download | only in JetCreator

Lines Matching defs:wx

25 import wx

57 class Audition(wx.Dialog):
60 wx.Dialog.__init__(self, None, -1, title=JetDefs.DLG_AUDITION)
73 panel = wx.Panel(self, -1)
79 self.segList.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnQueueSegment)
80 self.segList.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnSegListClick)
92 self.btnMuteAll = wx.Button(panel, -1, JetDefs.BUT_MUTEALL)
93 self.btnUnMuteAll = wx.Button(panel, -1, JetDefs.BUT_MUTENONE)
94 self.btnMuteOrg = wx.Button(panel, -1, JetDefs.BUT_ORGMUTES)
95 hMuteButs = wx.BoxSizer(wx.HORIZONTAL)
96 hMuteButs.Add(self.btnMuteAll, 1, wx.EXPAND)
97 hMuteButs.Add(self.btnUnMuteAll, 1, wx.EXPAND)
98 hMuteButs.Add(self.btnMuteOrg, 1, wx.EXPAND)
99 vMuteButs = wx.BoxSizer(wx.VERTICAL)
100 vMuteButs.Add(self.trackList, 1, wx.EXPAND)
102 vMuteButs.Add(hMuteButs, 0, wx.EXPAND)
104 self.btnQueue = wx.Button(panel, -1, JetDefs.BUT_QUEUE)
105 self.btnCancelNQueue = wx.Button(panel, -1, JetDefs.BUT_CANCELANDQUEUE)
106 hSegButs = wx.BoxSizer(wx.HORIZONTAL)
107 hSegButs.Add(self.btnQueue, 1, wx.EXPAND)
108 hSegButs.Add(self.btnCancelNQueue, 1, wx.EXPAND)
109 vSegButs = wx.BoxSizer(wx.VERTICAL)
110 vSegButs.Add(self.segList, 1, wx.EXPAND)
112 vSegButs.Add(hSegButs, 0, wx.EXPAND)
114 self.btnQueueCancelCurrent = wx.Button(panel, -1, JetDefs.BUT_CANCELCURRENT)
115 self.btnPause = wx.Button(panel, -1, JetDefs.BUT_PAUSE)
116 self.btnStop = wx.Button(panel, -1, JetDefs.BUT_STOP)
117 hQueueButs = wx.BoxSizer(wx.HORIZONTAL)
118 hQueueButs.Add(self.btnQueueCancelCurrent, 1, wx.EXPAND)
119 hQueueButs.Add(self.btnPause, 1, wx.EXPAND)
120 hQueueButs.Add(self.btnStop, 1, wx.EXPAND)
121 vQueueButs = wx.BoxSizer(wx.VERTICAL)
122 vQueueButs.Add(self.queueList, 1, wx.EXPAND)
124 vQueueButs.Add(hQueueButs, 0, wx.EXPAND)
126 self.Bind(wx.EVT_BUTTON, self.OnQueueSegmentViaBut, id=self.btnQueue.GetId())
127 self.Bind(wx.EVT_BUTTON, self.OnCancelNQueue, id=self.btnCancelNQueue.GetId())
128 self.Bind(wx.EVT_BUTTON, self.OnStop, id=self.btnStop.GetId())
129 self.Bind(wx.EVT_BUTTON, self.OnQueueCancelCurrent, id=self.btnQueueCancelCurrent.GetId())
130 self.Bind(wx.EVT_BUTTON, self.OnPause, id=self.btnPause.GetId())
131 self.Bind(wx.EVT_BUTTON, self.OnMuteAll, id=self.btnMuteAll.GetId())
132 self.Bind(wx.EVT_BUTTON, self.OnUnMuteAll, id=self.btnUnMuteAll.GetId())
133 self.Bind(wx.EVT_BUTTON, self.OnMuteOrg, id=self.btnMuteOrg.GetId())
138 hboxTop = wx.BoxSizer(wx.HORIZONTAL)
139 hboxTop.Add(vSegButs, 1, wx.EXPAND)
141 hboxTop.Add(vQueueButs, 1, wx.EXPAND)
143 hboxTop.Add(vMuteButs, 1, wx.EXPAND)
145 self.log = wx.TextCtrl(panel, -1)
149 vboxBot = wx.BoxSizer(wx.VERTICAL)
150 vboxBot.Add(self.log, 0, wx.EXPAND)
152 vboxBot.Add(self.graph, 1, wx.EXPAND)
154 hboxMain = wx.BoxSizer(wx.VERTICAL)
155 hboxMain.Add(hboxTop, 2, wx.EXPAND | wx.ALL, BORDER)
156 hboxMain.Add(vboxBot, 1, wx.EXPAND | wx.ALL, BORDER)
166 wx.EVT_CLOSE(self, self.OnClose)
172 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP )
360 wx.PostEvent(self, JetStatusEvent(LOAD_QUEUE_DISPLAY, None))
364 wx.PostEvent(self, JetStatusEvent(CMD_PLAY, None))
371 wx.PostEvent(self, JetStatusEvent(NEW_SEGMENT_DISPLAY, status.currentUserID))
376 wx.PostEvent(self, JetStatusEvent(LOAD_QUEUE_DISPLAY, None))
387 wx.PostEvent(self, JetStatusEvent(LOAD_QUEUE_DISPLAY, None))
389 wx.PostEvent(self, JetStatusEvent(GRAPH_POSITION_UPDATE, status.location))
411 wx.PostEvent(self, JetStatusEvent(CMD_QUEUE_AND_CANCEL, (segment, segNum)))
420 wx.PostEvent(self, JetStatusEvent(CMD_ORIGINALMUTES, segment.mute_flags))
423 wx.PostEvent(self, JetStatusEvent(CMD_UNMUTEALL, None))
426 wx.PostEvent(self, JetStatusEvent(CMD_PAUSE, None))
429 wx.PostEvent(self, JetStatusEvent(CMD_MUTEALL, None))
436 wx.PostEvent(self, JetStatusEvent(LOAD_QUEUE_DISPLAY, None))
437 wx.PostEvent(self, JetStatusEvent(CLR_INFO, None))