kexi

KexiPropertyEditorView Class Reference

#include <kexipropertyeditorview.h>

List of all members.


Detailed Description

The container (acts as a dock window) for KexiPropertyEditor.

The widget displays KexiObjectInfoLabel on its top, to show user what object the properties belong to. Read KexiObjectInfoLabel documentation for the description what information is displayed.

There are properties obtained from KexiMainWindow's current property set that help to customize displaying this information:

  • "this:classString property" of type string describes object's class name
  • "this:iconName" property of type string describes class name
  • "name" or "caption" property of type string describes object's name
  • "this:useCaptionAsObjectName" propety of type boolean forces displaying "caption" property instead of "name" - this can be usable when we know that "caption" properties are available for a given type of objects (this is the case for Table Designer fields)

Definition at line 82 of file kexipropertyeditorview.h.


Public Member Functions

 KexiPropertyEditorView (KexiMainWindow *mainWin, QWidget *parent)
virtual ~KexiPropertyEditorView ()
virtual QSize sizeHint () const
virtual QSize minimumSizeHint () const
KoProperty::Editor * editor () const

Static Public Member Functions

static void updateInfoLabelForPropertySet (KexiObjectInfoLabel *infoLabel, KoProperty::Set *set, const QString &textToDisplayForNullSet=QString::null)

Protected Slots

void slotPropertySetChanged (KoProperty::Set *)

Protected Attributes

Private * d

Member Function Documentation

void KexiPropertyEditorView::updateInfoLabelForPropertySet ( KexiObjectInfoLabel infoLabel,
KoProperty::Set *  set,
const QString &  textToDisplayForNullSet = QString::null 
) [static]

Helper function. Updates infoLabel widget by reusing properties provided by property set set. Read documentation of KexiPropertyEditorView class for information about accepted properties. If set is 0 and textToDisplayForNullSet string is not empty, this string is displayed (without icon or any other additional part). If set is 0 and textToDisplayForNullSet string is empty, the infoLabel widget becomes hidden.

Definition at line 181 of file kexipropertyeditorview.cpp.


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