16 #ifndef QGSPROCESSINGOUTPUTDESTINATIONWIDGET_H
17 #define QGSPROCESSINGOUTPUTDESTINATIONWIDGET_H
21 #include "ui_qgsprocessingdestinationwidgetbase.h"
37 class GUI_EXPORT QgsProcessingLayerOutputDestinationWidget :
public QWidget,
private Ui::QgsProcessingDestinationWidgetBase
51 bool outputIsSkipped()
const;
56 void setValue(
const QVariant &value );
61 QVariant value()
const;
86 void addOpenAfterRunningOption();
91 bool openAfterRunning()
const;
98 void skipOutputChanged(
bool skipped );
103 void destinationChanged();
106 void dragEnterEvent( QDragEnterEvent *event )
override;
107 void dragLeaveEvent( QDragLeaveEvent *event )
override;
108 void dropEvent( QDropEvent *event )
override;
112 void menuAboutToShow();
114 void saveToTemporary();
115 void selectDirectory();
117 void saveToGeopackage();
118 void saveToDatabase();
119 void appendToLayer();
120 void selectEncoding();
121 void textChanged(
const QString &text );
125 void setAppendDestination(
const QString &uri,
const QgsFields &destFields );
127 QString mimeDataToPath(
const QMimeData *data );
131 QMenu *mMenu =
nullptr;
133 bool mUseTemporary =
true;
134 bool mDefaultSelection =
false;
137 QCheckBox *mOpenAfterRunningCheck =
nullptr;
140 bool mUseRemapping =
false;
144 friend class TestProcessingGui;
149 #endif // QGSPROCESSINGOUTPUTDESTINATIONWIDGET_H