#include <listview.h>
Public Slots | |
| void | on_newRevsAdded (const FileHistory *fh, const QValueVector< QString > &shaVec) |
| void | on_repaintListViews (const QFont &f) |
Signals | |
| void | lanesContextMenuRequested (const QStringList &, const QStringList &) |
| void | droppedRevisions (const QStringList &) |
| void | contextMenu (const QString &, int) |
Public Member Functions | |
| ListView (Domain *d, Git *g, QListView *l, FileHistory *f, const QFont &fnt) | |
| ~ListView () | |
| void | clear () |
| const QString | getSha (int id) |
| void | updateIdValues () |
| void | getSelectedItems (QStringList &selectedItems) |
| bool | update () |
| void | addNewRevs (const QValueVector< QString > &shaVec) |
Public Attributes | |
| bool | filterNextContextMenuRequest |
Protected Member Functions | |
| virtual bool | eventFilter (QObject *obj, QEvent *ev) |
Private Slots | |
| void | on_contextMenuRequested (QListViewItem *) |
| void | on_currentChanged (QListViewItem *item) |
| void | on_mouseButtonPressed (int, QListViewItem *, const QPoint &, int) |
| void | on_clicked (QListViewItem *) |
| void | on_onItem (QListViewItem *) |
Private Member Functions | |
| void | setupListView (const QFont &fnt) |
| bool | filterRightButtonPressed (QMouseEvent *e) |
| bool | filterDropEvent (QDropEvent *e) |
| bool | getLaneParentsChilds (ListViewItem *item, int x, SList p, SList c) |
| const QString | getRefs (QListViewItem *item) |
| void | setHighlight (SCRef diffToSha) |
| ListViewItem * | findItemSha (SCRef sha) const |
Private Attributes | |
| Domain * | d |
| Git * | git |
| QListView * | lv |
| StateInfo * | st |
| FileHistory * | fh |
| ListViewItem * | lastItem |
| ListViewItem * | diffTarget |
| unsigned long | secs |
| bool | currentChangedEmitted |
Definition at line 52 of file listview.h.
| ListView | ( | Domain * | d, | |
| Git * | g, | |||
| QListView * | l, | |||
| FileHistory * | f, | |||
| const QFont & | fnt | |||
| ) |
Definition at line 21 of file listview.cpp.
| ~ListView | ( | ) |
Definition at line 49 of file listview.cpp.
| void clear | ( | ) |
Definition at line 82 of file listview.cpp.
Referenced by RevsView::clear(), FileView::clear(), and ListView().
| const QString getSha | ( | int | id | ) |
Definition at line 124 of file listview.cpp.
Referenced by FileView::on_spinBoxRevision_valueChanged().
| void updateIdValues | ( | ) |
| void getSelectedItems | ( | QStringList & | selectedItems | ) |
Definition at line 112 of file listview.cpp.
Referenced by MainImpl::ActMailFormatPatch_activated(), MainImpl::ActPop_activated(), MainImpl::ActPush_activated(), MainImpl::on_customAction_activated(), and on_onItem().
| bool update | ( | ) |
Definition at line 184 of file listview.cpp.
Referenced by RevsView::doUpdate(), and FileView::doUpdate().
| void addNewRevs | ( | const QValueVector< QString > & | shaVec | ) |
| void lanesContextMenuRequested | ( | const QStringList & | , | |
| const QStringList & | ||||
| ) | [signal] |
Referenced by filterRightButtonPressed().
| void droppedRevisions | ( | const QStringList & | ) | [signal] |
Referenced by filterDropEvent().
| void contextMenu | ( | const QString & | , | |
| int | ||||
| ) | [signal] |
Referenced by on_contextMenuRequested().
| void on_newRevsAdded | ( | const FileHistory * | fh, | |
| const QValueVector< QString > & | shaVec | |||
| ) | [slot] |
Definition at line 211 of file listview.cpp.
| void on_repaintListViews | ( | const QFont & | f | ) | [slot] |
Definition at line 76 of file listview.cpp.
| bool eventFilter | ( | QObject * | obj, | |
| QEvent * | ev | |||
| ) | [protected, virtual] |
Definition at line 294 of file listview.cpp.
| void on_contextMenuRequested | ( | QListViewItem * | item | ) | [private, slot] |
| void on_currentChanged | ( | QListViewItem * | item | ) | [private, slot] |
| void on_mouseButtonPressed | ( | int | b, | |
| QListViewItem * | item, | |||
| const QPoint & | , | |||
| int | ||||
| ) | [private, slot] |
| void on_clicked | ( | QListViewItem * | ) | [private, slot] |
| void on_onItem | ( | QListViewItem * | ) | [private, slot] |
| void setupListView | ( | const QFont & | fnt | ) | [private] |
| bool filterRightButtonPressed | ( | QMouseEvent * | e | ) | [private] |
| bool filterDropEvent | ( | QDropEvent * | e | ) | [private] |
| bool getLaneParentsChilds | ( | ListViewItem * | item, | |
| int | x, | |||
| SList | p, | |||
| SList | c | |||
| ) | [private] |
| const QString getRefs | ( | QListViewItem * | item | ) | [private] |
| void setHighlight | ( | SCRef | diffToSha | ) | [private] |
| ListViewItem * findItemSha | ( | SCRef | sha | ) | const [private] |
Definition at line 64 of file listview.h.
Referenced by filterRightButtonPressed(), ListView(), and on_contextMenuRequested().
Definition at line 94 of file listview.h.
Referenced by filterRightButtonPressed(), ListView(), on_clicked(), on_currentChanged(), on_mouseButtonPressed(), and on_onItem().
Definition at line 95 of file listview.h.
Referenced by clear(), getLaneParentsChilds(), getSha(), ListView(), on_newRevsAdded(), setupListView(), update(), updateIdValues(), and ~ListView().
QListView* lv [private] |
Definition at line 96 of file listview.h.
Referenced by clear(), eventFilter(), filterRightButtonPressed(), findItemSha(), getSelectedItems(), getSha(), ListView(), on_mouseButtonPressed(), on_newRevsAdded(), on_onItem(), on_repaintListViews(), setupListView(), update(), and updateIdValues().
Definition at line 97 of file listview.h.
Referenced by filterRightButtonPressed(), ListView(), on_currentChanged(), and update().
FileHistory* fh [private] |
Definition at line 98 of file listview.h.
Referenced by clear(), getSha(), ListView(), on_newRevsAdded(), setupListView(), update(), updateIdValues(), and ~ListView().
ListViewItem* lastItem [private] |
ListViewItem* diffTarget [private] |
unsigned long secs [private] |
bool currentChangedEmitted [private] |
Definition at line 102 of file listview.h.
Referenced by ListView(), on_currentChanged(), and on_mouseButtonPressed().
1.5.3