Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processing] Port DestinationSelectionPanel to c++
This is basically a 1:1 port (+some fixes relating to incorrect signal emissions and many more tests)
- Loading branch information
1 parent
2b88519
commit 517aa96
Showing
19 changed files
with
1,385 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
python/gui/auto_generated/processing/qgsprocessingoutputdestinationwidget.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/processing/qgsprocessingoutputdestinationwidget.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsProcessingLayerOutputDestinationWidget : QWidget | ||
{ | ||
%Docstring | ||
A widget which allows users to select the destination path for an output style Processing parameter. | ||
|
||
.. note:: | ||
|
||
Not stable API | ||
|
||
.. versionadded:: 3.14 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsprocessingoutputdestinationwidget.h" | ||
%End | ||
public: | ||
|
||
QgsProcessingLayerOutputDestinationWidget( const QgsProcessingDestinationParameter *parameter, bool defaultSelection, QWidget *parent /TransferThis/ = 0 ); | ||
%Docstring | ||
Constructor for QgsProcessingLayerOutputDestinationWidget, associated with the specified ``parameter``. | ||
%End | ||
|
||
bool outputIsSkipped() const; | ||
%Docstring | ||
Returns ``True`` if the output is set to be skipped. | ||
%End | ||
|
||
void setValue( const QVariant &value ); | ||
%Docstring | ||
Sets the ``value`` to show in the widget. | ||
%End | ||
|
||
QVariant value() const; | ||
%Docstring | ||
Returns the widgets current value. | ||
%End | ||
|
||
void setWidgetContext( const QgsProcessingParameterWidgetContext &context ); | ||
%Docstring | ||
Sets the ``context`` in which the widget is shown, e.g., the | ||
parent model algorithm, a linked map canvas, and other relevant information which allows the widget | ||
to fine-tune its behavior. | ||
%End | ||
|
||
signals: | ||
|
||
void skipOutputChanged( bool skipped ); | ||
%Docstring | ||
Emitted whenever the "skip output" option is toggled in the widget. | ||
%End | ||
|
||
void destinationChanged(); | ||
%Docstring | ||
Emitted whenever the destination value is changed in the widget. | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/processing/qgsprocessingoutputdestinationwidget.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.