|
Prüfungsamt-Projekt
1.0.0
|
#include <tupleeditor.h>
Öffentliche Slots | |
| void | update () |
| void | remove () |
| void | abort () |
Signale | |
| void | done (TupleEditor *editor, const bool commited) |
Öffentliche Methoden | |
| TupleEditor (SQLConnectionInterface *connection, Tuple *tuple, const bool newTuple, const QString &joinAttribute, QWidget *parent=NULL, const char *name=NULL) | |
| ~TupleEditor () | |
| const Tuple * | getTuple () const |
Private Methoden | |
| void | closeEvent (QCloseEvent *event) |
Private Attribute | |
| SQLConnectionInterface * | Connection |
| QWhatsThis * | WhatsThis |
| QLabel * | StatusBar |
| AttributeEditor ** | AttrEdit |
| Tuple * | EditorTuple |
| TableViewer * | Selector |
| int | SelectorID |
| bool | NewTuple |
| TupleEditor::TupleEditor | ( | SQLConnectionInterface * | connection, |
| Tuple * | tuple, | ||
| const bool | newTuple, | ||
| const QString & | joinAttribute, | ||
| QWidget * | parent = NULL, |
||
| const char * | name = NULL |
||
| ) |
Constructor.
| connection | Datenbank-Verbindung. |
| tuple | Tuple-Struktur, die zu editierendes Tupel beschreibt. |
| newTuple | true, um neues Tupel zu erzeugen; false sonst. |
| joinAttribute | Join-Attribut. |
| parent | Parent QWidget; default: NULL. |
| name | Widget-Name; default: NULL. |
Destructor.
| void TupleEditor::abort | ( | ) | [slot] |
Qt-Slot: Abbrechen.
| void TupleEditor::closeEvent | ( | QCloseEvent * | event | ) | [private] |
| void TupleEditor::done | ( | TupleEditor * | editor, |
| const bool | commited | ||
| ) | [signal] |
Qt-Signal: Editieren beendet.
| const Tuple * TupleEditor::getTuple | ( | ) | const |
Rückgabe der Tuple-Struktur des Editors.
| void TupleEditor::remove | ( | ) | [slot] |
Qt-Slot: Delete durchführen.
| void TupleEditor::update | ( | ) | [slot] |
Qt-Slot: Update bzw. Insert durchführen.
AttributeEditor** TupleEditor::AttrEdit [private] |
SQLConnectionInterface* TupleEditor::Connection [private] |
Tuple* TupleEditor::EditorTuple [private] |
bool TupleEditor::NewTuple [private] |
TableViewer* TupleEditor::Selector [private] |
int TupleEditor::SelectorID [private] |
QLabel* TupleEditor::StatusBar [private] |
QWhatsThis* TupleEditor::WhatsThis [private] |