Module implementing a file dialog showing the file system of the eric-ide server.
None |
AcceptMode | Class defining the dialog accept modes. |
EricServerFileDialog | Class implementing a file dialog showing the file system of the eric-ide server. |
FileMode | Class defining what the user may select in the file dialog. |
getExistingDirectory | Module function to get the name of a directory. |
getOpenFileName | Module function to get the name of a file for opening it. |
getOpenFileNameAndFilter | Module function to get the name of a file for opening it and the selected file name filter. |
getOpenFileNames | Module function to get a list of names of files for opening. |
getOpenFileNamesAndFilter | Module function to get a list of names of files for opening and the selected file name filter. |
getSaveFileName | Module function to get the name of a file for saving. |
getSaveFileNameAndFilter | Module function to get the name of a file for saving and the selected file name filter. |
Class defining the dialog accept modes.
AcceptOpen |
AcceptSave |
None |
None |
None |
Class implementing a file dialog showing the file system of the eric-ide server.
IsDirectoryRole |
None |
EricServerFileDialog | Constructor |
__addToHistory | Private method to add a directory to the history list. |
__deleteItem | Private slot to delete the given file/directory item. |
__filterList | Private method to filter the files and directories list based on the given filters and whether hidden files/directories should be shown. |
__getFullPath | Private method to get the full path for a given file or directory name. |
__getNames | Private method to get the selected names list. |
__isHidden | Private method to check, if the given name is indicating a hidden file or directory. |
__nameCompleterActivated | Private slot handling the activation of the completer. |
__reload | Private slot to reload the directory listing. |
__renameItem | Private slot to rename the given file/directory item. |
__showHiddenToggled | Private slot to handle toggling the display of hidden files/directories. |
__updateHistoryButtons | Private method to update the enabled state of the back and forward buttons. |
__updateOkButton | Private slot to set the 'OK' button state, icon and label. |
__updateUpButton | Private slot to update the enabled state of the 'Up' button. |
acceptMode | Public method to get the accept mode of the dialog. |
fileMode | Public method to get the current file mode of the dialog. |
on_backButton_clicked | Private slot to move back in history of visited directories. |
on_filterCombo_currentIndexChanged | Private slot handling the selection of a new file filter.. |
on_forwardButton_clicked | Private slot to move forward in history of visited directories. |
on_listing_customContextMenuRequested | Private slot to show a context menu. |
on_listing_itemActivated | Private slot to handle the activation of an item in the list. |
on_listing_itemSelectionChanged | Private slot to handle the selection of listed items. |
on_nameEdit_textChanged | Private slot handling the editing of a file or directory name. |
on_newDirButton_clicked | Private slot to create a new directory. |
on_okButton_clicked | Private slot handling the press of the OK button. |
on_upButton_clicked | Private slot to move up one level in the hierarchy. |
selectedFiles | Public method to get the selected files or the current viewport path. |
selectedNameFilter | Public method to get the selected name filter. |
setAcceptMode | Public method to set the accept mode of the dialog. |
setDirectoriesOnly | Public method to set a flag to just show directories. |
setDirectory | Public slot to set the current directory and populate the tree list. |
setFileMode | Public method to set the file mode of the dialog. |
setNameFilter | Public method to set the current name filter. |
setNameFilters | Public method to set the list of file/directory name filters. |
None |
Constructor
Private method to add a directory to the history list.
Private slot to delete the given file/directory item.
Private method to filter the files and directories list based on the given filters and whether hidden files/directories should be shown.
Private method to get the full path for a given file or directory name.
Private method to get the selected names list.
Private method to check, if the given name is indicating a hidden file or directory.
Private slot handling the activation of the completer.
Private slot to reload the directory listing.
Private slot to rename the given file/directory item.
Private slot to handle toggling the display of hidden files/directories.
Private method to update the enabled state of the back and forward buttons.
Private slot to set the 'OK' button state, icon and label.
Private slot to update the enabled state of the 'Up' button.
Public method to get the accept mode of the dialog.
Public method to get the current file mode of the dialog.
Private slot to move back in history of visited directories.
Private slot handling the selection of a new file filter..
Private slot to move forward in history of visited directories.
Private slot to show a context menu.
Private slot to handle the activation of an item in the list.
Private slot to handle the selection of listed items.
Private slot handling the editing of a file or directory name.
Private slot to create a new directory.
Private slot handling the press of the OK button.
Private slot to move up one level in the hierarchy.
Public method to get the selected files or the current viewport path.
Public method to get the selected name filter.
Public method to set the accept mode of the dialog.
Public method to set a flag to just show directories.
Public slot to set the current directory and populate the tree list.
Public method to set the file mode of the dialog.
Public method to set the current name filter.
Public method to set the list of file/directory name filters.
Class defining what the user may select in the file dialog.
AnyFile |
Directory |
ExistingFile |
ExistingFiles |
None |
None |
None |
Module function to get the name of a directory.
Module function to get the name of a file for opening it.
Module function to get the name of a file for opening it and the selected file name filter.
Module function to get a list of names of files for opening.
Module function to get a list of names of files for opening and the selected file name filter.
Module function to get the name of a file for saving.
Module function to get the name of a file for saving and the selected file name filter.