Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HlEditDialog Class Reference

#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/document/katedialogs.h>

Inheritance diagram for HlEditDialog:

Inheritance graph
[legend]
Collaboration diagram for HlEditDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HlEditDialog (HlManager *, QWidget *parent=0, const char *name=0, bool modal=true, HlData *data=0)

Protected Slots

void currentSelectionChanged (QListViewItem *)
void contextDescrChanged (const QString &)
void contextLineEndChanged (int)
void contextAttributeChanged (int)
void contextAddNew ()
void ItemTypeChanged (int id)
void ItemParameterChanged (const QString &name)
void ItemAttributeChanged (int attr)
void ItemContextChanged (int cont)
void ItemAddNew ()

Private Member Functions

void initContextOptions (class QVBox *co)
void initItemOptions (class QVBox *co)
void loadFromDocument (HlData *hl)
void showContext ()
void showItem ()
QListViewItem * addContextItem (QListViewItem *_parent, QListViewItem *prev, struct syntaxContextData *data)
void insertTranslationList (QString tag, QString trans, int length)
void newDocument ()

Private Attributes

QWidgetStack * stack
QVBox * contextOptions
QVBox * itemOptions
KListViewcontextList
QListViewItem * currentItem
QLineEdit * ContextDescr
QComboBox * ContextAttribute
QComboBox * ContextLineEnd
QComboBox * ItemType
QComboBox * ItemContext
QLineEdit * ItemParameter
QComboBox * ItemAttribute
QMap< int, QStringid2tag
QMap< int, ItemInfoid2info
QMap< QString, int > tag2id
int transTableCnt

Constructor & Destructor Documentation

HlEditDialog::HlEditDialog HlManager ,
QWidget *  parent = 0,
const char *  name = 0,
bool  modal = true,
HlData data = 0
 

Definition at line 265 of file katedialogs.cpp.

References bbox(), contextAddNew(), contextList, contextOptions, currentItem, currentSelectionChanged(), HlEContext, HlEItem, i18n, initContextOptions(), initItemOptions(), ItemAddNew(), itemOptions, loadFromDocument(), newDocument(), KDialogBase::setMainWidget(), stack, transTableCnt, and wid.


Member Function Documentation

QListViewItem * HlEditDialog::addContextItem QListViewItem *  _parent,
QListViewItem *  prev,
struct syntaxContextData data
[private]
 

Definition at line 421 of file katedialogs.cpp.

References Opie::Core::endl(), i18n, kdDebug(), QString::latin1(), and HlManager::self().

Referenced by loadFromDocument().

void HlEditDialog::contextAddNew  )  [protected, slot]
 

Definition at line 505 of file katedialogs.cpp.

References contextList, and i18n.

Referenced by HlEditDialog().

void HlEditDialog::contextAttributeChanged int   )  [protected, slot]
 

Definition at line 488 of file katedialogs.cpp.

References currentItem.

Referenced by initContextOptions().

void HlEditDialog::contextDescrChanged const QString  )  [protected, slot]
 

Definition at line 479 of file katedialogs.cpp.

References ContextLineEnd, and currentItem.

Referenced by initContextOptions().

void HlEditDialog::contextLineEndChanged int   )  [protected, slot]
 

Definition at line 496 of file katedialogs.cpp.

References currentItem, Opie::Core::endl(), and kdDebug().

Referenced by initContextOptions().

void HlEditDialog::currentSelectionChanged QListViewItem *   )  [protected, slot]
 

Definition at line 452 of file katedialogs.cpp.

References currentItem, Opie::Core::endl(), kdDebug(), showContext(), and showItem().

Referenced by HlEditDialog().

void HlEditDialog::initContextOptions class QVBox *  co  )  [private]
 

Definition at line 308 of file katedialogs.cpp.

References ContextAttribute, contextAttributeChanged(), ContextDescr, contextDescrChanged(), ContextLineEnd, contextLineEndChanged(), Opie::Core::endl(), i18n, and kdDebug().

Referenced by HlEditDialog().

void HlEditDialog::initItemOptions class QVBox *  co  )  [private]
 

Definition at line 340 of file katedialogs.cpp.

References Opie::Core::endl(), i, i18n, id2info, insertTranslationList(), ItemAttribute, ItemAttributeChanged(), ItemContext, ItemContextChanged(), ItemParameter, ItemParameterChanged(), ItemType, ItemTypeChanged(), and kdDebug().

Referenced by HlEditDialog().

void HlEditDialog::insertTranslationList QString  tag,
QString  trans,
int  length
[private]
 

Definition at line 330 of file katedialogs.cpp.

References data, id2info, id2tag, QMap< Key, T >::insert(), tag2id, and transTableCnt.

Referenced by initItemOptions().

void HlEditDialog::ItemAddNew  )  [protected, slot]
 

Definition at line 577 of file katedialogs.cpp.

References currentItem, and i18n.

Referenced by HlEditDialog().

void HlEditDialog::ItemAttributeChanged int  attr  )  [protected, slot]
 

Definition at line 561 of file katedialogs.cpp.

References currentItem.

Referenced by initItemOptions().

void HlEditDialog::ItemContextChanged int  cont  )  [protected, slot]
 

Definition at line 569 of file katedialogs.cpp.

References currentItem.

Referenced by initItemOptions().

void HlEditDialog::ItemParameterChanged const QString name  )  [protected, slot]
 

Definition at line 552 of file katedialogs.cpp.

References currentItem, and id2info.

Referenced by initItemOptions(), and ItemTypeChanged().

void HlEditDialog::ItemTypeChanged int  id  )  [protected, slot]
 

Definition at line 542 of file katedialogs.cpp.

References currentItem, id2info, id2tag, and ItemParameterChanged().

Referenced by initItemOptions().

void HlEditDialog::loadFromDocument HlData hl  )  [private]
 

Definition at line 380 of file katedialogs.cpp.

References addContextItem(), contextList, data, Opie::Core::endl(), kdDebug(), and HlManager::self().

Referenced by HlEditDialog(), and newDocument().

void HlEditDialog::newDocument  )  [private]
 

Definition at line 294 of file katedialogs.cpp.

References QValueList< T >::begin(), data, KGlobal::dirs(), QValueList< T >::end(), KMessageBox::error(), KStandardDirs::findAllResources(), i18n, list, and loadFromDocument().

Referenced by HlEditDialog().

void HlEditDialog::showContext  )  [private]
 

Definition at line 466 of file katedialogs.cpp.

References ContextAttribute, ContextDescr, ContextLineEnd, contextList, currentItem, HlEContext, and stack.

Referenced by currentSelectionChanged().

void HlEditDialog::showItem  )  [private]
 

Definition at line 517 of file katedialogs.cpp.

References contextList, currentItem, QMap< Key, T >::end(), Opie::Core::endl(), QMap< Key, T >::find(), HlEItem, id2info, kdDebug(), stack, and tag2id.

Referenced by currentSelectionChanged().


Member Data Documentation

class QComboBox* HlEditDialog::ContextAttribute [private]
 

Definition at line 134 of file katedialogs.h.

Referenced by initContextOptions(), and showContext().

class QLineEdit* HlEditDialog::ContextDescr [private]
 

Definition at line 133 of file katedialogs.h.

Referenced by initContextOptions(), and showContext().

class QComboBox* HlEditDialog::ContextLineEnd [private]
 

Definition at line 135 of file katedialogs.h.

Referenced by contextDescrChanged(), initContextOptions(), and showContext().

class KListView* HlEditDialog::contextList [private]
 

Definition at line 121 of file katedialogs.h.

Referenced by contextAddNew(), HlEditDialog(), loadFromDocument(), showContext(), and showItem().

class QVBox* HlEditDialog::contextOptions [private]
 

Definition at line 120 of file katedialogs.h.

Referenced by HlEditDialog().

class QListViewItem* HlEditDialog::currentItem [private]
 

Definition at line 122 of file katedialogs.h.

Referenced by contextAttributeChanged(), contextDescrChanged(), contextLineEndChanged(), currentSelectionChanged(), HlEditDialog(), ItemAddNew(), ItemAttributeChanged(), ItemContextChanged(), ItemParameterChanged(), ItemTypeChanged(), showContext(), and showItem().

class QMap< int, ItemInfo > HlEditDialog::id2info [private]
 

Definition at line 143 of file katedialogs.h.

Referenced by initItemOptions(), insertTranslationList(), ItemParameterChanged(), ItemTypeChanged(), and showItem().

class QMap< int, QString > HlEditDialog::id2tag [private]
 

Definition at line 142 of file katedialogs.h.

Referenced by insertTranslationList(), and ItemTypeChanged().

class QComboBox* HlEditDialog::ItemAttribute [private]
 

Definition at line 140 of file katedialogs.h.

Referenced by initItemOptions().

class QComboBox* HlEditDialog::ItemContext [private]
 

Definition at line 138 of file katedialogs.h.

Referenced by initItemOptions().

class QVBox * HlEditDialog::itemOptions [private]
 

Definition at line 120 of file katedialogs.h.

Referenced by HlEditDialog().

class QLineEdit* HlEditDialog::ItemParameter [private]
 

Definition at line 139 of file katedialogs.h.

Referenced by initItemOptions().

class QComboBox* HlEditDialog::ItemType [private]
 

Definition at line 137 of file katedialogs.h.

Referenced by initItemOptions().

class QWidgetStack* HlEditDialog::stack [private]
 

Definition at line 119 of file katedialogs.h.

Referenced by HlEditDialog(), showContext(), and showItem().

class QMap< QString, int > HlEditDialog::tag2id [private]
 

Definition at line 144 of file katedialogs.h.

Referenced by insertTranslationList(), and showItem().

int HlEditDialog::transTableCnt [private]
 

Definition at line 145 of file katedialogs.h.

Referenced by HlEditDialog(), and insertTranslationList().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:35:01 2005 for OPIE by  doxygen 1.4.2