#include <revsview.h>
Public Slots | |
void | on_closeAllTabs () |
Signals | |
void | updateRequested (StateInfo newSt) |
void | cancelDomainProcesses () |
Public Member Functions | |
RevsView (MainImpl *parent, Git *git) | |
~RevsView () | |
void | clear (bool keepState) |
void | viewPatch (bool newTab) |
void | setEnabled (bool b) |
virtual TabRev * | 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 bool | doUpdate (bool force) |
virtual void | customEvent (QCustomEvent *e) |
void | linkDomain (Domain *d) |
void | unlinkDomain (Domain *d) |
Protected Attributes | |
Git * | git |
bool | busy |
int | tabPosition |
Private Slots | |
void | on_loadCompleted (const FileHistory *, const QString &stats) |
void | on_lanesContextMenuRequested (const QStringList &, const QStringList &) |
void | on_droppedRevisions (const QStringList &) |
void | on_updateRevDesc () |
Private Member Functions | |
bool | listBoxFiles_mouseMoveEvent () |
bool | listBoxFiles_mouseReleaseEvent () |
void | updateLineEditSHA (bool clear=false) |
Private Attributes | |
TabRev * | revTab |
QGuardedPtr< PatchView > | linkedPatchView |
TreeView * | treeView |
ListView * | listViewLog |
ListBoxFiles * | listBoxFiles |
Friends | |
class | MainImpl |
Definition at line 23 of file revsview.h.
Definition at line 39 of file revsview.cpp.
~RevsView | ( | ) |
Definition at line 78 of file revsview.cpp.
void clear | ( | bool | keepState | ) |
void viewPatch | ( | bool | newTab | ) |
Definition at line 108 of file revsview.cpp.
Referenced by MainImpl::ActViewDiff_activated(), and MainImpl::ActViewDiffNewTab_activated().
void setEnabled | ( | bool | b | ) |
virtual TabRev* tab | ( | ) | [inline, virtual] |
Implements Domain.
Definition at line 31 of file revsview.h.
Referenced by MainImpl::ActMailFormatPatch_activated(), MainImpl::ActSplitView_activated(), MainImpl::ActTag_activated(), clear(), doUpdate(), MainImpl::filterList(), MainImpl::goMatch(), MainImpl::MainImpl(), MainImpl::on_fileList_doubleClicked(), on_loadCompleted(), on_updateRevDesc(), and RevsView().
void on_loadCompleted | ( | const FileHistory * | fh, | |
const QString & | stats | |||
) | [private, slot] |
void on_lanesContextMenuRequested | ( | const QStringList & | parents, | |
const QStringList & | childs | |||
) | [private, slot] |
void on_droppedRevisions | ( | const QStringList & | remoteRevs | ) | [private, slot] |
void on_updateRevDesc | ( | ) | [private, slot] |
bool doUpdate | ( | bool | force | ) | [protected, virtual] |
bool listBoxFiles_mouseMoveEvent | ( | ) | [private] |
bool listBoxFiles_mouseReleaseEvent | ( | ) | [private] |
void updateLineEditSHA | ( | bool | clear = false |
) | [private] |
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 FileView::clear(), Domain::customEvent(), doUpdate(), PatchView::doUpdate(), FileView::doUpdate(), Domain::dragHostName(), FileView::FileView(), FileView::filterOnRange(), TreeView::initMimePix(), FileContent::on_annotateReady(), on_droppedRevisions(), FileView::on_loadCompleted(), FileView::on_toolButtonRangeFilter_toggled(), on_updateRevDesc(), PatchView::on_updateRevDesc(), PatchView::PatchView(), RevsView(), Domain::sendPopupEvent(), Domain::update(), updateLineEditSHA(), FileView::updateProgressBar(), viewPatch(), FileView::~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 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::FileView(), PatchView::on_contextMenu(), and RevsView().
void on_tabClosed | ( | int | tabPos | ) | [protected, slot, inherited] |
void on_updateRequested | ( | StateInfo | newSt | ) | [protected, slot, inherited] |
void on_deleteWhenDone | ( | ) | [protected, slot, inherited] |
void customEvent | ( | QCustomEvent * | e | ) | [protected, virtual, inherited] |
Reimplemented in FileView.
Definition at line 210 of file domain.cpp.
Referenced by FileView::customEvent(), and doUpdate().
void linkDomain | ( | Domain * | d | ) | [protected, inherited] |
void unlinkDomain | ( | Domain * | d | ) | [protected, inherited] |
friend class MainImpl [friend] |
Definition at line 43 of file revsview.h.
TabRev* revTab [private] |
Definition at line 49 of file revsview.h.
Referenced by RevsView(), setEnabled(), tab(), and ~RevsView().
QGuardedPtr<PatchView> linkedPatchView [private] |
Definition at line 50 of file revsview.h.
Referenced by clear(), doUpdate(), setEnabled(), viewPatch(), and ~RevsView().
Definition at line 51 of file revsview.h.
Referenced by MainImpl::ActFilterTree_toggled(), clear(), MainImpl::doFileContexPopup(), doUpdate(), RevsView(), and MainImpl::setRepository().
ListView* listViewLog [private] |
Definition at line 52 of file revsview.h.
Referenced by MainImpl::ActMailFormatPatch_activated(), MainImpl::ActPop_activated(), MainImpl::ActPush_activated(), clear(), doUpdate(), MainImpl::on_customAction_activated(), and RevsView().
ListBoxFiles* listBoxFiles [private] |
Definition at line 119 of file domain.h.
Referenced by MainImpl::ActCheckWorkDir_toggled(), MainImpl::ActSaveFile_activated(), MainImpl::ActViewDiff_activated(), MainImpl::ActViewRev_activated(), PatchView::centerOnFileHeader(), clear(), PatchView::clear(), FileView::clear(), Domain::customEvent(), Domain::Domain(), doUpdate(), PatchView::doUpdate(), FileView::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(), on_lanesContextMenuRequested(), RevDesc::on_linkClicked(), on_loadCompleted(), FileView::on_spinBoxRevision_valueChanged(), Domain::on_updateRequested(), on_updateRevDesc(), PatchView::on_updateRevDesc(), MainImpl::openFileTab(), Domain::populateState(), TreeView::TreeView(), Domain::update(), updateLineEditSHA(), PatchView::updatePatch(), FileView::updateProgressBar(), and viewPatch().
Definition at line 140 of file domain.h.
Referenced by PatchView::centerOnFileHeader(), doUpdate(), PatchView::doUpdate(), FileView::doUpdate(), FileView::FileView(), PatchView::on_buttonGroupDiff_clicked(), on_droppedRevisions(), on_lanesContextMenuRequested(), on_loadCompleted(), on_updateRevDesc(), PatchView::on_updateRevDesc(), PatchView::PatchView(), Domain::populateState(), RevsView(), Domain::update(), FileView::updateEnabledButtons(), PatchView::updatePatch(), 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::FileView(), Domain::on_tabClosed(), PatchView::PatchView(), RevsView(), and Domain::tabPos().