VcsBaseEditorWidget Class

(VcsBase::VcsBaseEditorWidget)

The VcsBaseEditorWidget class is the base class for editors showing version control system output of the type enumerated by EditorContentType. More...

Header: #include <VcsBaseEditorWidget>
Inherits: TextEditor::TextEditorWidget

Public Functions

QString annotateRevisionTextFormat() const
QTextCodec *codec() const
QString copyRevisionTextFormat() const
bool isFileLogAnnotateEnabled() const
void setAnnotateRevisionTextFormat(const QString &)
void setCodec(QTextCodec *)
void setCopyRevisionTextFormat(const QString &)
void setFileLogAnnotateEnabled(bool e)
void setSource(const QString &source)
void setWorkingDirectory(const QString &wd)
QString source() const
QString workingDirectory() const

Detailed Description

The source property should contain the file or directory the log refers to and will be emitted with describeRequested(). This is for VCS that need a current directory.

See also VcsBase::BaseVcsEditorFactory, VcsBase::VcsBaseEditorParameters, and VcsBase::EditorContentType.