16 #ifndef QGSFILECONTENTSOURCELINEEDIT_H
17 #define QGSFILECONTENTSOURCELINEEDIT_H
43 Q_PROPERTY( QString source READ source WRITE setSource NOTIFY sourceChanged )
70 QString source()
const;
76 void setLastPathSettingsKey(
const QString &key );
88 void setPropertyOverrideToolButtonVisible(
bool visible );
97 void setSource(
const QString &source );
114 virtual QString fileFilter()
const = 0;
119 virtual QString selectFileTitle()
const = 0;
124 virtual QString fileFromUrlTitle()
const = 0;
129 virtual QString fileFromUrlText()
const = 0;
134 virtual QString embedFileTitle()
const = 0;
139 virtual QString extractFileTitle()
const = 0;
144 virtual QString defaultSettingsKey()
const = 0;
154 void mFileLineEdit_textEdited(
const QString &text );
164 Mode mMode = ModeFile;
165 bool mPropertyOverrideButtonVisible =
false;
168 QToolButton *mFileToolButton =
nullptr;
170 QString mLastPathKey;
174 QString defaultPath()
const;
175 QString settingsKey()
const;
205 QString fileFilter()
const override;
207 QString selectFileTitle()
const override;
208 QString fileFromUrlTitle()
const override;
209 QString fileFromUrlText()
const override;
210 QString embedFileTitle()
const override;
211 QString extractFileTitle()
const override;
212 QString defaultSettingsKey()
const override;
243 QString fileFilter()
const override;
245 QString selectFileTitle()
const override;
246 QString fileFromUrlTitle()
const override;
247 QString fileFromUrlText()
const override;
248 QString embedFileTitle()
const override;
249 QString extractFileTitle()
const override;
250 QString defaultSettingsKey()
const override;
255 #endif // QGSFILECONTENTSOURCELINEEDIT_H