kexi
kexilookupcolumnpage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KEXILOOKUPCOLUMNPAGE_H
00020 #define KEXILOOKUPCOLUMNPAGE_H
00021
00022 #include <qwidget.h>
00023 #include <kexidb/field.h>
00024 #include <kexidb/utils.h>
00025 #include <koproperty/set.h>
00026
00027 class KCommand;
00028 class KexiObjectInfoLabel;
00029 class KexiDataSourceComboBox;
00030 class KexiFieldComboBox;
00031 class KexiFieldListView;
00032 class KexiProject;
00033 class KexiSmallToolButton;
00034 class QToolButton;
00035 class QLabel;
00036 class QFrame;
00037
00039
00045 class KexiLookupColumnPage : public QWidget
00046 {
00047 Q_OBJECT
00048
00049 public:
00050 KexiLookupColumnPage(QWidget *parent);
00051 virtual ~KexiLookupColumnPage();
00052
00053 public slots:
00054 void setProject(KexiProject *prj);
00055 void clearRowSourceSelection(bool alsoClearComboBox = true);
00056 void clearBoundColumnSelection();
00057 void clearVisibleColumnSelection();
00058
00060 void assignPropertySet(KoProperty::Set* propertySet);
00061
00062 signals:
00064 void jumpToObjectRequested(const QCString& mime, const QCString& name);
00065
00066
00067
00068
00069
00070 protected slots:
00071 void slotRowSourceTextChanged(const QString & string);
00072 void slotRowSourceChanged();
00073 void slotGotoSelectedRowSource();
00074 void slotBoundColumnSelected();
00075 void slotVisibleColumnSelected();
00076
00077 protected:
00078 void updateBoundColumnWidgetsAvailability();
00079
00081 void changeProperty(const QCString &property, const QVariant &value);
00082
00083 private:
00084 class Private;
00085 Private* d;
00086 };
00087
00088 #endif
|