eric7.EricWidgets.EricCompleters
Module implementing various kinds of completers.
Global Attributes
Classes
Functions
EricDirCompleter
Class implementing a completer for directory names.
Derived from
QCompleter
Class Attributes
Class Methods
Methods
Static Methods
EricDirCompleter (Constructor)
EricDirCompleter(parent=None, completionMode=QCompleter.CompletionMode.PopupCompletion, showHidden=False, )
Constructor
- parent (QWidget)
-
parent widget of the completer
- completionMode (QCompleter.CompletionMode)
-
completion mode of the
completer
- showHidden (bool)
-
flag indicating to show hidden entries as well
EricDirCompleter.rootPath
rootPath()
Public method to get the root path of the model.
- Return:
-
root path of the model
- Return Type:
-
str
EricDirCompleter.setRootPath
setRootPath(path)
Public method to set the root path of the model.
- path (str)
-
root path for the model
EricFileCompleter
Class implementing a completer for file names.
Derived from
QCompleter
Class Attributes
Class Methods
Methods
Static Methods
EricFileCompleter (Constructor)
EricFileCompleter(parent=None, completionMode=QCompleter.CompletionMode.PopupCompletion, showHidden=False, )
Constructor
- parent (QWidget)
-
parent widget of the completer
- completionMode (QCompleter.CompletionMode)
-
completion mode of the
completer
- showHidden (bool)
-
flag indicating to show hidden entries as well
EricFileCompleter.rootPath
rootPath()
Public method to get the root path of the model.
- Return:
-
root path of the model
- Return Type:
-
str
EricFileCompleter.setRootPath
setRootPath(path)
Public method to set the root path of the model.
- path (str)
-
root path for the model
EricStringListCompleter
Class implementing a completer for string lists.
Derived from
QCompleter
Class Attributes
Class Methods
Methods
Static Methods
EricStringListCompleter (Constructor)
EricStringListCompleter(parent=None, strings=None, completionMode=QCompleter.CompletionMode.PopupCompletion, )
Constructor
- parent (QWidget)
-
parent widget of the completer
- strings (list of str)
-
list of string to load into the completer
- completionMode (QCompleter.CompletionMode)
-
completion mode of the
completer