3 #ifndef __table_editor_hpp
4 #define __table_editor_hpp
7 #include <hds_widgets/table_doc.hpp>
11 class QTableWidgetItem;
19 class TableEditorDelegate;
30 TableEditor(QWidget * parent = 0, Qt::WindowFlags f = 0);
49 void keyPressEvent(QKeyEvent *event);
53 virtual void tableContextMenuRequested(QPoint);
54 virtual void insertRow();
55 virtual void insertRows();
56 virtual void removeSelectedRows();
57 virtual void selectAllRows();
58 virtual void unselectAllRows();
78 QSpinBox *mp_rows_num_spinbox;
80 QAction *mp_insert_row_action;
81 QAction *mp_insert_rows_action;
82 QAction *mp_remove_selected_rows_action;
83 QAction *mp_select_all_rows_action;
84 QAction *mp_unselect_all_rows_action;
Definition: table_doc.hpp:12
QTableWidgetItem * get_table_wid_item(const TableDoc::AbstractItem &doc_item)
Definition: table_editor.hpp:23
Definition: table_doc.hpp:27
Definition: dialog.hpp:15
void attachDoc(TableDoc &doc)
Definition: table_editor_delegate.hpp:15
TableEditor(QWidget *parent=0, Qt::WindowFlags f=0)