kompare
komparelistview.h
Go to the documentation of this file.
121 KompareListViewFrame( bool isSource, ViewSettings* settings, KompareSplitter* parent, const char* name = 0 );
141 virtual void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const;
167 enum ListViewItemType { Diff = QTreeWidgetItem::UserType + 1, Container = QTreeWidgetItem::UserType + 2, Line = QTreeWidgetItem::UserType + 3, Blank = QTreeWidgetItem::UserType + 4, Hunk = QTreeWidgetItem::UserType + 5 };
180 KompareListViewDiffItem( KompareListView* parent, KompareListViewItem* after, Diff2::Difference* difference );
225 KompareListViewLineItem( KompareListViewLineContainerItem* parent, int line, Diff2::DifferenceString* text );
226 KompareListViewLineItem( KompareListViewLineContainerItem* parent, int line, Diff2::DifferenceString* text, int type );
258 KompareListViewHunkItem( KompareListView* parent, Diff2::DiffHunk* hunk, bool zeroHeight = false );
259 KompareListViewHunkItem( KompareListView* parent, KompareListViewItem* after, Diff2::DiffHunk* hunk, bool zeroHeight= false );
KompareListView(bool isSource, ViewSettings *settings, QWidget *parent, const char *name=0)
Definition: komparelistview.cpp:103
virtual void paintCell(QPainter *p, const QStyleOptionViewItem &option, int column)
Definition: komparelistview.cpp:613
Diff2::Difference * difference()
Definition: komparelistview.h:185
virtual void paintText(QPainter *p, const QColor &bg, int column, int width, int align)
Definition: komparelistview.cpp:912
int lastVisibleDifference()
Definition: komparelistview.cpp:163
virtual ~KompareListViewItemDelegate()
Definition: komparelistview.cpp:518
virtual void mouseDoubleClickEvent(QMouseEvent *)
Definition: komparelistview.cpp:443
Definition: komparelistview.h:222
KompareListViewDiffItem * diffItemParent() const
Definition: komparelistview.cpp:706
void differenceClicked(const Diff2::Difference *diff)
KompareListViewItem * itemAtIndex(int i)
Definition: komparelistview.cpp:136
void slotApplyDifference(bool apply)
Definition: komparelistview.cpp:473
Definition: komparelistview.h:47
virtual int maxHeight()=0
KompareListView * kompareListView() const
Definition: komparelistview.cpp:608
Definition: komparelistview.h:255
KompareListViewLineContainerItem(KompareListViewDiffItem *parent, bool isSource)
Definition: komparelistview.cpp:680
void setSelectedDifference(const Diff2::Difference *diff, bool scroll)
Definition: komparelistview.cpp:317
const char * name() const
virtual ~KompareListViewFrame()
Definition: komparelistview.h:122
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: komparelistview.cpp:532
void slotSetModel(const Diff2::DiffModel *model)
Definition: komparelistview.cpp:83
int x() const
Definition: komparelistview.h:167
KompareListViewDiffItem * diffItemParent() const
Definition: komparelistview.cpp:900
KompareListViewItem(KompareListView *parent, int type)
Definition: komparelistview.cpp:539
QPoint pos() const
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: komparelistview.cpp:522
void setNextPaintOffset(int offset)
Definition: komparelistview.cpp:262
virtual void mouseReleaseEvent(QMouseEvent *)
Definition: komparelistview.h:97
~KompareListViewLineItem()
Definition: komparelistview.cpp:741
Definition: komparelistview.h:134
Definition: komparesplitter.h:40
KompareListViewHunkItem(KompareListView *parent, Diff2::DiffHunk *hunk, bool zeroHeight=false)
virtual void paintCell(QPainter *p, const QStyleOptionViewItem &option, int column)
Definition: komparelistview.cpp:955
void applyDifference(bool apply)
void slotSetSelection(const Diff2::DiffModel *model, const Diff2::Difference *diff)
Definition: komparelistview.h:167
KompareListViewBlankLineItem(KompareListViewLineContainerItem *parent)
Definition: komparelistview.cpp:906
QTreeWidgetItem * parent() const
void repaint()
virtual void wheelEvent(QWheelEvent *e)
Definition: komparelistview.cpp:502
virtual void paintCell(QPainter *p, const QStyleOptionViewItem &option, int column)
Definition: komparelistview.cpp:754
~KompareListViewHunkItem()
Definition: komparelistview.cpp:939
Definition: komparelistview.h:167
Definition: komparelistview.h:167
Definition: viewsettings.h:29
Definition: komparelistview.h:176
virtual void paintText(QPainter *p, const QColor &bg, int column, int width, int align)
Definition: komparelistview.cpp:805
~KompareListViewDiffItem()
Definition: komparelistview.cpp:643
virtual void mousePressEvent(QMouseEvent *e)
Definition: komparelistview.cpp:434
~KompareListViewLineContainerItem()
Definition: komparelistview.cpp:702
int type() const
int firstVisibleDifference()
Definition: komparelistview.cpp:141
void scroll(int dx, int dy)
Definition: komparelistview.h:145
QAbstractItemModel * model() const
KompareListViewDiffItem(KompareListView *parent, Diff2::Difference *difference)
void slotApplyAllDifferences(bool apply)
Definition: komparelistview.cpp:481
KompareListViewLineItem(KompareListViewLineContainerItem *parent, int line, Diff2::DifferenceString *text)
QObject * parent() const
virtual void resizeEvent(QResizeEvent *e)
Definition: komparelistview.cpp:507
KompareListViewItemDelegate(QObject *parent)
Definition: komparelistview.cpp:513
void resized()
KompareListViewFrame(bool isSource, ViewSettings *settings, KompareSplitter *parent, const char *name=0)
Definition: komparelistview.cpp:52
QString text(int column) const
void applyDifference(bool apply)
Definition: komparelistview.cpp:665
virtual void mouseMoveEvent(QMouseEvent *)
Definition: komparelistview.h:98
Definition: komparelistview.h:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.