QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
qgsmetadataurlitemdelegate.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsmetadataurlitemdelegate.h
3 ------------------
4 begin : June 21, 2021
5 copyright : (C) 2021 by Etienne Trimaille
6 email : etrimaille at 3liz dot com
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
18#ifndef QGSMETADATAURLITEMDELEGATE_H
19#define QGSMETADATAURLITEMDELEGATE_H
20
21#include <QStyledItemDelegate>
22
23#define SIP_NO_FILE
24
26
33class MetadataUrlItemDelegate : public QStyledItemDelegate
34{
35
36 Q_OBJECT
37
38 public:
39
44 explicit MetadataUrlItemDelegate( QObject *parent = nullptr );
45
49 QWidget *createEditor( QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index ) const override;
50};
51
52
54
55#endif // QGSMETADATAURLITEMDELEGATE_H