mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 06:06:06 -04:00
Added title for filters #102
This commit is contained in:
@@ -11,6 +11,15 @@ class filterDialog(baseDialog.BaseWXDialog):
|
||||
panel = wx.Panel(self)
|
||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
self.SetTitle(_(u"Create a filter for this buffer"))
|
||||
label = wx.StaticText(panel, wx.NewId(), _(u"Filter title"))
|
||||
self.title = wx.TextCtrl(panel, -1, value)
|
||||
dc = wx.WindowDC(self.title)
|
||||
dc.SetFont(self.title.GetFont())
|
||||
self.title.SetSize(dc.GetTextExtent("0"*40))
|
||||
tsizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||
tsizer.Add(label, 0, wx.ALL, 5)
|
||||
tsizer.Add(self.title, 0, wx.ALL, 5)
|
||||
sizer.Add(tsizer, 0, wx.ALL, 5)
|
||||
staticbox = wx.StaticBox(panel, label=_(u"Filter by word"))
|
||||
self.contains = wx.RadioButton(panel, -1, _(u"Ignore tweets wich contain the following word"), style=wx.RB_GROUP)
|
||||
self.doesnt_contain = wx.RadioButton(panel, -1, _(u"Ignore tweets without the following word"))
|
||||
|
Reference in New Issue
Block a user