kexi

#include <kexipropertyeditorview.h>

Public Member Functions

 KexiObjectInfoLabel (TQWidget *parent, const char *name=0)
void setObjectClassIcon (const TQString &name)
TQString objectClassIcon () const
void setObjectClassName (const TQString &name)
TQString objectClassName () const
void setObjectName (const TQString &name)
TQString objectName () const
void setBuddy (TQWidget *buddy)

Protected Member Functions

void updateName ()

Protected Attributes

TQString m_className
TQString m_classIcon
TQString m_objectName
TQLabel * m_objectIconLabel
TQLabel * m_objectNameLabel

Detailed Description

Helper class displaying small icon with class name and object name.

The info label is displayed in a form: [ObjectClassIcon] ClassName "ObjectName"

The ObjectClassIcon is optional. If "ClassName" is empty, the information is displayed as: [ObjectClassIcon] ObjectName

Example uses:

  • [button_icon] Button "quit"
  • [label_icon] Label "welcome"

Definition at line 47 of file kexipropertyeditorview.h.

Constructor & Destructor Documentation

◆ KexiObjectInfoLabel()

KexiObjectInfoLabel::KexiObjectInfoLabel ( TQWidget * parent,
const char * name = 0 )

Definition at line 33 of file kexipropertyeditorview.cpp.

◆ ~KexiObjectInfoLabel()

KexiObjectInfoLabel::~KexiObjectInfoLabel ( )

Definition at line 47 of file kexipropertyeditorview.cpp.

Member Function Documentation

◆ objectClassIcon()

TQString KexiObjectInfoLabel::objectClassIcon ( ) const
inline

Definition at line 54 of file kexipropertyeditorview.h.

◆ objectClassName()

TQString KexiObjectInfoLabel::objectClassName ( ) const
inline

Definition at line 56 of file kexipropertyeditorview.h.

◆ objectName()

TQString KexiObjectInfoLabel::objectName ( ) const
inline

Definition at line 58 of file kexipropertyeditorview.h.

◆ setBuddy()

void KexiObjectInfoLabel::setBuddy ( TQWidget * buddy)

Definition at line 83 of file kexipropertyeditorview.cpp.

◆ setObjectClassIcon()

void KexiObjectInfoLabel::setObjectClassIcon ( const TQString & name)

Definition at line 51 of file kexipropertyeditorview.cpp.

◆ setObjectClassName()

void KexiObjectInfoLabel::setObjectClassName ( const TQString & name)

Definition at line 61 of file kexipropertyeditorview.cpp.

◆ setObjectName()

void KexiObjectInfoLabel::setObjectName ( const TQString & name)

Definition at line 67 of file kexipropertyeditorview.cpp.

◆ updateName()

void KexiObjectInfoLabel::updateName ( )
protected

Definition at line 73 of file kexipropertyeditorview.cpp.

Member Data Documentation

◆ m_classIcon

TQString KexiObjectInfoLabel::m_classIcon
protected

Definition at line 64 of file kexipropertyeditorview.h.

◆ m_className

TQString KexiObjectInfoLabel::m_className
protected

Definition at line 63 of file kexipropertyeditorview.h.

◆ m_objectIconLabel

TQLabel* KexiObjectInfoLabel::m_objectIconLabel
protected

Definition at line 65 of file kexipropertyeditorview.h.

◆ m_objectName

TQString KexiObjectInfoLabel::m_objectName
protected

Definition at line 64 of file kexipropertyeditorview.h.

◆ m_objectNameLabel

TQLabel * KexiObjectInfoLabel::m_objectNameLabel
protected

Definition at line 65 of file kexipropertyeditorview.h.


The documentation for this class was generated from the following files: