Kate
KateStyleTreeWidget Class Reference
QTreeWidget that automatically adds columns for KateStyleListItems and provides a popup menu and a slot to edit a style using the keyboard. More...
#include <katestyletreewidget.h>
Signals | |
| void | changed () |
Public Member Functions | |
| void | addItem (const QString &styleName, KTextEditor::Attribute::Ptr defaultstyle, KateExtendedAttribute::Ptr data=KateExtendedAttribute::Ptr()) |
| void | addItem (QTreeWidgetItem *parent, const QString &styleName, KTextEditor::Attribute::Ptr defaultstyle, KateExtendedAttribute::Ptr data=KateExtendedAttribute::Ptr()) |
| void | emitChanged () |
| KateStyleTreeWidget (QWidget *parent=0, bool showUseDefaults=false) | |
| 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
| KateStyleTreeWidget::KateStyleTreeWidget | ( | QWidget * | parent = 0, |
|
| bool | showUseDefaults = false | |||
| ) | [explicit] |
Definition at line 126 of file katestyletreewidget.cpp.
Member Function Documentation
| void KateStyleTreeWidget::addItem | ( | const QString & | styleName, | |
| KTextEditor::Attribute::Ptr | defaultstyle, | |||
| KateExtendedAttribute::Ptr | data = KateExtendedAttribute::Ptr() | |||
| ) |
Definition at line 321 of file katestyletreewidget.cpp.
| void KateStyleTreeWidget::addItem | ( | QTreeWidgetItem * | parent, | |
| const QString & | styleName, | |||
| KTextEditor::Attribute::Ptr | defaultstyle, | |||
| KateExtendedAttribute::Ptr | data = KateExtendedAttribute::Ptr() | |||
| ) |
Definition at line 326 of file katestyletreewidget.cpp.
| void KateStyleTreeWidget::changed | ( | ) | [signal] |
| void KateStyleTreeWidget::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Definition at line 203 of file katestyletreewidget.cpp.
| bool KateStyleTreeWidget::edit | ( | const QModelIndex & | index, | |
| EditTrigger | trigger, | |||
| QEvent * | event | |||
| ) | [protected, virtual] |
Definition at line 168 of file katestyletreewidget.cpp.
| void KateStyleTreeWidget::emitChanged | ( | ) |
Definition at line 315 of file katestyletreewidget.cpp.
| void KateStyleTreeWidget::resizeColumns | ( | ) |
Definition at line 190 of file katestyletreewidget.cpp.
| void KateStyleTreeWidget::setBgCol | ( | const QColor & | c | ) | [inline] |
Definition at line 47 of file katestyletreewidget.h.
| void KateStyleTreeWidget::setNormalCol | ( | const QColor & | c | ) | [inline] |
Definition at line 49 of file katestyletreewidget.h.
| void KateStyleTreeWidget::setSelCol | ( | const QColor & | c | ) | [inline] |
Definition at line 48 of file katestyletreewidget.h.
| void KateStyleTreeWidget::showEvent | ( | QShowEvent * | event | ) | [protected, virtual] |
Definition at line 196 of file katestyletreewidget.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference