The MainWindow class main code of application.
More...
#include <mainwindow.h>
|
QVector< Lien * > | vectLiens |
| vectLiens all links
|
|
QVector< Entite * > | vectTable |
| vectTable all entities and relations
|
|
int | prochainX |
| prochainX when adding entity it will be drawn there left distance from beginning
|
|
Ui::MainWindow * | ui |
|
The MainWindow class main code of application.
Definition at line 20 of file mainwindow.h.
MainWindow::MainWindow |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
void MainWindow::ajouteTable |
( |
Entite * |
t | ) |
|
|
slot |
void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
protected |
closeEvent
MainWindow::closeEvent.
- Parameters
-
event | surcharge du closeEvent pour proposer de sauver si besoin needed to ask user to save his work whenever necessary |
event | surcharge du closeEvent pour ne fermer que lorsque l'utilisateur confirme vouloir quitter l'application |
Definition at line 96 of file mainwindow.cpp.
void MainWindow::editProperty |
( |
Property * |
laPropriete | ) |
|
|
slot |
editProperty
- Parameters
-
laPropriete | to modify field name or field type |
Definition at line 173 of file mainwindow.cpp.
Entite * MainWindow::getEntiteByName |
( |
QString |
nom | ) |
|
|
slot |
getEntiteByName
- Parameters
-
- Returns
- Entity whose name is nom
Definition at line 608 of file mainwindow.cpp.
getScene
- Returns
- accessor for scene
Definition at line 71 of file mainwindow.h.
void MainWindow::on_listWidgetObjects_itemActivated |
( |
QListWidgetItem * |
item | ) |
|
|
slot |
void MainWindow::selectionne |
( |
Entite * |
lEntite | ) |
|
|
slot |
selectionne
- Parameters
-
lEntite | used to programatically select an entity |
Definition at line 154 of file mainwindow.cpp.
void MainWindow::setFileName |
( |
QString |
fn | ) |
|
|
slot |
setFileName
- Parameters
-
fn | accessor for filename (opened file) |
Definition at line 149 of file mainwindow.cpp.
void MainWindow::supprimerLien |
( |
Lien * |
leLien | ) |
|
|
slot |
void MainWindow::tableAjouterChamp |
( |
Entite * |
lEntite, |
|
|
QString |
nomDuChamp = "property name" , |
|
|
QString |
typeDuChamp = "Son type" , |
|
|
QString |
roleDuChamp = "Son rôle dans l'objet" , |
|
|
QString |
tailleDuChamp = "" |
|
) |
| |
|
slot |
tableAjouterChamp
- Parameters
-
lEntite | |
nomDuChamp | |
typeDuChamp | |
roleDuChamp | |
tailleDuChamp | add field to object |
Definition at line 134 of file mainwindow.cpp.
void MainWindow::tableSupprimer |
( |
Entite * |
laTableASupprimer, |
|
|
bool |
demanderConfirmation = true |
|
) |
| |
|
slot |
tableSupprimer
- Parameters
-
laTableASupprimer | |
demanderConfirmation | to delete an object from scene |
Definition at line 332 of file mainwindow.cpp.
The documentation for this class was generated from the following files:
- /home/gthom/Documents/Travail/Developpement/gapmea-v1.0-rc1-1.5.3.2/mainwindow.h
- /home/gthom/Documents/Travail/Developpement/gapmea-v1.0-rc1-1.5.3.2/mainwindow.cpp