#include <qdbteditorbase.h>
Collaboration diagram for QdbtEditorBase:
Public Methods | |
void | setContext (int row, int col) |
int | rowContext () const |
int | colContext () const |
virtual | ~QdbtEditorBase () |
QdbtBaseCell * | cell () const |
Protected Methods | |
QdbtEditorBase (QdbtBaseTabular *p) | |
QdbtBaseTabular * | tabular () const |
bool | acceptEdit (QdbtBaseCell *=0) |
bool | cancelEdit (QdbtBaseCell *=0) |
This class simplifies the interaction of cell editors with the remaining tabular components, e.g. the cells and the cell matrix.
|
for completeness |
|
Constructs an editor base object interacting with the tabular p |
|
Tries to accept the current edit session. Return
If the table cell |
|
Tries to cancel the current edit session. Return
If the table cell |
|
Returns the cell associated to the least recently set context. |
|
Determines the context of an edit session and returns the column, that was least recently set using setContext() |
|
Determines the context of an edit session and returns the row, that was least recently set using setContext() |
|
Store the current editing context, so that the cell may be identified afterwards. |
|
Answers the tabular, which was set when creating this editor base object |