UNIVERS
15.3
UNIVERS base processing software API
|
#include <table_editor.hpp>
Public Member Functions | |
TableEditor (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~TableEditor () |
void | attachDoc (TableDoc &doc) |
void | detachDoc () |
Protected Member Functions | |
QTableWidgetItem * | get_table_wid_item (const TableDoc::AbstractItem &doc_item) |
void | keyPressEvent (QKeyEvent *event) |
Provides table editing facilities.
hds::TableEditor::TableEditor | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Default constructor.
|
virtual |
Destroy table editor.
void hds::TableEditor::attachDoc | ( | TableDoc & | doc | ) |
Attach table document for show/edit. Document object not copied inside,
just store a pointer.
void hds::TableEditor::detachDoc | ( | ) |
Detach current document.
|
protected |
Convert doc item to table item.