kexi

#include <kexipropertyeditorview.h>

Public Member Functions

 KexiPropertyEditorView (KexiMainWindow *mainWin, TQWidget *parent)
virtual TQSize sizeHint () const
virtual TQSize minimumSizeHint () const
KoProperty::Editor * editor () const

Static Public Member Functions

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

Protected Slots

void slotPropertySetChanged (KoProperty::Set *)

Protected Attributes

Private * d

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" property 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.

Constructor & Destructor Documentation

◆ KexiPropertyEditorView()

KexiPropertyEditorView::KexiPropertyEditorView ( KexiMainWindow * mainWin,
TQWidget * parent )

Definition at line 106 of file kexipropertyeditorview.cpp.

◆ ~KexiPropertyEditorView()

KexiPropertyEditorView::~KexiPropertyEditorView ( )
virtual

Definition at line 144 of file kexipropertyeditorview.cpp.

Member Function Documentation

◆ editor()

KoProperty::Editor * KexiPropertyEditorView::editor ( ) const

Definition at line 169 of file kexipropertyeditorview.cpp.

◆ minimumSizeHint()

TQSize KexiPropertyEditorView::minimumSizeHint ( ) const
virtual

Definition at line 154 of file kexipropertyeditorview.cpp.

◆ sizeHint()

TQSize KexiPropertyEditorView::sizeHint ( ) const
virtual

Definition at line 149 of file kexipropertyeditorview.cpp.

◆ slotPropertySetChanged

void KexiPropertyEditorView::slotPropertySetChanged ( KoProperty::Set * set)
protectedslot

Definition at line 216 of file kexipropertyeditorview.cpp.

◆ updateInfoLabelForPropertySet()

void KexiPropertyEditorView::updateInfoLabelForPropertySet ( KexiObjectInfoLabel * infoLabel,
KoProperty::Set * set,
const TQString & textToDisplayForNullSet = TQString() )
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.

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.

Member Data Documentation

◆ d

Private* KexiPropertyEditorView::d
protected

Definition at line 115 of file kexipropertyeditorview.h.


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