Qt 4.8
|
#include <qfiledialog_p.h>
Classes | |
struct | QtMacFilterName |
struct | QtMacNavFilterInfo |
Public Functions | |
void | _q_autoCompleteFileName (const QString &) |
void | _q_createDirectory () |
Creates a new directory, first asking the user for a suitable name. More... | |
void | _q_currentChanged (const QModelIndex &index) |
void | _q_deleteCurrent () |
Deletes the currently selected item in the dialog. More... | |
void | _q_enterDirectory (const QModelIndex &index) |
This is called when the user double clicks on a file with the corresponding model item index. More... | |
void | _q_fileRenamed (const QString &path, const QString oldName, const QString newName) |
void | _q_goHome () |
void | _q_goToDirectory (const QString &) |
Changes the file dialog's current directory to the one specified by path. More... | |
void | _q_goToUrl (const QUrl &url) |
void | _q_macRunNativeAppModalPanel () |
void | _q_navigateBackward () |
Navigates to the last directory viewed in the dialog. More... | |
void | _q_navigateForward () |
Navigates to the last directory viewed in the dialog. More... | |
void | _q_navigateToParent () |
Navigates to the parent directory of the currently displayed directory in the dialog. More... | |
void | _q_pathChanged (const QString &) |
void | _q_renameCurrent () |
void | _q_rowsInserted (const QModelIndex &parent) |
When parent is root and rows have been inserted when none was there before then select the first one. More... | |
void | _q_selectionChanged () |
This is called when the model index corresponding to the current file is changed from index to current. More... | |
void | _q_showContextMenu (const QPoint &position) |
void | _q_showDetailsView () |
void | _q_showHeader (QAction *) |
void | _q_showHidden () |
Includes hidden files and directories in the items displayed in the dialog. More... | |
void | _q_showListView () |
void | _q_updateOkButton () |
void | _q_useNameFilter (int index) |
Sets the current name filter to be nameFilter and update the qFileDialogUi->fileNameEdit when in AcceptSave mode with the new extension. More... | |
QStringList | addDefaultSuffixToFiles (const QStringList filesToFix) const |
QString | basename (const QString &path) const |
bool | canBeNativeDialog () |
void | createMenuActions () |
Create actions which will be used in the right click. More... | |
void | createNavServicesDialog () |
void | createNSOpenSavePanelDelegate () |
void | createToolButtons () |
void | createWidgets () |
QAbstractItemView * | currentView () const |
void | deleteNativeDialog_sys () |
QDialog::DialogCode | dialogResultCode_sys () |
QString | directory_sys () const |
void | emitFilesSelected (const QStringList &files) |
QDir::Filters | filterForMode (QDir::Filters filters) const |
QString | getEnvironmentVariable (const QString &string) |
bool | hideCarbonNavServicesDialog () |
void | init (const QString &directory=QString(), const QString &nameFilter=QString(), const QString &caption=QString()) |
bool | itemViewKeyboardEvent (QKeyEvent *event) |
QLineEdit * | lineEdit () const |
void | mac_nativeDialogModalHelp () |
QModelIndex | mapFromSource (const QModelIndex &index) const |
QModelIndex | mapToSource (const QModelIndex &index) const |
int | maxNameLength (const QString &path) |
QFileDialogPrivate () | |
void | QNSOpenSavePanelDelegate_directoryEntered (const QString &newDir) |
void | QNSOpenSavePanelDelegate_filterSelected (int menuIndex) |
void | QNSOpenSavePanelDelegate_panelClosed (bool accepted) |
void | QNSOpenSavePanelDelegate_selectionChanged (const QString &newPath) |
bool | removeDirectory (const QString &path) |
void | retranslateStrings () |
void | retranslateWindowTitle () |
QModelIndex | rootIndex () const |
QString | rootPath () const |
QModelIndex | select (const QModelIndex &index) const |
QStringList | selectedFiles_sys () const |
QString | selectedNameFilter_sys () const |
void | selectFile_sys (const QString &filename) |
void | selectNameFilter_sys (const QString &filter) |
void | setDirectory_sys (const QString &directory) |
void | setFilter_sys () |
void | setLastVisitedDirectory (const QString &dir) |
void | setNameFilters_sys (const QStringList &filters) |
void | setRootIndex (const QModelIndex &index) const |
bool | setVisible_sys (bool visible) |
bool | showCarbonNavServicesDialog () |
QStringList | typedFiles () const |
~QFileDialogPrivate () | |
Public Functions inherited from QDialogPrivate | |
void | hideDefault () |
Hides the default button indicator. More... | |
QDialogPrivate () | |
void | resetModalitySetByOpen () |
void | setDefault (QPushButton *) |
This function is called by the push button pushButton when it becomes the default button. More... | |
void | setMainDefault (QPushButton *) |
This function sets the default default push button to pushButton. More... | |
Public Functions inherited from QWidgetPrivate | |
void | _q_showIfNotHidden () |
virtual void | aboutToDestroy () |
void | activateChildLayoutsRecursively () |
QSize | adjustedSize () const |
void | adjustQuitOnCloseAttribute () |
QInputContext * | assignedInputContext () const |
QPainter * | beginSharedPainter () |
QWidget * | childAt_helper (const QPoint &, bool) const |
QWidget * | childAtRecursiveHelper (const QPoint &p, bool, bool includeFrame=false) const |
QRect | clipRect () const |
QRegion | clipRegion () const |
void | clipToEffectiveMask (QRegion ®ion) const |
bool | close_helper (CloseMode mode) |
void | create_sys (WId window, bool initializeWindow, bool destroyOldWindow) |
QWindowSurface * | createDefaultWindowSurface () |
QWindowSurface * | createDefaultWindowSurface_sys () |
void | createExtra () |
Creates the widget extra data. More... | |
void | createRecursively () |
void | createSysExtra () |
void | createTLExtra () |
void | createTLSysExtra () |
void | createWinId (WId id=0) |
void | deactivateWidgetCleanup () |
void | deleteExtra () |
Deletes the widget extra data. More... | |
void | deleteSysExtra () |
void | deleteTLSysExtra () |
void | drawWidget (QPaintDevice *pdev, const QRegion &rgn, const QPoint &offset, int flags, QPainter *sharedPainter=0, QWidgetBackingStore *backingStore=0) |
QWidget * | effectiveFocusWidget () |
QRect | effectiveRectFor (const QRect &rect) const |
bool | endSharedPainter () |
void | enforceNativeChildren () |
QWExtra * | extraData () const |
QRect | frameStrut () const |
void | getLayoutItemMargins (int *left, int *top, int *right, int *bottom) const |
const QRegion & | getOpaqueChildren () const |
void | handleSoftwareInputPanel (Qt::MouseButton button, bool clickCausedFocus) |
virtual bool | hasHeightForWidth () const |
void | hide_helper () |
void | hide_sys () |
Platform-specific part of QWidget::hide(). More... | |
void | hideChildren (bool spontaneous) |
void | inheritStyle () |
void | init (QWidget *desktopWidget, Qt::WindowFlags f) |
QInputContext * | inputContext () const |
void | invalidateBuffer (const QRegion &) |
Invalidates the rgn (in widget's coordinates) of the backing store, i.e. More... | |
void | invalidateBuffer (const QRect &) |
This function is equivalent to calling invalidateBuffer(QRegion(rect), ...), but is more efficient as it eliminates QRegion operations/allocations and can use the rect more precisely for additional cut-offs. More... | |
void | invalidateBuffer_resizeHelper (const QPoint &oldPos, const QSize &oldSize) |
Invalidates the buffer when the widget is resized. More... | |
void | invalidateGraphicsEffectsRecursively () |
bool | isAboutToShow () const |
bool | isBackgroundInherited () const |
bool | isOverlapped (const QRect &) const |
void | lower_sys () |
QPoint | mapFromGlobal (const QPoint &pos) const |
QPoint | mapToGlobal (const QPoint &pos) const |
QWidgetBackingStore * | maybeBackingStore () const |
QTLWExtra * | maybeTopData () const |
void | moveRect (const QRect &, int dx, int dy) |
bool | nativeChildrenForced () const |
QFont | naturalWidgetFont (uint inheritedMask) const |
QPalette | naturalWidgetPalette (uint inheritedMask) const |
Returns the palette that the widget w inherits from its ancestors and QApplication::palette. More... | |
void | paintBackground (QPainter *, const QRegion &, int flags=DrawAsRoot) const |
bool | paintOnScreen () const |
void | paintSiblingsRecursive (QPaintDevice *pdev, const QObjectList &children, int index, const QRegion &rgn, const QPoint &offset, int flags, QPainter *sharedPainter, QWidgetBackingStore *backingStore) |
bool | pointInsideRectAndMask (const QPoint &) const |
QRegion | prepareToRender (const QRegion ®ion, QWidget::RenderFlags renderFlags) |
void | propagatePaletteChange () |
Propagate this widget's palette to all children, except style sheet widgets, and windows that don't enable window propagation (palettes don't normally propagate to windows). More... | |
QWidgetPrivate (int version=QObjectPrivateVersion) | |
void | raise_sys () |
QPaintDevice * | redirected (QPoint *offset) const |
void | registerDropSite (bool) |
void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags, bool readyToRender) |
void | render_helper (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
void | repaint_sys (const QRegion &rgn) |
void | reparentFocusWidgets (QWidget *oldtlw) |
void | resolveFont () |
Determine which font is implicitly imposed on this widget by its ancestors and QApplication::font, resolve this against its own font (attributes from the implicit font are copied over). More... | |
void | resolveLayoutDirection () |
void | resolveLocale () |
void | resolvePalette () |
Determine which palette is inherited from this widget's ancestors and QApplication::palette, resolve this against this widget's palette (attributes from the inherited palette are copied over this widget's palette). More... | |
void | restoreRedirected () |
void | scroll_sys (int dx, int dy) |
void | scroll_sys (int dx, int dy, const QRect &r) |
void | scrollChildren (int dx, int dy) |
void | scrollRect (const QRect &, int dx, int dy) |
void | sendPendingMoveAndResizeEvents (bool recursive=false, bool disableUpdates=false) |
void | sendStartupMessage (const char *message) const |
Platform-specific part of QWidget::show(). More... | |
void | setConstraints_sys () |
void | setCursor_sys (const QCursor &cursor) |
void | setDirtyOpaqueRegion () |
void | setEnabled_helper (bool) |
void | setFocus_sys () |
void | setFont_helper (const QFont &font) |
void | setGeometry_sys (int, int, int, int, bool) |
void | setLayoutDirection_helper (Qt::LayoutDirection) |
void | setLayoutItemMargins (int left, int top, int right, int bottom) |
void | setLayoutItemMargins (QStyle::SubElement element, const QStyleOption *opt=0) |
void | setLocale_helper (const QLocale &l, bool forceUpdate=false) |
void | setMask_sys (const QRegion &) |
bool | setMaximumSize_helper (int &maxw, int &maxh) |
bool | setMinimumSize_helper (int &minw, int &minh) |
void | setModal_sys () |
void | setNetWmWindowTypes () |
void | setOpaque (bool opaque) |
void | setPalette_helper (const QPalette &) |
void | setParent_sys (QWidget *parent, Qt::WindowFlags) |
void | setRedirected (QPaintDevice *replacement, const QPoint &offset) |
void | setSharedPainter (QPainter *painter) |
void | setStyle_helper (QStyle *newStyle, bool propagate, bool metalHack=false) |
void | setUpdatesEnabled_helper (bool) |
void | setWindowFilePath_helper (const QString &filePath) |
void | setWindowIcon_helper () |
void | setWindowIcon_sys (bool forceReset=false) |
void | setWindowIconText_helper (const QString &cap) |
void | setWindowIconText_sys (const QString &cap) |
void | setWindowOpacity_sys (qreal opacity) |
void | setWindowRole () |
void | setWindowTitle_helper (const QString &cap) |
void | setWindowTitle_sys (const QString &cap) |
void | setWinId (WId) |
QPainter * | sharedPainter () const |
void | show_helper () |
void | show_recursive () |
Makes the widget visible in the isVisible() meaning of the word. More... | |
void | show_sys () |
Platform-specific part of QWidget::show(). More... | |
void | showChildren (bool spontaneous) |
void | stackUnder_sys (QWidget *) |
void | subtractOpaqueChildren (QRegion &rgn, const QRect &clipRect) const |
void | subtractOpaqueSiblings (QRegion &source, bool *hasDirtySiblingsAbove=0, bool alsoNonOpaque=false) const |
void | syncBackingStore () |
void | syncBackingStore (const QRegion ®ion) |
QTLWExtra * | topData () const |
void | unsetCursor_sys () |
void | updateFont (const QFont &) |
Assign font to this widget, and propagate it to all children, except style sheet widgets (handled differently) and windows that don't enable window propagation. More... | |
void | updateFrameStrut () |
Computes the frame rectangle when needed. More... | |
void | updateGeometry_helper (bool forceUpdate) |
void | updateIsOpaque () |
void | updateIsTranslucent () |
void | updateSystemBackground () |
void | updateX11AcceptFocus () |
void | x11UpdateIsOpaque () |
~QWidgetPrivate () | |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static QString | initialSelection (const QString &path) |
static void | qt_mac_filedialog_event_proc (const NavEventCallbackMessage msg, NavCBRecPtr p, NavCallBackUserData data) |
static Boolean | qt_mac_filedialog_filter_proc (AEDesc *theItem, void *info, void *data, NavFilterModes) |
static QString | toInternal (const QString &path) |
static QString | workingDirectory (const QString &path) |
Static Public Functions inherited from QWidgetPrivate | |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=0) |
static QGraphicsProxyWidget * | nearestGraphicsProxyWidget (const QWidget *origin) |
Finds the nearest widget embedded in a graphics proxy widget along the chain formed by this widget and its ancestors. More... | |
static int | pointToRect (const QPoint &p, const QRect &r) |
static QRect | screenGeometry (const QWidget *widget) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Additional Inherited Members | |
Public Types inherited from QWidgetPrivate | |
enum | CloseMode { CloseNoEvent, CloseWithEvent, CloseWithSpontaneousEvent } |
enum | Direction { DirectionNorth = 0x01, DirectionEast = 0x10, DirectionSouth = 0x02, DirectionWest = 0x20 } |
enum | DrawWidgetFlags { DrawAsRoot = 0x01, DrawPaintOnScreen = 0x02, DrawRecursive = 0x04, DrawInvisible = 0x08, DontSubtractOpaqueChildren = 0x10, DontSetCompositionMode = 0x20, DontDrawOpaqueChildren = 0x40, DontDrawNativeChildren = 0x80 } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Static Public Variables inherited from QWidgetPrivate | |
static QWidgetSet * | allWidgets = 0 |
static int | instanceCounter = 0 |
static QWidget * | keyboardGrabber = 0 |
static QWidgetMapper * | mapper = 0 |
static int | maxInstances = 0 |
static QWidget * | mouseGrabber = 0 |
Definition at line 112 of file qfiledialog_p.h.
QFileDialogPrivate::QFileDialogPrivate | ( | ) |
Definition at line 554 of file qfiledialog.cpp.
QFileDialogPrivate::~QFileDialogPrivate | ( | ) |
Definition at line 582 of file qfiledialog.cpp.
void QFileDialogPrivate::_q_autoCompleteFileName | ( | const QString & | text | ) |
Definition at line 2982 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_createDirectory | ( | ) |
Creates a new directory, first asking the user for a suitable name.
Definition at line 2817 of file qfiledialog.cpp.
Referenced by createMenuActions(), and createToolButtons().
void QFileDialogPrivate::_q_currentChanged | ( | const QModelIndex & | index | ) |
Definition at line 3110 of file qfiledialog.cpp.
Referenced by createWidgets(), and QFileDialog::setProxyModel().
void QFileDialogPrivate::_q_deleteCurrent | ( | ) |
Deletes the currently selected item in the dialog.
Definition at line 2930 of file qfiledialog.cpp.
Referenced by createMenuActions(), and createWidgets().
void QFileDialogPrivate::_q_enterDirectory | ( | const QModelIndex & | index | ) |
This is called when the user double clicks on a file with the corresponding model item index.
Definition at line 3125 of file qfiledialog.cpp.
Referenced by _q_goToDirectory(), _q_goToUrl(), and createWidgets().
void QFileDialogPrivate::_q_fileRenamed | ( | const QString & | path, |
const QString | oldName, | ||
const QString | newName | ||
) |
Definition at line 3306 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_goHome | ( | ) |
Definition at line 2719 of file qfiledialog.cpp.
Referenced by createMenuActions().
void QFileDialogPrivate::_q_goToDirectory | ( | const QString & | path | ) |
Changes the file dialog's current directory to the one specified by path.
Definition at line 3158 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_goToUrl | ( | const QUrl & | url | ) |
Definition at line 821 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_macRunNativeAppModalPanel | ( | ) |
Definition at line 1175 of file qfiledialog_mac.mm.
void QFileDialogPrivate::_q_navigateBackward | ( | ) |
Navigates to the last directory viewed in the dialog.
Definition at line 2757 of file qfiledialog.cpp.
Referenced by createToolButtons(), and itemViewKeyboardEvent().
void QFileDialogPrivate::_q_navigateForward | ( | ) |
Navigates to the last directory viewed in the dialog.
Definition at line 2775 of file qfiledialog.cpp.
Referenced by createToolButtons().
void QFileDialogPrivate::_q_navigateToParent | ( | ) |
Navigates to the parent directory of the currently displayed directory in the dialog.
Definition at line 2794 of file qfiledialog.cpp.
Referenced by createMenuActions(), createToolButtons(), and itemViewKeyboardEvent().
void QFileDialogPrivate::_q_pathChanged | ( | const QString & | newPath | ) |
Update history with new path, buttons, and combo
Definition at line 2730 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_renameCurrent | ( | ) |
Definition at line 2905 of file qfiledialog.cpp.
Referenced by createMenuActions().
void QFileDialogPrivate::_q_rowsInserted | ( | const QModelIndex & | parent | ) |
When parent is root and rows have been inserted when none was there before then select the first one.
Definition at line 3296 of file qfiledialog.cpp.
Referenced by createWidgets(), and QFileDialog::setProxyModel().
void QFileDialogPrivate::_q_selectionChanged | ( | ) |
This is called when the model index corresponding to the current file is changed from index to current.
Definition at line 3245 of file qfiledialog.cpp.
Referenced by createWidgets(), and QFileDialog::setProxyModel().
void QFileDialogPrivate::_q_showContextMenu | ( | const QPoint & | position | ) |
Show the context menu for the file/dir under position
Definition at line 2869 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_showDetailsView | ( | ) |
Definition at line 2854 of file qfiledialog.cpp.
Referenced by createToolButtons().
void QFileDialogPrivate::_q_showHeader | ( | QAction * | action | ) |
Definition at line 2536 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::_q_showHidden | ( | ) |
Includes hidden files and directories in the items displayed in the dialog.
Definition at line 3276 of file qfiledialog.cpp.
Referenced by createMenuActions().
void QFileDialogPrivate::_q_showListView | ( | ) |
Definition at line 2844 of file qfiledialog.cpp.
Referenced by createToolButtons().
void QFileDialogPrivate::_q_updateOkButton | ( | ) |
Definition at line 3012 of file qfiledialog.cpp.
Referenced by _q_currentChanged(), _q_selectionChanged(), createWidgets(), and init().
void QFileDialogPrivate::_q_useNameFilter | ( | int | index | ) |
Sets the current name filter to be nameFilter and update the qFileDialogUi->fileNameEdit when in AcceptSave mode with the new extension.
Definition at line 3208 of file qfiledialog.cpp.
Referenced by createWidgets().
QStringList QFileDialogPrivate::addDefaultSuffixToFiles | ( | const QStringList | filesToFix | ) | const |
Definition at line 1019 of file qfiledialog.cpp.
Referenced by typedFiles().
Definition at line 162 of file qfiledialog_p.h.
bool QFileDialogPrivate::canBeNativeDialog | ( | ) |
Definition at line 650 of file qfiledialog.cpp.
void QFileDialogPrivate::createMenuActions | ( | ) |
Create actions which will be used in the right click.
Definition at line 2678 of file qfiledialog.cpp.
Referenced by init().
void QFileDialogPrivate::createNavServicesDialog | ( | ) |
Definition at line 998 of file qfiledialog_mac.mm.
void QFileDialogPrivate::createNSOpenSavePanelDelegate | ( | ) |
Referenced by hideCarbonNavServicesDialog().
void QFileDialogPrivate::createToolButtons | ( | ) |
Create tool buttons, set properties and connections
Definition at line 2629 of file qfiledialog.cpp.
Referenced by createWidgets().
void QFileDialogPrivate::createWidgets | ( | ) |
Create the widgets, set properties and connections
Definition at line 2410 of file qfiledialog.cpp.
Referenced by init().
QAbstractItemView * QFileDialogPrivate::currentView | ( | ) | const |
Definition at line 1508 of file qfiledialog.cpp.
Referenced by _q_createDirectory(), and QFileDialogLineEdit::keyPressEvent().
void QFileDialogPrivate::deleteNativeDialog_sys | ( | ) |
Definition at line 758 of file qfiledialog_mac.mm.
Referenced by rootPath().
QDialog::DialogCode QFileDialogPrivate::dialogResultCode_sys | ( | ) |
Definition at line 1189 of file qfiledialog_mac.mm.
Referenced by rootPath().
QString QFileDialogPrivate::directory_sys | ( | ) | const |
Definition at line 630 of file qfiledialog_mac.mm.
Referenced by rootPath().
void QFileDialogPrivate::emitFilesSelected | ( | const QStringList & | files | ) |
Definition at line 642 of file qfiledialog.cpp.
|
inline |
Definition at line 170 of file qfiledialog_p.h.
Definition at line 3348 of file qfiledialog.cpp.
Referenced by _q_goToDirectory(), and _q_updateOkButton().
bool QFileDialogPrivate::hideCarbonNavServicesDialog | ( | ) |
Definition at line 1096 of file qfiledialog_mac.mm.
void QFileDialogPrivate::init | ( | const QString & | directory = QString() , |
const QString & | nameFilter = QString() , |
||
const QString & | caption = QString() |
||
) |
Create widgets, layout and set default values
Definition at line 2365 of file qfiledialog.cpp.
Definition at line 2225 of file qfiledialog.cpp.
Referenced by QFileDialog::getOpenFileName(), QFileDialog::getOpenFileNames(), QFileDialog::getSaveFileName(), and init().
bool QFileDialogPrivate::itemViewKeyboardEvent | ( | QKeyEvent * | event | ) |
For the list and tree view watch keys to goto parent and back in the history
returns true if handled
Definition at line 3321 of file qfiledialog.cpp.
Referenced by QFileDialogListView::keyPressEvent(), and QFileDialogTreeView::keyPressEvent().
QLineEdit * QFileDialogPrivate::lineEdit | ( | ) | const |
Definition at line 1516 of file qfiledialog.cpp.
Referenced by _q_autoCompleteFileName(), _q_enterDirectory(), _q_fileRenamed(), _q_selectionChanged(), _q_updateOkButton(), _q_useNameFilter(), and typedFiles().
|
virtual |
Reimplemented from QDialogPrivate.
Definition at line 1160 of file qfiledialog_mac.mm.
|
inline |
Definition at line 396 of file qfiledialog_p.h.
Referenced by _q_goToDirectory(), select(), and setRootIndex().
|
inline |
Definition at line 389 of file qfiledialog_p.h.
Referenced by _q_deleteCurrent(), _q_enterDirectory(), _q_selectionChanged(), _q_showContextMenu(), and rootIndex().
|
inline |
Definition at line 142 of file qfiledialog_p.h.
Referenced by _q_updateOkButton(), and QFileDialog::accept().
void QFileDialogPrivate::QNSOpenSavePanelDelegate_directoryEntered | ( | const QString & | newDir | ) |
Definition at line 598 of file qfiledialog_mac.mm.
void QFileDialogPrivate::QNSOpenSavePanelDelegate_filterSelected | ( | int | menuIndex | ) |
Definition at line 604 of file qfiledialog_mac.mm.
void QFileDialogPrivate::QNSOpenSavePanelDelegate_panelClosed | ( | bool | accepted | ) |
Definition at line 590 of file qfiledialog_mac.mm.
void QFileDialogPrivate::QNSOpenSavePanelDelegate_selectionChanged | ( | const QString & | newPath | ) |
Definition at line 585 of file qfiledialog_mac.mm.
|
static |
Definition at line 842 of file qfiledialog_mac.mm.
Referenced by createNavServicesDialog().
|
static |
Definition at line 795 of file qfiledialog_mac.mm.
Referenced by createNavServicesDialog().
bool QFileDialogPrivate::removeDirectory | ( | const QString & | path | ) |
Definition at line 2916 of file qfiledialog.cpp.
Referenced by _q_deleteCurrent().
void QFileDialogPrivate::retranslateStrings | ( | ) |
Definition at line 607 of file qfiledialog.cpp.
Referenced by init().
void QFileDialogPrivate::retranslateWindowTitle | ( | ) |
Definition at line 586 of file qfiledialog.cpp.
|
inline |
Definition at line 1504 of file qfiledialog.cpp.
Referenced by _q_createDirectory().
|
inline |
Definition at line 404 of file qfiledialog_p.h.
Referenced by _q_fileRenamed(), and addDefaultSuffixToFiles().
|
inline |
Definition at line 1533 of file qfiledialog.cpp.
Referenced by _q_autoCompleteFileName(), and _q_createDirectory().
QStringList QFileDialogPrivate::selectedFiles_sys | ( | ) | const |
Definition at line 682 of file qfiledialog_mac.mm.
Referenced by rootPath().
QString QFileDialogPrivate::selectedNameFilter_sys | ( | ) | const |
Definition at line 746 of file qfiledialog_mac.mm.
Referenced by rootPath().
void QFileDialogPrivate::selectFile_sys | ( | const QString & | filename | ) |
Definition at line 641 of file qfiledialog_mac.mm.
Referenced by qt_mac_filedialog_event_proc(), and rootPath().
void QFileDialogPrivate::selectNameFilter_sys | ( | const QString & | filter | ) |
Definition at line 728 of file qfiledialog_mac.mm.
Referenced by qt_mac_filedialog_event_proc(), and rootPath().
void QFileDialogPrivate::setDirectory_sys | ( | const QString & | directory | ) |
Definition at line 609 of file qfiledialog_mac.mm.
Referenced by rootPath().
void QFileDialogPrivate::setFilter_sys | ( | ) |
Definition at line 710 of file qfiledialog_mac.mm.
Referenced by rootPath().
void QFileDialogPrivate::setLastVisitedDirectory | ( | const QString & | dir | ) |
Definition at line 602 of file qfiledialog.cpp.
Referenced by init(), and qt_mac_filedialog_event_proc().
void QFileDialogPrivate::setNameFilters_sys | ( | const QStringList & | filters | ) |
Definition at line 698 of file qfiledialog_mac.mm.
Referenced by rootPath().
|
inline |
Definition at line 1523 of file qfiledialog.cpp.
bool QFileDialogPrivate::setVisible_sys | ( | bool | visible | ) |
Definition at line 773 of file qfiledialog_mac.mm.
Referenced by rootPath().
bool QFileDialogPrivate::showCarbonNavServicesDialog | ( | ) |
Definition at line 1084 of file qfiledialog_mac.mm.
Definition at line 183 of file qfiledialog_p.h.
Referenced by addDefaultSuffixToFiles(), and typedFiles().
QStringList QFileDialogPrivate::typedFiles | ( | ) | const |
Returns the text in the line edit which can be one or more file names
Definition at line 980 of file qfiledialog.cpp.
Referenced by _q_autoCompleteFileName(), and qt_mac_filedialog_event_proc().
Definition at line 2205 of file qfiledialog.cpp.
Referenced by QFileDialog::getExistingDirectory(), QFileDialog::getOpenFileName(), QFileDialog::getOpenFileNames(), QFileDialog::getSaveFileName(), and init().
QString QFileDialogPrivate::acceptLabel |
Definition at line 323 of file qfiledialog_p.h.
Referenced by _q_updateOkButton().
QFileDialog::AcceptMode QFileDialogPrivate::acceptMode |
Definition at line 242 of file qfiledialog_p.h.
Referenced by _q_updateOkButton(), _q_useNameFilter(), QFileDialog::accept(), QFileDialog::labelText(), qt_mac_filedialog_event_proc(), retranslateWindowTitle(), and QFileDialog::setLabelText().
QFSCompleter* QFileDialogPrivate::completer |
Definition at line 238 of file qfiledialog_p.h.
Referenced by createWidgets().
bool QFileDialogPrivate::confirmOverwrite |
Definition at line 243 of file qfiledialog_p.h.
Referenced by QFileDialog::accept().
QStringList QFileDialogPrivate::currentHistory |
Definition at line 247 of file qfiledialog_p.h.
Referenced by _q_navigateBackward(), _q_navigateForward(), _q_pathChanged(), and QFileDialog::history().
int QFileDialogPrivate::currentHistoryLocation |
Definition at line 248 of file qfiledialog_p.h.
Referenced by _q_navigateBackward(), _q_navigateForward(), and _q_pathChanged().
bool QFileDialogPrivate::defaultFileTypes |
Definition at line 256 of file qfiledialog_p.h.
Referenced by retranslateStrings().
QString QFileDialogPrivate::defaultSuffix |
Definition at line 244 of file qfiledialog_p.h.
Referenced by addDefaultSuffixToFiles().
QAction* QFileDialogPrivate::deleteAction |
Definition at line 251 of file qfiledialog_p.h.
Referenced by _q_showContextMenu(), createMenuActions(), and retranslateStrings().
QFileDialog::FileMode QFileDialogPrivate::fileMode |
Definition at line 241 of file qfiledialog_p.h.
Referenced by _q_enterDirectory(), _q_fileRenamed(), _q_selectionChanged(), _q_updateOkButton(), init(), QFileDialog::open(), qt_mac_filedialog_event_proc(), retranslateStrings(), and retranslateWindowTitle().
bool QFileDialogPrivate::fileNameLabelExplicitlySat |
Definition at line 257 of file qfiledialog_p.h.
Referenced by retranslateStrings().
struct QFileDialogPrivate::QtMacNavFilterInfo QFileDialogPrivate::filterInfo |
Referenced by qt_mac_filedialog_event_proc(), and qt_mac_filedialog_filter_proc().
QString QFileDialogPrivate::mCurrentLocation |
Definition at line 286 of file qfiledialog_p.h.
Referenced by qt_mac_filedialog_event_proc().
QString QFileDialogPrivate::mCurrentSelection |
Definition at line 287 of file qfiledialog_p.h.
Referenced by qt_mac_filedialog_event_proc().
QStringList QFileDialogPrivate::mCurrentSelectionList |
Definition at line 288 of file qfiledialog_p.h.
Referenced by qt_mac_filedialog_event_proc().
void* QFileDialogPrivate::mDelegate |
Definition at line 281 of file qfiledialog_p.h.
NavDialogRef QFileDialogPrivate::mDialog |
Definition at line 283 of file qfiledialog_p.h.
bool QFileDialogPrivate::mDialogClosed |
Definition at line 285 of file qfiledialog_p.h.
Referenced by qt_mac_filedialog_event_proc().
bool QFileDialogPrivate::mDialogStarted |
Definition at line 284 of file qfiledialog_p.h.
Referenced by qt_mac_filedialog_event_proc().
QByteArray QFileDialogPrivate::memberToDisconnectOnClose |
Definition at line 326 of file qfiledialog_p.h.
QFileSystemModel* QFileDialogPrivate::model |
Definition at line 235 of file qfiledialog_p.h.
Referenced by _q_autoCompleteFileName(), _q_createDirectory(), _q_deleteCurrent(), _q_enterDirectory(), _q_goToDirectory(), _q_goToUrl(), _q_navigateToParent(), _q_pathChanged(), _q_selectionChanged(), _q_updateOkButton(), _q_useNameFilter(), createWidgets(), removeDirectory(), retranslateStrings(), select(), setRootIndex(), and QFileDialogComboBox::showPopup().
QStringList QFileDialogPrivate::nameFilters |
Definition at line 258 of file qfiledialog_p.h.
Referenced by _q_useNameFilter(), QFileDialog::filters(), and qt_mac_filedialog_event_proc().
bool QFileDialogPrivate::nativeDialogInUse |
Definition at line 261 of file qfiledialog_p.h.
Referenced by canBeNativeDialog().
QAction* QFileDialogPrivate::newFolderAction |
Definition at line 253 of file qfiledialog_p.h.
Referenced by _q_showContextMenu(), createMenuActions(), and retranslateStrings().
QFileDialog::Options QFileDialogPrivate::opts |
Definition at line 329 of file qfiledialog_p.h.
Referenced by canBeNativeDialog().
QAbstractProxyModel* QFileDialogPrivate::proxyModel |
Definition at line 230 of file qfiledialog_p.h.
Referenced by _q_enterDirectory(), createWidgets(), retranslateStrings(), and QFileDialog::setProxyModel().
QScopedPointer<Ui_QFileDialog> QFileDialogPrivate::qFileDialogUi |
Definition at line 321 of file qfiledialog_p.h.
Referenced by _q_autoCompleteFileName(), _q_createDirectory(), _q_deleteCurrent(), _q_goToDirectory(), _q_pathChanged(), _q_renameCurrent(), _q_rowsInserted(), _q_selectionChanged(), _q_showContextMenu(), _q_showDetailsView(), _q_showHeader(), _q_showListView(), _q_updateOkButton(), _q_useNameFilter(), createToolButtons(), createWidgets(), currentView(), init(), lineEdit(), qt_mac_filedialog_event_proc(), retranslateStrings(), rootIndex(), select(), and setRootIndex().
Definition at line 325 of file qfiledialog_p.h.
QAction* QFileDialogPrivate::renameAction |
Definition at line 250 of file qfiledialog_p.h.
Referenced by _q_showContextMenu(), createMenuActions(), and retranslateStrings().
QString QFileDialogPrivate::setWindowTitle |
Definition at line 245 of file qfiledialog_p.h.
Referenced by init(), and retranslateWindowTitle().
QAction* QFileDialogPrivate::showHiddenAction |
Definition at line 252 of file qfiledialog_p.h.
Referenced by _q_showContextMenu(), _q_showHidden(), createMenuActions(), and retranslateStrings().
QByteArray QFileDialogPrivate::signalToDisconnectOnClose |
Definition at line 327 of file qfiledialog_p.h.
bool QFileDialogPrivate::useDefaultCaption |
Definition at line 255 of file qfiledialog_p.h.
Referenced by init(), and retranslateWindowTitle().
QStringList QFileDialogPrivate::watching |
Definition at line 234 of file qfiledialog_p.h.