kompare
#include <komparelistview.h>

Public Types | |
| enum | ListViewItemType { Diff = QTreeWidgetItem::UserType + 1, Container = QTreeWidgetItem::UserType + 2, Line = QTreeWidgetItem::UserType + 3, Blank = QTreeWidgetItem::UserType + 4, Hunk = QTreeWidgetItem::UserType + 5 } |
Public Member Functions | |
| KompareListViewItem (KompareListView *parent, int type) | |
| KompareListViewItem (KompareListView *parent, KompareListViewItem *after, int type) | |
| KompareListViewItem (KompareListViewItem *parent, int type) | |
| KompareListViewItem (KompareListViewItem *parent, KompareListViewItem *after, int type) | |
| int | height () const |
| bool | isCurrent () const |
| KompareListView * | kompareListView () const |
| virtual int | maxHeight ()=0 |
| virtual void | paintCell (QPainter *p, const QStyleOptionViewItem &option, int column) |
| int | paintHeight () const |
| int | paintOffset () const |
| void | repaint () |
| int | scrollId () const |
| void | setHeight (int h) |
Public Member Functions inherited from QTreeWidgetItem | |
| QTreeWidgetItem (int type) | |
| QTreeWidgetItem (const QStringList &strings, int type) | |
| QTreeWidgetItem (QTreeWidget *parent, const QStringList &strings, int type) | |
| QTreeWidgetItem (QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type) | |
| QTreeWidgetItem (const QTreeWidgetItem &other) | |
| QTreeWidgetItem (QTreeWidget *parent, QTreeWidgetItem *preceding, int type) | |
| QTreeWidgetItem (QTreeWidget *parent, int type) | |
| QTreeWidgetItem (QTreeWidgetItem *parent, int type) | |
| QTreeWidgetItem (QTreeWidgetItem *parent, const QStringList &strings, int type) | |
| virtual | ~QTreeWidgetItem () |
| void | addChild (QTreeWidgetItem *child) |
| void | addChildren (const QList< QTreeWidgetItem * > &children) |
| QBrush | background (int column) const |
| QColor | backgroundColor (int column) const |
| Qt::CheckState | checkState (int column) const |
| QTreeWidgetItem * | child (int index) const |
| int | childCount () const |
| QTreeWidgetItem::ChildIndicatorPolicy | childIndicatorPolicy () const |
| virtual QTreeWidgetItem * | clone () const |
| int | columnCount () const |
| virtual QVariant | data (int column, int role) const |
| Qt::ItemFlags | flags () const |
| QFont | font (int column) const |
| QBrush | foreground (int column) const |
| QIcon | icon (int column) const |
| int | indexOfChild (QTreeWidgetItem *child) const |
| void | insertChild (int index, QTreeWidgetItem *child) |
| void | insertChildren (int index, const QList< QTreeWidgetItem * > &children) |
| bool | isDisabled () const |
| bool | isExpanded () const |
| bool | isFirstColumnSpanned () const |
| bool | isHidden () const |
| bool | isSelected () const |
| virtual bool | operator< (const QTreeWidgetItem &other) const |
| QTreeWidgetItem & | operator= (const QTreeWidgetItem &other) |
| QTreeWidgetItem * | parent () const |
| virtual void | read (QDataStream &in) |
| void | removeChild (QTreeWidgetItem *child) |
| void | setBackground (int column, const QBrush &brush) |
| void | setBackgroundColor (int column, const QColor &color) |
| void | setCheckState (int column, Qt::CheckState state) |
| void | setChildIndicatorPolicy (QTreeWidgetItem::ChildIndicatorPolicy policy) |
| virtual void | setData (int column, int role, const QVariant &value) |
| void | setDisabled (bool disabled) |
| void | setExpanded (bool expand) |
| void | setFirstColumnSpanned (bool span) |
| void | setFlags (QFlags< Qt::ItemFlag > flags) |
| void | setFont (int column, const QFont &font) |
| void | setForeground (int column, const QBrush &brush) |
| void | setHidden (bool hide) |
| void | setIcon (int column, const QIcon &icon) |
| void | setSelected (bool select) |
| void | setSizeHint (int column, const QSize &size) |
| void | setStatusTip (int column, const QString &statusTip) |
| void | setText (int column, const QString &text) |
| void | setTextAlignment (int column, int alignment) |
| void | setTextColor (int column, const QColor &color) |
| void | setToolTip (int column, const QString &toolTip) |
| void | setWhatsThis (int column, const QString &whatsThis) |
| QSize | sizeHint (int column) const |
| void | sortChildren (int column, Qt::SortOrder order) |
| QString | statusTip (int column) const |
| QTreeWidgetItem * | takeChild (int index) |
| QList< QTreeWidgetItem * > | takeChildren () |
| QString | text (int column) const |
| int | textAlignment (int column) const |
| QColor | textColor (int column) const |
| QString | toolTip (int column) const |
| QTreeWidget * | treeWidget () const |
| int | type () const |
| QString | whatsThis (int column) const |
| virtual void | write (QDataStream &out) const |
Additional Inherited Members | |
Protected Member Functions inherited from QTreeWidgetItem | |
| void | emitDataChanged () |
Detailed Description
Definition at line 145 of file komparelistview.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| Diff | |
| Container | |
| Line | |
| Blank | |
| Hunk | |
Definition at line 167 of file komparelistview.h.
Constructor & Destructor Documentation
| KompareListViewItem::KompareListViewItem | ( | KompareListView * | parent, |
| int | type | ||
| ) |
Definition at line 539 of file komparelistview.cpp.
| KompareListViewItem::KompareListViewItem | ( | KompareListView * | parent, |
| KompareListViewItem * | after, | ||
| int | type | ||
| ) |
Definition at line 549 of file komparelistview.cpp.
| KompareListViewItem::KompareListViewItem | ( | KompareListViewItem * | parent, |
| int | type | ||
| ) |
Definition at line 559 of file komparelistview.cpp.
| KompareListViewItem::KompareListViewItem | ( | KompareListViewItem * | parent, |
| KompareListViewItem * | after, | ||
| int | type | ||
| ) |
Definition at line 568 of file komparelistview.cpp.
Member Function Documentation
| int KompareListViewItem::height | ( | ) | const |
Definition at line 577 of file komparelistview.cpp.
| bool KompareListViewItem::isCurrent | ( | ) | const |
Definition at line 603 of file komparelistview.cpp.
| KompareListView * KompareListViewItem::kompareListView | ( | ) | const |
Definition at line 608 of file komparelistview.cpp.
|
pure virtual |
Implemented in KompareListViewHunkItem, KompareListViewLineItem, KompareListViewLineContainerItem, and KompareListViewDiffItem.
|
virtual |
Reimplemented in KompareListViewHunkItem, and KompareListViewLineItem.
Definition at line 613 of file komparelistview.cpp.
| int KompareListViewItem::paintHeight | ( | ) | const |
Definition at line 593 of file komparelistview.cpp.
| int KompareListViewItem::paintOffset | ( | ) | const |
Definition at line 598 of file komparelistview.cpp.
| void KompareListViewItem::repaint | ( | ) |
|
inline |
Definition at line 161 of file komparelistview.h.
| void KompareListViewItem::setHeight | ( | int | h | ) |
Definition at line 582 of file komparelistview.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from