mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Sip updates for qgssourceselectprovider
This commit is contained in:
parent
fb125056e1
commit
41eccd1bf9
@ -12,7 +12,7 @@
|
|||||||
class QgsSourceSelectProvider
|
class QgsSourceSelectProvider
|
||||||
{
|
{
|
||||||
%Docstring
|
%Docstring
|
||||||
.. seealso:: QgsDataSourceManagerDialog
|
This is the interface for those who want to add entries to the QgsDataSourceManagerDialog
|
||||||
|
|
||||||
.. versionadded:: 3.0
|
.. versionadded:: 3.0
|
||||||
%End
|
%End
|
||||||
@ -45,10 +45,17 @@ Text for the menu item entry, it will be visible to the user so make sure it's t
|
|||||||
:rtype: str
|
:rtype: str
|
||||||
%End
|
%End
|
||||||
|
|
||||||
virtual QIcon icon() const = 0 /Factory/;
|
virtual QString toolTip() const;
|
||||||
|
%Docstring
|
||||||
|
Text for the tooltip menu item entry, it will be visible to the user so make sure it's translatable
|
||||||
|
|
||||||
|
The default implementation returns an empty string.
|
||||||
|
:rtype: str
|
||||||
|
%End
|
||||||
|
|
||||||
|
virtual QIcon icon() const = 0;
|
||||||
%Docstring
|
%Docstring
|
||||||
Creates a new instance of an QIcon for the menu item entry
|
Creates a new instance of an QIcon for the menu item entry
|
||||||
Caller takes responsibility of deleting created.
|
|
||||||
:rtype: QIcon
|
:rtype: QIcon
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user