• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Signals | Public Member Functions | Protected Member Functions | List of all members
KateStyleTreeWidget Class Reference

#include <katestyletreewidget.h>

Inheritance diagram for KateStyleTreeWidget:
Inheritance graph
[legend]

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

KateStyleTreeWidget::KateStyleTreeWidget ( QWidget *  parent = 0,
bool  showUseDefaults = false 
)
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.

void KateStyleTreeWidget::changed ( )
signal
void KateStyleTreeWidget::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Definition at line 204 of file katestyletreewidget.cpp.

bool KateStyleTreeWidget::edit ( const QModelIndex &  index,
EditTrigger  trigger,
QEvent *  event 
)
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.

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)
protectedvirtual

Definition at line 197 of file katestyletreewidget.cpp.


The documentation for this class was generated from the following files:
  • katestyletreewidget.h
  • katestyletreewidget.cpp
This file is part of the KDE documentation.
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.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal