QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
gui
qgsdetaileditemwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdetaileditemwidget.h - A rich QItemWidget subclass
3
-------------------
4
begin : Sat May 17 2008
5
copyright : (C) 2008 Tim Sutton
6
email :
[email protected]
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
#ifndef QGSDETAILEDITEMWIDGET_H
18
#define QGSDETAILEDITEMWIDGET_H
19
20
#include "ui_qgsdetaileditemwidgetbase.h"
21
22
#include "qgis_gui.h"
23
#include "
qgis_sip.h
"
24
#include "
qgsdetaileditemdata.h
"
25
32
class
GUI_EXPORT
QgsDetailedItemWidget
:
public
QWidget,
private
Ui::QgsDetailedItemWidgetBase
33
{
34
Q_OBJECT
35
public
:
37
QgsDetailedItemWidget
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
38
void
setData
(
const
QgsDetailedItemData
&data );
39
void
setChecked
(
bool
flag );
40
41
private
:
42
QgsDetailedItemData
mData;
43
};
44
45
#endif
//QGSDETAILEDITEMWIDGET_H
QgsDetailedItemData
The data only representation of a QgsDetailedItemWidget, designed to be used in custom views.
Definition
qgsdetaileditemdata.h:33
QgsDetailedItemWidget::QgsDetailedItemWidget
QgsDetailedItemWidget(QWidget *parent=nullptr)
Constructor for QgsDetailedItemWidget.
Definition
qgsdetaileditemwidget.cpp:22
QgsDetailedItemWidget::setData
void setData(const QgsDetailedItemData &data)
Definition
qgsdetaileditemwidget.cpp:29
QgsDetailedItemWidget::setChecked
void setChecked(bool flag)
Definition
qgsdetaileditemwidget.cpp:39
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsdetaileditemdata.h
Generated on
for QGIS API Documentation by
1.15.0