QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
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 Q_OBJECT
36
37 public:
42 explicit MetadataUrlItemDelegate( QObject *parent = nullptr );
43
47 QWidget *createEditor( QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index ) const override;
48};
49
50
52
53#endif // QGSMETADATAURLITEMDELEGATE_H