26 #ifndef QTXPATHDIALOG_H
27 #define QTXPATHDIALOG_H
39 #pragma warning( disable:4251 )
48 const int = Standard, Qt::WindowFlags = 0 );
52 const bool =
false,
const int = Standard, Qt::WindowFlags = 0 );
55 QString fileName()
const;
56 void setFileName(
const QString&,
const bool =
false );
58 QString filter()
const;
59 void setFilter(
const QString& );
62 void fileNameChanged( QString );
72 void onReturnPressed();
73 void onTextChanged(
const QString& );
78 virtual void fileNameChanged(
int, QString );
81 QString fileName(
const int )
const;
82 void setFileName(
const int,
const QString&,
const bool =
false );
84 QString filter(
const int )
const;
85 void setFilter(
const int,
const QString& );
88 QLineEdit* fileEntry(
const int,
int& )
const;
89 int createFileEntry(
const QString&,
const int,
90 const QString& = QString(),
const int = -1 );
92 int defaultEntry()
const;
93 void setDefaultEntry(
const int );
97 void updateVisibility();
98 QStringList prepareFilters(
const QString& )
const;
99 bool hasVisibleChildren(
QWidget* )
const;
100 QStringList filterWildCards(
const QString& )
const;
101 QString autoExtension(
const QString&,
const QString& = QString() )
const;
104 enum { OpenFile,
SaveFile, OpenDir, SaveDir, NewDir };
119 #pragma warning( default:4251 )