|
|
|
@ -46,11 +46,15 @@ namespace Private
@@ -46,11 +46,15 @@ namespace Private
|
|
|
|
|
class FileSystemPathEdit : public QWidget |
|
|
|
|
{ |
|
|
|
|
Q_OBJECT |
|
|
|
|
Q_DISABLE_COPY_MOVE(FileSystemPathEdit) |
|
|
|
|
|
|
|
|
|
Q_PROPERTY(Mode mode READ mode WRITE setMode) |
|
|
|
|
Q_PROPERTY(Path selectedPath READ selectedPath WRITE setSelectedPath NOTIFY selectedPathChanged) |
|
|
|
|
Q_PROPERTY(QString fileNameFilter READ fileNameFilter WRITE setFileNameFilter) |
|
|
|
|
Q_PROPERTY(QString dialogCaption READ dialogCaption WRITE setDialogCaption) |
|
|
|
|
|
|
|
|
|
class FileSystemPathEditPrivate; |
|
|
|
|
|
|
|
|
|
public: |
|
|
|
|
~FileSystemPathEdit() override; |
|
|
|
|
|
|
|
|
@ -100,13 +104,13 @@ protected slots:
@@ -100,13 +104,13 @@ protected slots:
|
|
|
|
|
void onPathEdited(); |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
Q_DECLARE_PRIVATE(FileSystemPathEdit) |
|
|
|
|
|
|
|
|
|
virtual QString editWidgetText() const = 0; |
|
|
|
|
virtual void setEditWidgetText(const QString &text) = 0; |
|
|
|
|
|
|
|
|
|
QWidget *editWidgetImpl() const; |
|
|
|
|
Q_DISABLE_COPY_MOVE(FileSystemPathEdit) |
|
|
|
|
class FileSystemPathEditPrivate; |
|
|
|
|
Q_DECLARE_PRIVATE(FileSystemPathEdit) |
|
|
|
|
|
|
|
|
|
FileSystemPathEditPrivate *d_ptr; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|