16 #ifndef QGSFILECONTENTSOURCELINEEDIT_H
17 #define QGSFILECONTENTSOURCELINEEDIT_H
47 Q_PROPERTY( QString source READ source WRITE setSource NOTIFY sourceChanged )
74 QString source()
const;
80 void setLastPathSettingsKey(
const QString &key );
89 void setSource(
const QString &source );
96 void sourceChanged(
const QString &source );
106 virtual QString fileFilter()
const = 0;
111 virtual QString selectFileTitle()
const = 0;
116 virtual QString fileFromUrlTitle()
const = 0;
121 virtual QString fileFromUrlText()
const = 0;
126 virtual QString embedFileTitle()
const = 0;
131 virtual QString extractFileTitle()
const = 0;
136 virtual QString defaultSettingsKey()
const = 0;
146 void mFileLineEdit_textEdited(
const QString &text );
156 Mode mMode = ModeFile;
159 QToolButton *mFileToolButton =
nullptr;
160 QString mLastPathKey;
164 QString defaultPath()
const;
165 QString settingsKey()
const;
195 QString fileFilter()
const override;
197 QString selectFileTitle()
const override;
198 QString fileFromUrlTitle()
const override;
199 QString fileFromUrlText()
const override;
200 QString embedFileTitle()
const override;
201 QString extractFileTitle()
const override;
202 QString defaultSettingsKey()
const override;
233 QString fileFilter()
const override;
235 QString selectFileTitle()
const override;
236 QString fileFromUrlTitle()
const override;
237 QString fileFromUrlText()
const override;
238 QString embedFileTitle()
const override;
239 QString extractFileTitle()
const override;
240 QString defaultSettingsKey()
const override;
245 #endif // QGSFILECONTENTSOURCELINEEDIT_H