kexi

KexiObjectInfoLabel Class Reference

#include <kexipropertyeditorview.h>

Inherits QWidget.

List of all members.


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.


Public Member Functions

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

Protected Member Functions

void updateName ()

Protected Attributes

QString m_className
QString m_classIcon
QString m_objectName
QLabel * m_objectIconLabel
QLabel * m_objectNameLabel

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys