kompare
KompareListViewLineItem Class Reference
#include <komparelistview.h>
Inheritance diagram for KompareListViewLineItem:

Public Member Functions | |
| KompareListViewLineItem (KompareListViewLineContainerItem *parent, int line, Diff2::DifferenceString *text) | |
| KompareListViewLineItem (KompareListViewLineContainerItem *parent, int line, Diff2::DifferenceString *text, int type) | |
| ~KompareListViewLineItem () | |
| KompareListViewDiffItem * | diffItemParent () const |
| virtual int | maxHeight () |
| virtual void | paintCell (QPainter *p, const QStyleOptionViewItem &option, int column) |
Public Member Functions inherited from KompareListViewItem | |
| 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 |
| 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 |
Protected Member Functions | |
| virtual void | paintText (QPainter *p, const QColor &bg, int column, int width, int align) |
Protected Member Functions inherited from QTreeWidgetItem | |
| void | emitDataChanged () |
Additional Inherited Members | |
Public Types inherited from KompareListViewItem | |
| enum | ListViewItemType { Diff = QTreeWidgetItem::UserType + 1, Container = QTreeWidgetItem::UserType + 2, Line = QTreeWidgetItem::UserType + 3, Blank = QTreeWidgetItem::UserType + 4, Hunk = QTreeWidgetItem::UserType + 5 } |
Detailed Description
Definition at line 222 of file komparelistview.h.
Constructor & Destructor Documentation
| KompareListViewLineItem::KompareListViewLineItem | ( | KompareListViewLineContainerItem * | parent, |
| int | line, | ||
| Diff2::DifferenceString * | text | ||
| ) |
| KompareListViewLineItem::KompareListViewLineItem | ( | KompareListViewLineContainerItem * | parent, |
| int | line, | ||
| Diff2::DifferenceString * | text, | ||
| int | type | ||
| ) |
| KompareListViewLineItem::~KompareListViewLineItem | ( | ) |
Definition at line 741 of file komparelistview.cpp.
Member Function Documentation
| KompareListViewDiffItem * KompareListViewLineItem::diffItemParent | ( | ) | const |
Definition at line 900 of file komparelistview.cpp.
|
inlinevirtual |
Implements KompareListViewItem.
Definition at line 229 of file komparelistview.h.
|
virtual |
Reimplemented from KompareListViewItem.
Definition at line 754 of file komparelistview.cpp.
|
protectedvirtual |
Reimplemented in KompareListViewBlankLineItem.
Definition at line 805 of file komparelistview.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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
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