kexi

#include <kexilookupcolumnpage.h>

Public Slots

void setProject (KexiProject *prj)
void clearRowSourceSelection (bool alsoClearComboBox=true)
void clearBoundColumnSelection ()
void clearVisibleColumnSelection ()
void assignPropertySet (KoProperty::Set *propertySet)

Signals

void jumpToObjectRequested (const TQCString &mime, const TQCString &name)

Public Member Functions

 KexiLookupColumnPage (TQWidget *parent)

Protected Slots

void slotRowSourceTextChanged (const TQString &string)
void slotRowSourceChanged ()
void slotGotoSelectedRowSource ()
void slotBoundColumnSelected ()
void slotVisibleColumnSelected ()

Protected Member Functions

void updateBoundColumnWidgetsAvailability ()
void changeProperty (const TQCString &property, const TQVariant &value)

Detailed Description

A page within table designer's property pane, providing lookup column editor.

It's data model is basically KexiDB::LookupFieldSchema class, but the page does not create it directly but instead updates a property set that defines the field currently selected in the designer.

Todo
not all features of KexiDB::LookupFieldSchema class are displayed on this page yet

Definition at line 45 of file kexilookupcolumnpage.h.

Constructor & Destructor Documentation

◆ KexiLookupColumnPage()

KexiLookupColumnPage::KexiLookupColumnPage ( TQWidget * parent)

Definition at line 125 of file kexilookupcolumnpage.cpp.

◆ ~KexiLookupColumnPage()

KexiLookupColumnPage::~KexiLookupColumnPage ( )
virtual

Definition at line 224 of file kexilookupcolumnpage.cpp.

Member Function Documentation

◆ assignPropertySet

void KexiLookupColumnPage::assignPropertySet ( KoProperty::Set * propertySet)
slot

Receives a pointer to a new property set (from KexiFormView::managerPropertyChanged()).

Definition at line 238 of file kexilookupcolumnpage.cpp.

◆ changeProperty()

void KexiLookupColumnPage::changeProperty ( const TQCString & property,
const TQVariant & value )
protected

Used instead of m_propertySet->changeProperty() to honor m_propertySetEnabled.

◆ clearBoundColumnSelection

void KexiLookupColumnPage::clearBoundColumnSelection ( )
slot

Definition at line 274 of file kexilookupcolumnpage.cpp.

◆ clearRowSourceSelection

void KexiLookupColumnPage::clearRowSourceSelection ( bool alsoClearComboBox = true)
slot

Definition at line 387 of file kexilookupcolumnpage.cpp.

◆ clearVisibleColumnSelection

void KexiLookupColumnPage::clearVisibleColumnSelection ( )
slot

Definition at line 307 of file kexilookupcolumnpage.cpp.

◆ jumpToObjectRequested

void KexiLookupColumnPage::jumpToObjectRequested ( const TQCString & mime,
const TQCString & name )
signal

Signal emitted when helper button 'Go to selected row sourcesource' is clicked.

◆ setProject

void KexiLookupColumnPage::setProject ( KexiProject * prj)
slot

Definition at line 229 of file kexilookupcolumnpage.cpp.

◆ slotBoundColumnSelected

void KexiLookupColumnPage::slotBoundColumnSelected ( )
protectedslot
Todo
this should also work for expressions

Definition at line 282 of file kexilookupcolumnpage.cpp.

◆ slotGotoSelectedRowSource

void KexiLookupColumnPage::slotGotoSelectedRowSource ( )
protectedslot

Definition at line 399 of file kexilookupcolumnpage.cpp.

◆ slotRowSourceChanged

void KexiLookupColumnPage::slotRowSourceChanged ( )
protectedslot
Todo
update d->propertySet ^^

Definition at line 328 of file kexilookupcolumnpage.cpp.

◆ slotRowSourceTextChanged

void KexiLookupColumnPage::slotRowSourceTextChanged ( const TQString & string)
protectedslot

Signal emitted when current bound column has been changed.

Definition at line 375 of file kexilookupcolumnpage.cpp.

◆ slotVisibleColumnSelected

void KexiLookupColumnPage::slotVisibleColumnSelected ( )
protectedslot
Todo
this should also work for expressions
Todo
support expression in special "visibleExpression"

Definition at line 315 of file kexilookupcolumnpage.cpp.

◆ updateBoundColumnWidgetsAvailability()

void KexiLookupColumnPage::updateBoundColumnWidgetsAvailability ( )
protected

Definition at line 408 of file kexilookupcolumnpage.cpp.


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