eric6.E5Gui.E5FileSaveConfirmDialog
Module implementing a dialog to enter a file system path using a file picker.
Global Attributes
Classes
Functions
E5FileSaveConfirmDialog
    Class implementing a dialog to enter a file system path using a file
    picker.
Derived from
QDialog
Class Attributes
Class Methods
Methods
Static Methods
E5FileSaveConfirmDialog (Constructor)
E5FileSaveConfirmDialog(filename, title, message="", picker=True, parent=None)
        Constructor
- filename (str)
- 
file name to be shown
- title (str)
- 
title for the dialog
- message (str)
- 
message to be shown
- picker (bool)
- 
flag indicating to use a path picker
- parent (QWidget)
- 
reference to the parent widget
E5FileSaveConfirmDialog.__buttonBoxClicked
__buttonBoxClicked(button)
        Private slot to handle the user clicking a button.
- button (QAbstractButton)
- 
reference to the clicked button
E5FileSaveConfirmDialog.__filenameChanged
__filenameChanged(text)
        Private slot to handle a change of the file name.
- text (str)
- 
new file name
E5FileSaveConfirmDialog.selectedAction
selectedAction()
        Public method to get the selected action and associated data.
- Returns:
- 
tuple containing the selected action (cancel, rename,
            overwrite) and the filename (in case of 'rename' or 'overwrite')
- Return Type:
- 
tuple of (str, str)
confirmOverwrite
confirmOverwrite(filename, title, message="", picker=True, parent=None)
    Function to confirm that a file shall be overwritten.
- filename (str)
- 
file name to be shown
- title (str)
- 
title for the dialog
- message (str)
- 
message to be shown
- picker (bool)
- 
flag indicating to use a path picker
- parent (QWidget)
- 
reference to the parent widget
- Returns:
- 
tuple containing the selected action (cancel, rename,
        overwrite) and the filename (in case of 'rename' or 'overwrite')
- Return Type:
- 
tuple of (str, str)