24 enum FileMode { ExistingFile, Directory };
26 explicit EditorFileDialog(
const QModelIndex& index,
enum FileMode mode, QWidget* parent = 0,
const QString & caption = QString(),
const QString & directory = QString(),
const QString & filter = QString());
28 void setOption(QFileDialog::Option option,
bool on =
true);
29 virtual void focusInEvent(QFocusEvent *event);
30 virtual void focusOutEvent(QFocusEvent *event);
31 virtual bool eventFilter(QObject *obj, QEvent *event);
34 void acceptEdit(
const QModelIndex& index);
40 void resizeEvent(QResizeEvent *);
41 QPushButton* file_dialog_button_;
42 const QModelIndex index_;
47 QFileDialog::Options options_;