QGIS API Documentation
3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
src
gui
qgstablewidgetbase.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgstablewidgetbase.h
3
--------------------------------------
4
Date : 09.2016
5
Copyright : (C) 2016 Patrick Valsecchi
6
Email :
[email protected]
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSTABLEWIDGETBASE_H
17
#define QGSTABLEWIDGETBASE_H
18
19
#include "ui_qgstablewidgetuibase.h"
20
#include <QAbstractTableModel>
21
#include <QVariant>
22
#include "qgis_gui.h"
23
32
class
GUI_EXPORT
QgsTableWidgetBase
:
public
QWidget,
protected
Ui::QgsTableWidgetUiBase
33
{
34
Q_OBJECT
35
public
:
36
40
explicit
QgsTableWidgetBase
( QWidget *parent );
41
42
protected
:
43
48
void
init( QAbstractTableModel *model );
49
50
signals:
51
55
void
valueChanged
();
56
57
private
slots:
58
62
void
addButton_clicked();
63
67
void
removeButton_clicked();
68
72
void
onSelectionChanged();
73
74
friend
class
TestQgsKeyValueWidget;
75
friend
class
TestQgsListWidget;
76
77
};
78
79
80
#endif
// QGSTABLEWIDGETBASE_H
QgsTableWidgetBase
Base widget allowing to edit a collection, using a table.
Definition
qgstablewidgetbase.h:33
QgsTableWidgetBase::valueChanged
void valueChanged()
Emitted each time a key or a value is changed.
Generated on Mon Feb 26 2024 10:02:44 for QGIS API Documentation by
1.9.8