gapMea  1.0-rc1-1.5.3.2
GapMea est un outil visuel écrit en c++ à l'aide de la bibliothèque QT qui sert de base entre autre à l'environnement graphique de KDE.Il permet de dessiner des schémas recueillant et structurant les informations nécessaires à un domaine de gestion. Le schéma obtenu est enregistré dans un fichier texte au format xml.
 All Classes Functions Variables
Property Class Reference

The Property class property is a field it can be placed into entity or relation. More...

#include <property.h>

Inheritance diagram for Property:
Inheritance graph
Collaboration diagram for Property:
Collaboration graph

Public Types

enum  { Type = FIELD }
 
enum  typeDeTri { noSort, ascSort, descSort }
 
enum  { Type = FIELD }
 

Signals

void jAiChange ()
 
void jeSuisSelectionne (Property *)
 

Public Member Functions

int type () const
 
 Property (dialogRelation *mum, bool, QGraphicsScene *pScene, QString pName="'something'", QGraphicsItem *pParent=0)
 
void contextMenuEvent (QGraphicsSceneMouseEvent *event)
 
QString getNomComplet ()
 
QString getTri ()
 
void dropEvent (QGraphicsSceneDragDropEvent *event)
 
void dragEnterEvent (QGraphicsSceneDragDropEvent *event)
 
void dragMoveEvent (QGraphicsSceneDragDropEvent *event)
 
void ajouteCondition (QString texteCondition)
 
void modifieCondition (QString)
 
int type () const
 
 Property (MainWindow *mum, bool, QGraphicsScene *pScene, QString pName="'something'", QString pType="", QString pRole="", QString pTaille="", QGraphicsItem *pParent=0)
 Property. More...
 
void contextMenuEvent (QGraphicsSceneMouseEvent *event)
 contextMenuEvent More...
 
QString getNomComplet ()
 getNomComplet More...
 
void dropEvent (QGraphicsSceneDragDropEvent *event)
 
void dragEnterEvent (QGraphicsSceneDragDropEvent *event)
 
void dragMoveEvent (QGraphicsSceneDragDropEvent *event)
 
QString toSql ()
 toSql More...
 
void emmettreSelected ()
 emmettreSelected emit signal wich is used by application when field is selected
 

Public Attributes

bool affiche
 
QGraphicsPixmapItem * oeil
 
QGraphicsPixmapItem * iconSort
 
QGraphicsTextItemcond
 
QGraphicsLineItem * trait
 
QString nomInitial
 
QString alias
 
bool freeField
 
EntitelaTable
 
enum Property::typeDeTri tri
 
int numeroDansLeTri
 
int numeroOrdreDansLeSelect
 
QString nom
 nom his name example weight
 
EntitelEntite
 lEntite object wich contains it
 
QString sonType
 sonType his type ex varchar(25) ou integer
 
QString role
 role his role ex father our chief ...
 
QString taille
 taille whenever field type need size
 

Detailed Description

The Property class property is a field it can be placed into entity or relation.

Definition at line 13 of file field.h.

Constructor & Destructor Documentation

Property::Property ( MainWindow mum,
bool  isFree,
QGraphicsScene pScene,
QString  pName = "'something'",
QString  pType = "",
QString  pRole = "",
QString  pTaille = "",
QGraphicsItem *  pParent = 0 
)

Property.

Parameters
mum
pScene
pName
pType
pRole
pTaille
pParentConstructor

Definition at line 10 of file property.cpp.

Member Function Documentation

void Property::contextMenuEvent ( QGraphicsSceneMouseEvent *  event)

contextMenuEvent

Parameters
eventshow context menu
QString Property::getNomComplet ( )
inline

getNomComplet

Returns
complete name of field

Definition at line 88 of file property.h.

QString Property::toSql ( )

toSql

Returns
ex customerName varchar(25)

Definition at line 97 of file property.cpp.

Here is the caller graph for this function:


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