QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
gui
devtools
qgsdevtoolwidgetfactory.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdevtoolwidgetfactory.cpp
3
--------------------------
4
Date : March 2020
5
Copyright : (C) 2020 Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
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
#include "
qgsdevtoolwidgetfactory.h
"
17
18
QgsDevToolWidgetFactory::QgsDevToolWidgetFactory
(
const
QString &
title
,
const
QIcon &
icon
)
19
: mIcon(
icon
)
20
, mTitle(
title
)
21
{
22
}
QgsDevToolWidgetFactory::title
virtual QString title() const
Returns the (translated) title of the tool.
Definition
qgsdevtoolwidgetfactory.h:60
QgsDevToolWidgetFactory::QgsDevToolWidgetFactory
QgsDevToolWidgetFactory(const QString &title=QString(), const QIcon &icon=QIcon())
Constructor for a QgsDevToolWidgetFactory with the specified title and icon.
Definition
qgsdevtoolwidgetfactory.cpp:18
QgsDevToolWidgetFactory::icon
virtual QIcon icon() const
Returns the icon that will be shown in the tool in the panel.
Definition
qgsdevtoolwidgetfactory.h:48
qgsdevtoolwidgetfactory.h
Generated on
for QGIS API Documentation by
1.15.0