16#ifndef QGSTABLEWIDGETBASE_H
17#define QGSTABLEWIDGETBASE_H
19#include "ui_qgstablewidgetuibase.h"
20#include <QAbstractTableModel>
58 virtual void setReadOnly(
bool readOnly );
66 void init( QAbstractTableModel *model );
80 void addButton_clicked();
85 void removeButton_clicked();
90 void onSelectionChanged();
94 bool mReadOnly =
false;
96 friend class TestQgsKeyValueWidget;
97 friend class TestQgsListWidget;