5.1.1.4.2.2. DiffViewerMainWindow

class CodeReview.GUI.DiffViewer.DiffViewerMainWindow.DiffViewerMainWindow(parent=None, repository=None)[source]

Bases: CodeReview.GUI.Base.MainWindowBase.MainWindowBase

_absolute_path(path)[source]
_create_actions()[source]
_create_toolbar()[source]
_get_lexer(path, text)[source]
_init_ui()[source]
_is_directory(path)[source]
_logger = <Logger CodeReview.GUI.DiffViewer.DiffViewerMainWindow.DiffViewerMainWindow (NOTSET)>
_next_file()[source]
_on_file_system_changed(path)[source]
_on_font_size_change(index=None, refresh=True)[source]
_previous_file()[source]
_previous_next_file(forward)[source]
_read_file(path)[source]
_refresh()[source]
_set_document_models()[source]
_stage()[source]
closeEvent(event)[source]
closed
diff_documents(paths, texts, metadatas=None, workdir='', show=False)[source]
diff_text_documents(show=False)[source]
init_menu()[source]
is_main_window
is_not_main_window
open_files(file1, file2, show=False)[source]
show_message(message=None, timeout=0, warn=False)[source]

Hides the normal status indications and displays the given message for the specified number of milli-seconds (timeout). If timeout is 0 (default), the message remains displayed until the clearMessage() slot is called or until the showMessage() slot is called again to change the message.

Note that showMessage() is called to show temporary explanations of tool tip texts, so passing a timeout of 0 is not sufficient to display a permanent message.

update_patch_index()[source]