1
/***************************************************************************
2
* Copyright (C) 2005 by Adam Treat *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
12
#ifndef RELATIONEDITORDIALOGIMPL_H
13
#define RELATIONEDITORDIALOGIMPL_H
15
#include <relationeditordialog.h>
20
class RelationEditorDialog : public RelationEditorDialogBase
24
RelationEditorDialog( DataField *dataField, DataTable *parentTable,
25
bool configure, QWidget *parent = 0,
26
const char *name = 0 );
28
virtual ~RelationEditorDialog();
36
void currentFieldChanged( QListBoxItem* );
37
void hiddenToggled( bool toggle );
38
void foreignToggled( bool toggle );
39
void reportToggled( bool toggle );
40
void targetTableActivated();
41
void targetKeyActivated();
42
void targetFieldActivated();
43
void targetConstraintActivated();
50
DataField *findField( QListBoxItem *i );
53
DataField *m_dataField;
54
DataTable *m_parentTable;