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
-
parent widget of the completer (QWidget)
- completionMode
-
completion mode of the
completer (QCompleter.CompletionMode)
- showHidden
-
flag indicating to show hidden entries as well
(boolean)
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
-
parent widget of the completer (QWidget)
- completionMode
-
completion mode of the
completer (QCompleter.CompletionMode)
- showHidden
-
flag indicating to show hidden entries as well
(boolean)
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
-
parent widget of the completer (QWidget)
- strings
-
list of string to load into the completer
(list of strings)
- completionMode
-
completion mode of the
completer (QCompleter.CompletionMode)