* src/DataViews/_NoteView.py: Enable filter editor

* src/FilterEditor/_FilterEditor.py: Note Filter Editor
* src/FilterEditor/_EditRule.py: Note Filter Editor
* src/Filters/Rules/Note/_HasNote.py: Rename label
* src/Filters/Rules/Note/__init__.py: Add more rules
* src/Filters/Rules/__init__.py: Add Note Rules



svn: r8232
This commit is contained in:
Martin Hawlisch
2007-02-25 12:19:47 +00:00
parent 706916af15
commit ac3e84d207
7 changed files with 27 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ class HasNote(Rule):
labels = [ _('Text:'),
_('Type:'),
_('Note type:'),
]
name = _('Notes matching parameters')
description = _("Matches Notes with particular parameters")

View File

@@ -29,8 +29,8 @@ __author__ = "Don Allingham"
from _AllNotes import AllNotes
from _HasIdOf import HasIdOf
from _RegExpIdOf import RegExpIdOf
#from _HasNoteRegexp import HasNoteRegexp
#from _HasNoteMatchingSubstringOf import HasNoteMatchingSubstringOf
from _HasNoteRegexp import HasNoteRegexp
from _HasNoteMatchingSubstringOf import HasNoteMatchingSubstringOf
from _NotePrivate import NotePrivate
from _MatchesFilter import MatchesFilter
from _HasNote import HasNote
@@ -39,8 +39,9 @@ editor_rule_list = [
AllNotes,
HasIdOf,
RegExpIdOf,
# HasNoteRegexp,
# HasNoteMatchingSubstringOf,
HasNote,
HasNoteRegexp,
HasNoteMatchingSubstringOf,
NotePrivate,
MatchesFilter,
]

View File

@@ -43,3 +43,4 @@ import Source
import Place
import MediaObject
import Repository
import Note