Kate
#include <katestyletreewidget.h>
Signals | |
void | changed () |
Public Member Functions | |
KateStyleTreeWidget (QWidget *parent=0, bool showUseDefaults=false) | |
void | addItem (QTreeWidgetItem *parent, const QString &styleName, KTextEditor::Attribute::Ptr defaultstyle, KateExtendedAttribute::Ptr data=KateExtendedAttribute::Ptr()) |
void | addItem (const QString &styleName, KTextEditor::Attribute::Ptr defaultstyle, KateExtendedAttribute::Ptr data=KateExtendedAttribute::Ptr()) |
void | emitChanged () |
void | resizeColumns () |
void | setBgCol (const QColor &c) |
void | setNormalCol (const QColor &c) |
void | setSelCol (const QColor &c) |
Protected Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
virtual bool | edit (const QModelIndex &index, EditTrigger trigger, QEvent *event) |
virtual void | showEvent (QShowEvent *event) |
Detailed Description
QTreeWidget that automatically adds columns for KateStyleListItems and provides a popup menu and a slot to edit a style using the keyboard.
Added by anders, jan 23 2002.
Definition at line 36 of file katestyletreewidget.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 126 of file katestyletreewidget.cpp.
Member Function Documentation
void KateStyleTreeWidget::addItem | ( | QTreeWidgetItem * | parent, |
const QString & | styleName, | ||
KTextEditor::Attribute::Ptr | defaultstyle, | ||
KateExtendedAttribute::Ptr | data = KateExtendedAttribute::Ptr() |
||
) |
Definition at line 325 of file katestyletreewidget.cpp.
void KateStyleTreeWidget::addItem | ( | const QString & | styleName, |
KTextEditor::Attribute::Ptr | defaultstyle, | ||
KateExtendedAttribute::Ptr | data = KateExtendedAttribute::Ptr() |
||
) |
Definition at line 320 of file katestyletreewidget.cpp.
|
signal |
|
protectedvirtual |
Definition at line 204 of file katestyletreewidget.cpp.
|
protectedvirtual |
Definition at line 169 of file katestyletreewidget.cpp.
void KateStyleTreeWidget::emitChanged | ( | ) |
Definition at line 314 of file katestyletreewidget.cpp.
void KateStyleTreeWidget::resizeColumns | ( | ) |
Definition at line 191 of file katestyletreewidget.cpp.
|
inline |
Definition at line 47 of file katestyletreewidget.h.
|
inline |
Definition at line 49 of file katestyletreewidget.h.
|
inline |
Definition at line 48 of file katestyletreewidget.h.
|
protectedvirtual |
Definition at line 197 of file katestyletreewidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.