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 37
37:         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 33
33:         def invalidate!() raise 'invalidate!() must be overriden'; end

[Source]

    # File ui/qt/widgets.rb, line 35
35:         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 42
42:         def show_notes(annotatable_type, annotatable_id, note_list) 
43:           raise 'show_notes(annotatable_type, annotatable_id, note_list)' +
44:             'must be overriden'; 
45:         end

[Validate]