Module Ui::Qt4::Widgets::NotesBrowserInterface
In: ui/qt/widgets.rb

Interface to a widget that can be used to browse and display notes for different annotatable object types.

Methods

home   invalidate!   reload   show_notes  

Public Instance methods

[Source]

# File ui/qt/widgets.rb, line 34
        def home() raise 'reload() must be overriden'; end

Invalidate the current view as a result of an action performed by the user (i.e. add a new note, edit the current note, etc.). The widget should display some behaviour indicating that the current view is no longer valid and the user should wait until content is refreshed from the server.

[Source]

# File ui/qt/widgets.rb, line 30
        def invalidate!() raise 'invalidate!() must be overriden'; end

[Source]

# File ui/qt/widgets.rb, line 32
        def reload() raise 'reload() must be overriden'; end

Given a set of notes (note_list) the widge should display them. Other attributes are passed to the widget in order to be returned when the widget signals editNote or addNote.

[Source]

# File ui/qt/widgets.rb, line 39
        def show_notes(annotatable_type, annotatable_id, note_list) 
          raise 'show_notes(annotatable_type, annotatable_id, note_list)' +
            'must be overriden'; 
        end

[Validate]