Lines Matching refs:pattern
385 self.pattern = QCheckBox("Regular Expression")
387 self.pattern = QCheckBox("Pattern")
388 self.pattern.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
408 self.hbox.addWidget(self.pattern)
430 self.pattern.hide()
438 self.pattern.show()
444 pattern = self.pattern.isChecked()
446 self.last_pattern = pattern
447 self.finder.Find(value, direction, pattern, self.context)
451 pattern = self.pattern.isChecked()
456 self.textbox.setItemData(index, pattern)
458 self.pattern.setChecked(data)
463 pattern = self.pattern.isChecked()
469 self.textbox.addItem(value, pattern)
473 self.textbox.setItemData(index, pattern)
474 elif pattern != self.last_pattern:
477 self.textbox.setItemData(index, pattern)
671 def FindSelect(self, value, pattern, query): argument
672 if pattern:
696 def FindValue(self, value, pattern, query, last_value, last_pattern): argument
697 if last_value == value and pattern == last_pattern:
700 self.FindSelect(value, pattern, query)
717 if c.direction == 0 or c.value != c.last_value or c.pattern != c.last_pattern:
718 ids = self.FindValue(c.value, c.pattern, c.query, c.last_value, c.last_pattern)
725 def Find(self, value, direction, pattern, context, callback): argument
728 self.value, self.direction, self.pattern, self.query, self.last_value, self.last_pattern = x
730 …self.value, self.direction, self.pattern, self.last_value, self.last_pattern = x + (self.value, se…
732 context[0].Update(value, direction, pattern)
734 context.append(Context(value, direction, pattern, QSqlQuery(self.glb.db), None, None))
1070 def Find(self, value, direction, pattern, context): argument
1073 self.model.Find(value, direction, pattern, context, self.FindDone)
2475 self.value, self.direction, self.pattern, self.last_value, self.last_pattern = (None,) * 5
2481 if self.pattern:
2482 pattern = re.compile(self.value)
2485 if re.search(pattern, str(column_data)) is not None:
2497 if self.last_value != self.value or self.pattern != self.last_pattern:
2504 if self.direction == 0 or self.value != self.last_value or self.pattern != self.last_pattern:
2520 def Find(self, value, direction, pattern, context, callback): argument
2521 …value, self.direction, self.pattern, self.last_value, self.last_pattern = (value, direction,patter…
3269 def Find(self, value, direction, pattern, context): argument
3272 self.finder.Find(value, direction, pattern, context, self.FindDone)
4103 def Find(self, value, direction, pattern, context): argument
4106 self.finder.Find(value, direction, pattern, context, self.FindDone)
4223 def Find(self, value, direction, pattern, context): argument
4226 self.finder.Find(value, direction, pattern, context, self.FindDone)