#include <fileview.h>

Public Slots | |
| void | on_toolButtonCopy_clicked () |
| void | on_toolButtonShowAnnotate_toggled (bool) |
| void | on_toolButtonFindAnnotate_toggled (bool) |
| void | on_toolButtonRangeFilter_toggled (bool) |
| void | on_toolButtonPin_toggled (bool) |
| void | on_toolButtonHighlightText_toggled (bool) |
| void | on_spinBoxRevision_valueChanged (int) |
| void | on_loadCompleted (const FileHistory *, const QString &) |
| void | on_annotationAvailable (bool) |
| void | on_fileAvailable (bool) |
| void | on_revIdSelected (int) |
| void | on_closeAllTabs () |
Signals | |
| void | updateRequested (StateInfo newSt) |
| void | cancelDomainProcesses () |
Public Member Functions | |
| FileView () | |
| FileView (MainImpl *m, Git *git) | |
| ~FileView () | |
| void | append (SCRef data) |
| void | clear (bool complete=true) |
| void | historyReady () |
| void | updateHistViewer (SCRef revSha, SCRef fileName, bool fromUpstream=true) |
| void | eof () |
| virtual TabFile * | tab () |
| void | deleteWhenDone () |
| void | setThrowOnDelete (bool b) |
| bool | isThrowOnDeleteRaised (int excpId, SCRef curContext) |
| MainImpl * | m () const |
| const QString | dragHostName () const |
| bool | isReadyToDrag () const |
| bool | setReadyToDrag (bool b) |
| bool | isDragging () const |
| bool | setDragging (bool b) |
| bool | isDropping () const |
| void | setDropping (bool b) |
| bool | isLinked () const |
| int | tabPos () const |
Public Attributes | |
| StateInfo | st |
Protected Slots | |
| virtual void | on_contextMenu (const QString &, int) |
| void | on_tabClosed (int) |
| void | on_updateRequested (StateInfo newSt) |
| void | on_deleteWhenDone () |
Protected Member Functions | |
| virtual void | customEvent (QCustomEvent *e) |
| virtual bool | doUpdate (bool force) |
| void | linkDomain (Domain *d) |
| void | unlinkDomain (Domain *d) |
Protected Attributes | |
| Git * | git |
| bool | busy |
| int | tabPosition |
Private Member Functions | |
| void | showAnnotation () |
| bool | goToCurrentAnnotation () |
| void | updateProgressBar (int annotatedNum) |
| void | filterOnRange (bool b) |
| void | updateSpinBoxValue () |
| void | updateEnabledButtons () |
Private Attributes | |
| TabFile * | fileTab |
| ListView * | histListView |
| FileContent * | textEditFile |
| FileHistory * | fh |
| bool | annotateAvailable |
| bool | fileAvailable |
Friends | |
| class | MainImpl |
| class | FileHighlighter |
Definition at line 23 of file fileview.h.
| FileView | ( | ) | [inline] |
Definition at line 26 of file fileview.h.
Definition at line 34 of file fileview.cpp.
| ~FileView | ( | ) |
Definition at line 92 of file fileview.cpp.
| void append | ( | SCRef | data | ) |
| void clear | ( | bool | complete = true |
) |
| void historyReady | ( | ) |
| void eof | ( | ) |
| virtual TabFile* tab | ( | ) | [inline, virtual] |
Implements Domain.
Definition at line 34 of file fileview.h.
Referenced by MainImpl::ActSplitView_activated(), and MainImpl::openFileTab().
| void on_toolButtonCopy_clicked | ( | ) | [slot] |
| void on_toolButtonShowAnnotate_toggled | ( | bool | b | ) | [slot] |
| void on_toolButtonFindAnnotate_toggled | ( | bool | b | ) | [slot] |
| void on_toolButtonRangeFilter_toggled | ( | bool | b | ) | [slot] |
| void on_toolButtonPin_toggled | ( | bool | b | ) | [slot] |
| void on_toolButtonHighlightText_toggled | ( | bool | b | ) | [slot] |
| void on_spinBoxRevision_valueChanged | ( | int | id | ) | [slot] |
| void on_loadCompleted | ( | const FileHistory * | f, | |
| const QString & | ||||
| ) | [slot] |
| void on_annotationAvailable | ( | bool | b | ) | [slot] |
| void on_fileAvailable | ( | bool | b | ) | [slot] |
| void on_revIdSelected | ( | int | id | ) | [slot] |
| void customEvent | ( | QCustomEvent * | e | ) | [protected, virtual] |
| bool doUpdate | ( | bool | force | ) | [protected, virtual] |
| void showAnnotation | ( | ) | [private] |
Definition at line 298 of file fileview.cpp.
Referenced by on_annotationAvailable(), and on_fileAvailable().
| bool goToCurrentAnnotation | ( | ) | [private] |
Definition at line 128 of file fileview.cpp.
Referenced by on_toolButtonFindAnnotate_toggled(), on_toolButtonShowAnnotate_toggled(), and showAnnotation().
| void updateProgressBar | ( | int | annotatedNum | ) | [private] |
| void filterOnRange | ( | bool | b | ) | [private] |
| void updateSpinBoxValue | ( | ) | [private] |
Definition at line 136 of file fileview.cpp.
Referenced by doUpdate(), and on_toolButtonPin_toggled().
| void updateEnabledButtons | ( | ) | [private] |
Definition at line 175 of file fileview.cpp.
Referenced by clear(), on_annotationAvailable(), on_fileAvailable(), on_toolButtonFindAnnotate_toggled(), on_toolButtonHighlightText_toggled(), on_toolButtonRangeFilter_toggled(), and on_toolButtonShowAnnotate_toggled().
| void deleteWhenDone | ( | ) | [inherited] |
| void setThrowOnDelete | ( | bool | b | ) | [inherited] |
Definition at line 135 of file domain.cpp.
Referenced by FileContent::lookupAnnotation(), FileContent::rangeFilter(), and Domain::update().
| bool isThrowOnDeleteRaised | ( | int | excpId, | |
| SCRef | curContext | |||
| ) | [inherited] |
Definition at line 143 of file domain.cpp.
Referenced by FileContent::lookupAnnotation(), FileContent::rangeFilter(), and Domain::update().
| MainImpl * m | ( | ) | const [inherited] |
Definition at line 148 of file domain.cpp.
Referenced by clear(), Domain::customEvent(), RevsView::doUpdate(), PatchView::doUpdate(), doUpdate(), Domain::dragHostName(), FileView(), filterOnRange(), TreeView::initMimePix(), FileContent::on_annotateReady(), RevsView::on_droppedRevisions(), on_loadCompleted(), on_toolButtonRangeFilter_toggled(), RevsView::on_updateRevDesc(), PatchView::on_updateRevDesc(), PatchView::PatchView(), RevsView::RevsView(), Domain::sendPopupEvent(), Domain::update(), RevsView::updateLineEditSHA(), updateProgressBar(), RevsView::viewPatch(), ~FileView(), and PatchView::~PatchView().
| const QString dragHostName | ( | ) | const [inherited] |
| bool isReadyToDrag | ( | ) | const [inline, inherited] |
Definition at line 109 of file domain.h.
Referenced by ListBoxFiles::mouseMoved(), and ListView::on_onItem().
| bool setReadyToDrag | ( | bool | b | ) | [inherited] |
Definition at line 158 of file domain.cpp.
Referenced by ListView::on_clicked(), ListBoxFiles::on_clicked(), ListView::on_mouseButtonPressed(), ListBoxFiles::on_mouseButtonPressed(), and Domain::update().
| bool setDragging | ( | bool | b | ) | [inherited] |
Definition at line 164 of file domain.cpp.
Referenced by ListBoxFiles::mouseMoved(), and ListView::on_onItem().
| bool isDropping | ( | ) | const [inline, inherited] |
| void setDropping | ( | bool | b | ) | [inline, inherited] |
| bool isLinked | ( | ) | const [inline, inherited] |
Definition at line 115 of file domain.h.
Referenced by PatchView::doUpdate(), and PatchView::on_contextMenu().
| int tabPos | ( | ) | const [inline, inherited] |
Definition at line 116 of file domain.h.
Referenced by MainImpl::accelActivated(), MainImpl::ActViewRev_activated(), MainImpl::currentTabType(), MainImpl::openFileTab(), and RevsView::viewPatch().
| void updateRequested | ( | StateInfo | newSt | ) | [signal, inherited] |
Referenced by Domain::linkDomain(), Domain::unlinkDomain(), and Domain::update().
| void cancelDomainProcesses | ( | ) | [signal, inherited] |
Referenced by Domain::deleteWhenDone(), and Domain::update().
| void on_closeAllTabs | ( | ) | [slot, inherited] |
| void on_contextMenu | ( | const QString & | data, | |
| int | type | |||
| ) | [protected, virtual, slot, inherited] |
Reimplemented in PatchView.
Definition at line 348 of file domain.cpp.
Referenced by FileView(), PatchView::on_contextMenu(), and RevsView::RevsView().
| void on_tabClosed | ( | int | tabPos | ) | [protected, slot, inherited] |
| void on_updateRequested | ( | StateInfo | newSt | ) | [protected, slot, inherited] |
| void on_deleteWhenDone | ( | ) | [protected, slot, inherited] |
| void linkDomain | ( | Domain * | d | ) | [protected, inherited] |
| void unlinkDomain | ( | Domain * | d | ) | [protected, inherited] |
friend class MainImpl [friend] |
Definition at line 54 of file fileview.h.
friend class FileHighlighter [friend] |
Definition at line 55 of file fileview.h.
TabFile* fileTab [private] |
Definition at line 64 of file fileview.h.
Referenced by clear(), doUpdate(), FileView(), filterOnRange(), goToCurrentAnnotation(), on_fileAvailable(), on_loadCompleted(), on_revIdSelected(), on_spinBoxRevision_valueChanged(), on_toolButtonPin_toggled(), on_toolButtonRangeFilter_toggled(), on_toolButtonShowAnnotate_toggled(), showAnnotation(), tab(), updateEnabledButtons(), updateProgressBar(), updateSpinBoxValue(), and ~FileView().
ListView* histListView [private] |
Definition at line 65 of file fileview.h.
Referenced by clear(), doUpdate(), FileView(), on_loadCompleted(), on_spinBoxRevision_valueChanged(), and ~FileView().
FileContent* textEditFile [private] |
Definition at line 66 of file fileview.h.
Referenced by clear(), doUpdate(), FileView(), filterOnRange(), goToCurrentAnnotation(), on_fileAvailable(), on_loadCompleted(), on_toolButtonCopy_clicked(), on_toolButtonHighlightText_toggled(), on_toolButtonPin_toggled(), on_toolButtonRangeFilter_toggled(), on_toolButtonShowAnnotate_toggled(), showAnnotation(), and ~FileView().
FileHistory* fh [private] |
Definition at line 67 of file fileview.h.
Referenced by doUpdate(), FileView(), on_loadCompleted(), and ~FileView().
bool annotateAvailable [private] |
Definition at line 68 of file fileview.h.
Referenced by clear(), on_annotationAvailable(), and updateEnabledButtons().
bool fileAvailable [private] |
Definition at line 69 of file fileview.h.
Referenced by clear(), FileView(), on_fileAvailable(), and updateEnabledButtons().
Definition at line 119 of file domain.h.
Referenced by MainImpl::ActCheckWorkDir_toggled(), MainImpl::ActSaveFile_activated(), MainImpl::ActViewDiff_activated(), MainImpl::ActViewRev_activated(), PatchView::centerOnFileHeader(), RevsView::clear(), PatchView::clear(), clear(), Domain::customEvent(), Domain::Domain(), RevsView::doUpdate(), PatchView::doUpdate(), doUpdate(), FileContent::FileContent(), MainImpl::filterList(), Domain::flushQueue(), MainImpl::getExternalDiffArgs(), MainImpl::lineEditSHA_returnPressed(), ListBoxFiles::ListBoxFiles(), ListView::ListView(), PatchView::on_buttonGroupDiff_clicked(), Domain::on_contextMenu(), MainImpl::on_fileList_doubleClicked(), MainImpl::on_goRef_activated(), RevsView::on_lanesContextMenuRequested(), RevDesc::on_linkClicked(), RevsView::on_loadCompleted(), on_spinBoxRevision_valueChanged(), Domain::on_updateRequested(), RevsView::on_updateRevDesc(), PatchView::on_updateRevDesc(), MainImpl::openFileTab(), Domain::populateState(), TreeView::TreeView(), Domain::update(), RevsView::updateLineEditSHA(), PatchView::updatePatch(), updateProgressBar(), and RevsView::viewPatch().
Definition at line 140 of file domain.h.
Referenced by PatchView::centerOnFileHeader(), RevsView::doUpdate(), PatchView::doUpdate(), doUpdate(), FileView(), PatchView::on_buttonGroupDiff_clicked(), RevsView::on_droppedRevisions(), RevsView::on_lanesContextMenuRequested(), RevsView::on_loadCompleted(), RevsView::on_updateRevDesc(), PatchView::on_updateRevDesc(), PatchView::PatchView(), Domain::populateState(), RevsView::RevsView(), Domain::update(), updateEnabledButtons(), PatchView::updatePatch(), RevsView::viewPatch(), and PatchView::~PatchView().
bool busy [protected, inherited] |
Definition at line 141 of file domain.h.
Referenced by Domain::customEvent(), Domain::Domain(), Domain::flushQueue(), Domain::on_contextMenu(), Domain::setReadyToDrag(), and Domain::update().
int tabPosition [protected, inherited] |
Definition at line 142 of file domain.h.
Referenced by Domain::Domain(), FileView(), Domain::on_tabClosed(), PatchView::PatchView(), RevsView::RevsView(), and Domain::tabPos().
1.5.3